(1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "canvas_account_id" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaLtiNonces (20131119165343)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]  (0.6ms) commit transaction Migrating to CreateCoalescingPandaSessions (20140904223159)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaTerms (20141119225319)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "name" varchar(255), "code" varchar(255), "sis_id" varchar(255), "canvas_term_id" varchar(255) NOT NULL, "start_at" datetime, "end_at" datetime, "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)   (1.1ms) CREATE UNIQUE INDEX "index_terms_account" ON "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]]  (1.0ms) commit transaction Migrating to CreateCoalescingPandaCourses (20141119225721)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "coalescing_panda_term_id" integer, "name" varchar(255), "canvas_course_id" varchar(255) NOT NULL, "sis_id" varchar(255), "start_at" datetime, "conclude_at" datetime, "workflow_state" varchar(255), "course_code" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.5ms) CREATE UNIQUE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "canvas_course_id")  (0.1ms) CREATE UNIQUE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id", "canvas_course_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225721"]]  (0.9ms) commit transaction Migrating to CreateCoalescingPandaSections (20141120151432)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar(255), "canvas_section_id" varchar(255) NOT NULL, "sis_id" varchar(255), "workflow_state" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.4ms) CREATE UNIQUE INDEX "index_sections_course" ON "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151432"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaAssignments (20141120151940)  (0.0ms) begin transaction  (0.4ms) 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)  (0.5ms) CREATE UNIQUE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151940"]]  (1.1ms) commit transaction Migrating to CreateCoalescingPandaUsers (20141120152458)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "name" varchar(255), "email" varchar(255), "roles" varchar(255), "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_user_id" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.5ms) CREATE UNIQUE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152458"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaSubmissions (20141120152546)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_submissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer NOT NULL, "coalescing_panda_assignment_id" integer NOT NULL, "url" varchar(255), "grade" varchar(255), "score" varchar(255), "submitted_at" datetime, "workflow_state" varchar(255), "canvas_submission_id" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.5ms) CREATE UNIQUE INDEX "index_submissions_user_and_assignment" ON "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id")  (0.1ms) CREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152546"]]  (0.9ms) commit transaction Migrating to CreateCoalescingPandaEnrollments (20141120153135)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer NOT NULL, "coalescing_panda_section_id" integer NOT NULL, "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_enrollment_id" varchar(255) NOT NULL, "enrollment_type" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.4ms) CREATE UNIQUE INDEX "index_enrollments_user_and_section" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "enrollment_type")  (0.1ms) CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120153135"]]  (1.0ms) commit transaction Migrating to CreateCoalescingPandaCanvasBatches (20141121174846)  (0.0ms) begin transaction  (0.9ms) CREATE TABLE "coalescing_panda_canvas_batches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "percent_complete" float DEFAULT 0.0, "status" varchar(255), "message" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141121174846"]]  (0.7ms) commit transaction Migrating to CreateDelayedJobs (20141124160857)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141124160857"]]  (0.7ms) commit transaction Migrating to AddSubmissionTypesToAssignments (20141208221740)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "coalescing_panda_assignments" ADD "submission_types" text SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141208221740"]]  (0.7ms) commit transaction Migrating to AddGroupCategoryIdToAssignment (20150106175418)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "coalescing_panda_assignments" ADD "group_category_id" integer  (0.1ms) ALTER TABLE "coalescing_panda_assignments" ADD "grade_group_students_individually" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150106175418"]]  (0.7ms) commit transaction Migrating to AddPublishedToAssignments (20150106180131)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "coalescing_panda_assignments" ADD "published" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150106180131"]]  (0.8ms) commit transaction Migrating to CreateCoalescingPandaGroups (20150107205405)  (0.1ms) begin transaction  (0.4ms) CREATE 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)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150107205405"]]  (0.6ms) commit transaction Migrating to CreateCoalescingPandaGroupMemberships (20150107205413)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "coalescing_panda_group_memberships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_group_id" integer, "coalescing_panda_user_id" integer, "canvas_group_membership_id" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150107205413"]]  (0.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (4.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_submissions.coalescing_panda_user_id, coalescing_panda_submissions.coalescing_panda_assignment_id, coalescing_panda_submissions.canvas_submission_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.4ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.3ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 0ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_submissions.coalescing_panda_user_id, coalescing_panda_submissions.coalescing_panda_assignment_id, coalescing_panda_submissions.canvas_submission_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_sections" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 4], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 2], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 8], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "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:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (3.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.3ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (38.9ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "116"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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 (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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: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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (1.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (47.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.3ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.4ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.3ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "114"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.0ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_submissions.coalescing_panda_user_id, coalescing_panda_submissions.coalescing_panda_assignment_id, coalescing_panda_submissions.canvas_submission_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) 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", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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:50:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.2ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.3ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.2ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (52.9ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.2ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_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:59:38 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (51.4ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined local variable or method `null' for #"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["key", "Key 78"], ["name", "Account 78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 78"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["key", "Key 79"], ["name", "Account 79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 79"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["key", "Key 80"], ["name", "Account 80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 80"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 00:00:12 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:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Thu, 08 Jan 2015 00:00:12 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:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 00:00:12 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:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 00:00:12 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:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Thu, 08 Jan 2015 00:00:12 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:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", Thu, 08 Jan 2015 00:00:12 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:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 00:00:12 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:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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:00:12 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:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 00:00:12 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:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 6.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_submissions.coalescing_panda_user_id, coalescing_panda_submissions.coalescing_panda_assignment_id, coalescing_panda_submissions.canvas_submission_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "65"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (3.3ms) rollback transaction  (0.1ms) begin transaction  (56.6ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["message", "undefined local variable or method `null' for #"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["percent_complete", 0.0], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "canvas_section_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["canvas_section_id", 1], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_users" SET "canvas_user_id" = ?, "updated_at" = ?, "roles" = ? WHERE "coalescing_panda_users"."id" = 1 [["canvas_user_id", 1], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_users" SET "canvas_user_id" = ?, "updated_at" = ?, "roles" = ? WHERE "coalescing_panda_users"."id" = 2 [["canvas_user_id", 2], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_users" SET "canvas_user_id" = ?, "updated_at" = ?, "roles" = ? WHERE "coalescing_panda_users"."id" = 3 [["canvas_user_id", 3], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_enrollments" SET "canvas_enrollment_id" = ?, "updated_at" = ? WHERE "coalescing_panda_enrollments"."id" = 1 [["canvas_enrollment_id", 1], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_enrollments" SET "canvas_enrollment_id" = ?, "updated_at" = ? WHERE "coalescing_panda_enrollments"."id" = 2 [["canvas_enrollment_id", 2], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_enrollments" SET "canvas_enrollment_id" = ?, "updated_at" = ? WHERE "coalescing_panda_enrollments"."id" = 3 [["canvas_enrollment_id", 3], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_assignments" SET "canvas_assignment_id" = ?, "updated_at" = ?, "submission_types" = ? WHERE "coalescing_panda_assignments"."id" = 1 [["canvas_assignment_id", 1], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00], ["submission_types", "---\n- online_text_entry\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_assignments" SET "canvas_assignment_id" = ?, "updated_at" = ?, "submission_types" = ? WHERE "coalescing_panda_assignments"."id" = 2 [["canvas_assignment_id", 2], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00], ["submission_types", "---\n- online_text_entry\n"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Error"], ["updated_at", Thu, 08 Jan 2015 00:01:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 00:01:31 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:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "78"], ["created_at", Thu, 08 Jan 2015 00:01:31 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:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:31 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:31 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:31 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", Thu, 08 Jan 2015 00:01:32 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:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 00:01:32 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:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", Thu, 08 Jan 2015 00:01:32 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:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 00:01:32 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:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 00:01:32 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:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", Thu, 08 Jan 2015 00:01:32 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:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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:32 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:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 00:01:32 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:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.2ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", Thu, 08 Jan 2015 00:01:32 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:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 00:01:32 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:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "92"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.3ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (3.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.2ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.3ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "112"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (59.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "46"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_submissions.coalescing_panda_user_id, coalescing_panda_submissions.coalescing_panda_assignment_id, coalescing_panda_submissions.canvas_submission_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (52.7ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.3ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.0ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "14"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.4ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "76"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "100"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 1], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (2.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 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 (?, ?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (53.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_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:04:41 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Group Load (0.2ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (53.6ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.3ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "86"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:55 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_groups" CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:56 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.0ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_submissions.coalescing_panda_user_id, coalescing_panda_submissions.coalescing_panda_assignment_id, coalescing_panda_submissions.canvas_submission_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (56.8ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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: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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.2ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:07:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:07:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.7ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "88"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:07:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_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:07:30 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["workflow_state", "graded"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:07:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "104"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_submissions.coalescing_panda_user_id, coalescing_panda_submissions.coalescing_panda_assignment_id, coalescing_panda_submissions.canvas_submission_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.5ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (48.7ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.1ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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} CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (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}  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (1.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (1.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 3], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_submissions.coalescing_panda_user_id, coalescing_panda_submissions.coalescing_panda_assignment_id, coalescing_panda_submissions.canvas_submission_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (58.5ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::GroupMembership Load (0.2ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "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:08:27 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["workflow_state", "graded"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Group Load (0.2ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:08:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_submissions.coalescing_panda_user_id, coalescing_panda_submissions.coalescing_panda_assignment_id, coalescing_panda_submissions.canvas_submission_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (52.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.3ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_group_memberships"  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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: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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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:09:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (5.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 10], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "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 (?, ?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (54.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.3ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.5ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::GroupMembership Load (0.5ms) 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"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.4ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "89"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_group_memberships"  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 123' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 123' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 124' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 124' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 125' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 125' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (3.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "20"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "42"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_submissions.coalescing_panda_user_id, coalescing_panda_submissions.coalescing_panda_assignment_id, coalescing_panda_submissions.canvas_submission_id: INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 22], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (53.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.2ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::GroupMembership Load (0.2ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (2.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.3ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_group_memberships"  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "96"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "110"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 123' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 123' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 124' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 124' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 125' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 125' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "10"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (3.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (1.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (49.5ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.2ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Group Load (0.2ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_group_memberships"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "116"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 123' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 123' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 124' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 124' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 125' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 125' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.2ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "3"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "12"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "24"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "39"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "44"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "53"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "62"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "74"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::GroupMembership Load (0.2ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "82"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.6ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_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 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_group_memberships"  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "97"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "98"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "107"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "111"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "115"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 123' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 123' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 124' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 124' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 125' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 125' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "2"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "4"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "5"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "9"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "11"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (1.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "26"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 6], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "38"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "40"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "43"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "45"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "47"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "64"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "68"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "72"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "77"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "84"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.0ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Group Load (0.2ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_group_memberships"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "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 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "101"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "109"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 18:31:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 123' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 123' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 124' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 124' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 125' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 125' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 6.2ms | ActiveRecord: 0.0ms) CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 SQL (2.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "1"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1 SQL (1.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 1], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "6"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "7"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "8"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1  (0.4ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "13"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "15"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 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 (?, ?, ?, ?, ?, ?)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "16"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "17"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "18"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "19"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "21"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "22"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "23"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "25"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "28"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "29"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 13], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 3], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "30"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "31"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "32"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "34"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "35"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 5], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "36"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "37"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 12], ["coalescing_panda_lti_account_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "41"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "48"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "49"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "50"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "51"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "52"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "54"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "55"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 23], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "56"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "57"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "58"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", 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 (?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "59"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "60"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "61"], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "63"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "66"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "67"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "69"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", 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 (?, ?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "70"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "71"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "73"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "75"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.2ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.1ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "79"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "80"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "81"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_sections"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "83"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "85"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments" CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "87"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "90"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", 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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (0.8ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "91"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "93"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.0ms) 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"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::User Load (0.0ms) SELECT "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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["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"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_group_memberships"  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "95"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.3ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "99"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "102"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "103"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "105"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "108"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 SQL (0.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "113"], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 SQL (0.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 SQL (0.2ms) INSERT INTO "coalescing_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 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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::Course Load (0.2ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '15' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 3]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '9' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 123' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 123' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 124' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 124' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 125' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 125' LIMIT 1 SQL (0.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", 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]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '16' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '9' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]  (0.8ms) rollback transaction