spec/dummy/log/test.log in openstax_accounts-6.3.0 vs spec/dummy/log/test.log in openstax_accounts-6.3.1
- old
+ new
@@ -67908,5 +67908,6319 @@
[1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1[0m
[1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "990f231f6a4b13e34b6cdb6154995c18"], ["created_at", "2015-12-15 20:02:10.853060"], ["openstax_uid", 1], ["updated_at", "2015-12-15 20:02:10.853060"], ["username", "cfc3fb9b1a0b97b0aa0c9bcda3da5e59"]]
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[36m (1.1ms)[0m [1mCREATE TABLE "openstax_accounts_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "openstax_uid" integer NOT NULL, "username" varchar(255) NOT NULL, "access_token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "full_name" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.1ms)[0m select sqlite_version(*)
+ [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_accounts_on_access_token" ON "openstax_accounts_accounts" ("access_token")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+
+ [1m[36m (0.9ms)[0m [1mCREATE INDEX "index_openstax_accounts_accounts_on_first_name" ON "openstax_accounts_accounts" ("first_name")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+[0m
+ [1m[35m (0.9ms)[0m CREATE INDEX "index_openstax_accounts_accounts_on_full_name" ON "openstax_accounts_accounts" ("full_name")
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+[0m
+ [1m[35m (1.0ms)[0m CREATE INDEX "index_openstax_accounts_accounts_on_last_name" ON "openstax_accounts_accounts" ("last_name")
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_last_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_last_name' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+
+ [1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_accounts_on_openstax_uid" ON "openstax_accounts_accounts" ("openstax_uid")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_openstax_uid' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_openstax_uid' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_last_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_last_name' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+
+ [1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_accounts_on_username" ON "openstax_accounts_accounts" ("username")[0m
+ [1m[35m (0.8ms)[0m CREATE TABLE "openstax_accounts_group_members" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer NOT NULL, "user_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_group_members_on_group_id_and_user_id" ON "openstax_accounts_group_members" ("group_id", "user_id")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_group_members_on_group_id_and_user_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_group_members_on_group_id_and_user_id' AND type='index'
+
+ [1m[36m (0.8ms)[0m [1mCREATE INDEX "index_openstax_accounts_group_members_on_user_id" ON "openstax_accounts_group_members" ("user_id")[0m
+ [1m[35m (0.6ms)[0m CREATE TABLE "openstax_accounts_group_nestings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "member_group_id" integer NOT NULL, "container_group_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.7ms)[0m [1mCREATE INDEX "index_openstax_accounts_group_nestings_on_container_group_id" ON "openstax_accounts_group_nestings" ("container_group_id")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_group_nestings_on_container_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_group_nestings_on_container_group_id' AND type='index'
+
+ [1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_group_nestings_on_member_group_id" ON "openstax_accounts_group_nestings" ("member_group_id")[0m
+ [1m[35m (0.9ms)[0m CREATE TABLE "openstax_accounts_group_owners" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer NOT NULL, "user_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_group_owners_on_group_id_and_user_id" ON "openstax_accounts_group_owners" ("group_id", "user_id")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_group_owners_on_group_id_and_user_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_group_owners_on_group_id_and_user_id' AND type='index'
+
+ [1m[36m (0.8ms)[0m [1mCREATE INDEX "index_openstax_accounts_group_owners_on_user_id" ON "openstax_accounts_group_owners" ("user_id")[0m
+ [1m[35m (1.0ms)[0m CREATE TABLE "openstax_accounts_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "openstax_uid" integer NOT NULL, "is_public" boolean DEFAULT 'f' NOT NULL, "name" varchar(255), "cached_subtree_group_ids" text, "cached_supertree_group_ids" text, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.9ms)[0m [1mCREATE INDEX "index_openstax_accounts_groups_on_is_public" ON "openstax_accounts_groups" ("is_public")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_groups_on_is_public' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_groups_on_is_public' AND type='index'
+
+ [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_groups_on_openstax_uid" ON "openstax_accounts_groups" ("openstax_uid")[0m
+ [1m[35m (0.7ms)[0m CREATE TABLE "ownerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_ownerships_on_owner_id_and_owner_type" ON "ownerships" ("owner_id", "owner_type")[0m
+ [1m[35m (0.9ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_account_id" ON "users" ("account_id")[0m
+ [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('6')[0m
+ [1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('5')
+ [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
+ [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
+ [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('2')[0m
+ [1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('3')
+ [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('4')[0m
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "8dc7b32c47dbda8c24fe1aa292f745cd"], ["created_at", "2016-04-19 16:42:24.521726"], ["openstax_uid", 1], ["updated_at", "2016-04-19 16:42:24.521726"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["account_id", 1], ["created_at", "2016-04-19 16:42:24.529324"], ["updated_at", "2016-04-19 16:42:24.529324"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "0cd1e20b0a524c69a19644be72af45d3"], ["created_at", "2016-04-19 16:42:24.534435"], ["openstax_uid", 2], ["updated_at", "2016-04-19 16:42:24.534435"], ["username", "another_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 2], ["created_at", "2016-04-19 16:42:24.535658"], ["updated_at", "2016-04-19 16:42:24.535658"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Group Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -1971400858 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:24.573786"], ["name", "MyGroup"], ["openstax_uid", -1971400858], ["updated_at", "2016-04-19 16:42:24.573786"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Group Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -676308812 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:24.577951"], ["name", "MyGroup"], ["openstax_uid", -676308812], ["updated_at", "2016-04-19 16:42:24.577951"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupNesting Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 2 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "openstax_accounts_groups"."id" AS t0_r0, "openstax_accounts_groups"."openstax_uid" AS t0_r1, "openstax_accounts_groups"."is_public" AS t0_r2, "openstax_accounts_groups"."name" AS t0_r3, "openstax_accounts_groups"."cached_subtree_group_ids" AS t0_r4, "openstax_accounts_groups"."cached_supertree_group_ids" AS t0_r5, "openstax_accounts_groups"."created_at" AS t0_r6, "openstax_accounts_groups"."updated_at" AS t0_r7, "openstax_accounts_group_nestings"."id" AS t1_r0, "openstax_accounts_group_nestings"."member_group_id" AS t1_r1, "openstax_accounts_group_nestings"."container_group_id" AS t1_r2, "openstax_accounts_group_nestings"."created_at" AS t1_r3, "openstax_accounts_group_nestings"."updated_at" AS t1_r4 FROM "openstax_accounts_groups" LEFT OUTER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_group_nestings"."member_group_id" = "openstax_accounts_groups"."openstax_uid" WHERE "openstax_accounts_group_nestings"."container_group_id" = -676308812[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = '---
+- -676308812
+' WHERE "openstax_accounts_groups"."id" = 2
+ [1m[36mOpenStax::Accounts::Group Load (0.0ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mSQL (0.1ms)[0m SELECT DISTINCT "openstax_accounts_groups"."id" FROM "openstax_accounts_groups" LEFT OUTER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_group_nestings"."container_group_id" = "openstax_accounts_groups"."openstax_uid" WHERE "openstax_accounts_group_nestings"."member_group_id" = -1971400858 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = '---
+- -1971400858
+' WHERE "openstax_accounts_groups"."id" = 1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = NULL WHERE "openstax_accounts_groups"."id" IN (-676308812)
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = NULL WHERE "openstax_accounts_groups"."id" IN (-1971400858)[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?) [["container_group_id", -1971400858], ["created_at", "2016-04-19 16:42:24.583000"], ["member_group_id", -676308812], ["updated_at", "2016-04-19 16:42:24.583000"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = -676308812) LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = -676308812) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:24.604029"], ["group_id", -676308812], ["updated_at", "2016-04-19 16:42:24.604029"], ["user_id", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."id" != 1 AND "openstax_accounts_group_members"."group_id" = -676308812) LIMIT 1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOwnership Load (0.1ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ? [["owner_id", 1], ["owner_type", "User"]]
+ [1m[36mOpenStax::Accounts::Group Load (0.2ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_members"."group_id" INNER JOIN "openstax_accounts_accounts" ON "openstax_accounts_group_members"."user_id" = "openstax_accounts_accounts"."openstax_uid" WHERE "openstax_accounts_accounts"."id" = ?[0m [["id", 1]]
+ [1m[35mOpenStax::Accounts::Group Load (0.0ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1 [["id", 2]]
+ [1m[36mSQL (0.1ms)[0m [1mSELECT DISTINCT "openstax_accounts_groups"."id" FROM "openstax_accounts_groups" LEFT OUTER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_group_nestings"."container_group_id" = "openstax_accounts_groups"."openstax_uid" WHERE "openstax_accounts_group_nestings"."member_group_id" = -676308812 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m SELECT "openstax_accounts_groups"."id" AS t0_r0, "openstax_accounts_groups"."openstax_uid" AS t0_r1, "openstax_accounts_groups"."is_public" AS t0_r2, "openstax_accounts_groups"."name" AS t0_r3, "openstax_accounts_groups"."cached_subtree_group_ids" AS t0_r4, "openstax_accounts_groups"."cached_supertree_group_ids" AS t0_r5, "openstax_accounts_groups"."created_at" AS t0_r6, "openstax_accounts_groups"."updated_at" AS t0_r7, "openstax_accounts_group_nestings"."id" AS t1_r0, "openstax_accounts_group_nestings"."member_group_id" AS t1_r1, "openstax_accounts_group_nestings"."container_group_id" AS t1_r2, "openstax_accounts_group_nestings"."created_at" AS t1_r3, "openstax_accounts_group_nestings"."updated_at" AS t1_r4 FROM "openstax_accounts_groups" LEFT OUTER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_group_nestings"."container_group_id" = "openstax_accounts_groups"."openstax_uid" WHERE "openstax_accounts_group_nestings"."member_group_id" = -676308812 AND "openstax_accounts_groups"."id" IN (1) ORDER BY "openstax_accounts_groups"."id" ASC
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = '---
+- -676308812
+- -1971400858
+' WHERE "openstax_accounts_groups"."id" = 2[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.2ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-676308812, -1971400858)
+ [1m[36mOwnership Load (0.1ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "ownerships" ("created_at", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:24.638084"], ["owner_id", 2], ["owner_type", "User"], ["updated_at", "2016-04-19 16:42:24.638084"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mOwnership Load (0.0ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ? [["owner_id", 1], ["owner_type", "User"]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_members"."group_id" INNER JOIN "openstax_accounts_accounts" ON "openstax_accounts_group_members"."user_id" = "openstax_accounts_accounts"."openstax_uid" WHERE "openstax_accounts_accounts"."id" = ?[0m [["id", 1]]
+ [1m[35mOpenStax::Accounts::Group Load (0.2ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-676308812, -1971400858)
+ [1m[36mOwnership Load (0.1ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "ownerships" ("created_at", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:24.646501"], ["owner_id", 1], ["owner_type", "User"], ["updated_at", "2016-04-19 16:42:24.646501"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mOwnership Load (0.0ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ? [["owner_id", 1], ["owner_type", "User"]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_members"."group_id" INNER JOIN "openstax_accounts_accounts" ON "openstax_accounts_group_members"."user_id" = "openstax_accounts_accounts"."openstax_uid" WHERE "openstax_accounts_accounts"."id" = ?[0m [["id", 1]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-676308812, -1971400858)
+ [1m[36mOwnership Load (0.1ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "ownerships" ("created_at", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:24.654210"], ["owner_id", 2], ["owner_type", "OpenStax::Accounts::Group"], ["updated_at", "2016-04-19 16:42:24.654210"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mOwnership Load (0.0ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ? [["owner_id", 1], ["owner_type", "User"]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_members"."group_id" INNER JOIN "openstax_accounts_accounts" ON "openstax_accounts_group_members"."user_id" = "openstax_accounts_accounts"."openstax_uid" WHERE "openstax_accounts_accounts"."id" = ?[0m [["id", 1]]
+ [1m[35mOpenStax::Accounts::Group Load (0.2ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-676308812, -1971400858)
+ [1m[36mOwnership Load (0.1ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.2ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-676308812, -1971400858)
+ [1m[36mOwnership Load (0.1ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "ownerships" ("created_at", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:24.662327"], ["owner_id", 1], ["owner_type", "OpenStax::Accounts::Group"], ["updated_at", "2016-04-19 16:42:24.662327"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mOwnership Load (0.0ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ? [["owner_id", 1], ["owner_type", "User"]]
+ [1m[36mOpenStax::Accounts::Group Load (0.0ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_members"."group_id" INNER JOIN "openstax_accounts_accounts" ON "openstax_accounts_group_members"."user_id" = "openstax_accounts_accounts"."openstax_uid" WHERE "openstax_accounts_accounts"."id" = ?[0m [["id", 1]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-676308812, -1971400858)
+ [1m[36mOwnership Load (0.1ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-676308812, -1971400858)
+ [1m[36mOwnership Load (0.1ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-676308812, -1971400858)
+ [1m[36mOwnership Load (0.1ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)[0m
+ [1m[35m (1.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "aa2d0b5de3c7c269e617889ce062d046"], ["created_at", "2016-04-19 16:42:24.673571"], ["openstax_uid", 1], ["updated_at", "2016-04-19 16:42:24.673571"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["account_id", 1], ["created_at", "2016-04-19 16:42:24.674909"], ["updated_at", "2016-04-19 16:42:24.674909"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."id" = 1 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "f2f4b7021949ce469ddd513bdff787bc"], ["created_at", "2016-04-19 16:42:25.041164"], ["openstax_uid", 1], ["updated_at", "2016-04-19 16:42:25.041164"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["account_id", 1], ["created_at", "2016-04-19 16:42:25.042455"], ["updated_at", "2016-04-19 16:42:25.042455"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."id" = 1 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."id" = 1 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+ [1m[35m (2.2ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "a23aa8bd271e34ca1f2ad884d20c9955"], ["created_at", "2016-04-19 16:42:25.414600"], ["openstax_uid", 1], ["updated_at", "2016-04-19 16:42:25.414600"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["account_id", 1], ["created_at", "2016-04-19 16:42:25.416176"], ["updated_at", "2016-04-19 16:42:25.416176"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+ [1m[35m (2.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "dfdabf7078e1ff63173b58a2367c96c8"], ["created_at", "2016-04-19 16:42:25.793243"], ["openstax_uid", 1], ["updated_at", "2016-04-19 16:42:25.793243"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["account_id", 1], ["created_at", "2016-04-19 16:42:25.794849"], ["updated_at", "2016-04-19 16:42:25.794849"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (2.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "bb2f649302fae1c3eff07036b97b2b24"], ["created_at", "2016-04-19 16:42:26.183315"], ["openstax_uid", 1], ["updated_at", "2016-04-19 16:42:26.183315"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 1], ["created_at", "2016-04-19 16:42:26.184609"], ["updated_at", "2016-04-19 16:42:26.184609"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
+ [1m[36m (2.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1690753039 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "00ec01706c50d5331b306a7e9e423e29"], ["created_at", "2016-04-19 16:42:26.545202"], ["openstax_uid", -1690753039], ["updated_at", "2016-04-19 16:42:26.545202"], ["username", "07b9a23066b045a953c9f8d815a46d6d"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" IS NULL) LIMIT 1
+ [1m[36mOpenStax::Accounts::GroupOwner Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 1 AND "openstax_accounts_group_owners"."group_id" IS NULL) LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::GroupOwner Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 1 AND "openstax_accounts_group_owners"."group_id" IS NULL) LIMIT 1
+ [1m[36mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" IS NULL) LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -43314127 LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "is_public", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:26.558081"], ["is_public", "t"], ["name", "Test"], ["openstax_uid", -43314127], ["updated_at", "2016-04-19 16:42:26.558081"]]
+ [1m[35mOpenStax::Accounts::GroupOwner Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 1 AND "openstax_accounts_group_owners"."group_id" = -43314127) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:26.560328"], ["group_id", -43314127], ["updated_at", "2016-04-19 16:42:26.560328"], ["user_id", -1690753039]]
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = -43314127) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:26.562115"], ["group_id", -43314127], ["updated_at", "2016-04-19 16:42:26.562115"], ["user_id", -1690753039]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.2ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_owners" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_owners"."user_id" WHERE "openstax_accounts_group_owners"."group_id" = ? ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m [["group_id", -43314127]]
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_members"."user_id" WHERE "openstax_accounts_group_members"."group_id" = ? ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1 [["group_id", -43314127]]
+ [1m[36m (0.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" IS NULL LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "0c27dd153674489e01659e59421b7a54"], ["created_at", "2016-04-19 16:42:26.579954"], ["openstax_uid", 1], ["updated_at", "2016-04-19 16:42:26.579954"], ["username", "bd49bda1481b951d29ab655d2687347c"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = '613e1c' LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = '613e1c' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2016-04-19 16:42:26.601679"], ["first_name", "Bob"], ["full_name", "Bob Smith"], ["last_name", "Smith"], ["openstax_uid", 1], ["updated_at", "2016-04-19 16:42:26.601679"], ["username", "613e1c"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = '95f894' LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = '95f894' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:26.620222"], ["openstax_uid", 2], ["updated_at", "2016-04-19 16:42:26.620222"], ["username", "95f894"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 3 LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'alice' LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 3 LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'alice' LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", "2016-04-19 16:42:26.635548"], ["openstax_uid", 3], ["updated_at", "2016-04-19 16:42:26.635548"], ["username", "alice"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'alice2' LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'alice2' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:26.642973"], ["openstax_uid", 4], ["updated_at", "2016-04-19 16:42:26.642973"], ["username", "alice2"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (1.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "b88e63bcde3ce1201e3728ee28c38165"], ["created_at", "2016-04-19 16:42:26.648671"], ["openstax_uid", 10], ["updated_at", "2016-04-19 16:42:26.648671"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by OpenStax::Accounts::SessionsController#new as HTML
+ Parameters: {"return_to"=>"https://woohoo"}
+Redirected to http://test.host/accounts/auth/openstax
+Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "a1888451bf489b159066120ccca664d9"], ["created_at", "2016-04-19 16:42:26.657366"], ["openstax_uid", 10], ["updated_at", "2016-04-19 16:42:26.657366"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by OpenStax::Accounts::SessionsController#new as HTML
+ Parameters: {"return_to"=>"https://woohoo"}
+Redirected to http://test.host/accounts/auth/openstax
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "543d8029bbf61d48c18cb810f12801eb"], ["created_at", "2016-04-19 16:42:26.662013"], ["openstax_uid", 10], ["updated_at", "2016-04-19 16:42:26.662013"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+Processing by OpenStax::Accounts::SessionsController#destroy as HTML
+Redirected to http://localhost:53865/logout
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "a8538713e4bc6dc85522b586739049ef"], ["created_at", "2016-04-19 16:42:26.672989"], ["openstax_uid", 10], ["updated_at", "2016-04-19 16:42:26.672989"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "56a3b5602308532e3cf5c7616f1f4110"], ["created_at", "2016-04-19 16:42:26.675780"], ["openstax_uid", 10], ["updated_at", "2016-04-19 16:42:26.675780"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
+Processing by OpenStax::Accounts::SessionsController#destroy as HTML
+Redirected to http://test.host/
+Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "9c0a9db6a32e6efc545d854a7668ae18"], ["created_at", "2016-04-19 16:42:26.682239"], ["openstax_uid", 10], ["updated_at", "2016-04-19 16:42:26.682239"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by OpenStax::Accounts::SessionsController#new as HTML
+ Parameters: {"return_to"=>"http://jimmy"}
+Redirected to http://test.host/accounts/auth/openstax
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "d52b631de1ee854ba84715e609e31f6a"], ["created_at", "2016-04-19 16:42:26.687187"], ["openstax_uid", 10], ["updated_at", "2016-04-19 16:42:26.687187"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by OpenStax::Accounts::SessionsController#new as HTML
+Redirected to http://test.host/accounts/dev/accounts
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1669287183 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "344b6ee5c38b0e066fe6e6b36d690091"], ["created_at", "2016-04-19 16:42:26.691409"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1669287183], ["updated_at", "2016-04-19 16:42:26.691409"], ["username", "jstrav"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -513366751 LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f8f83eebd3427608453cd1794023681c"], ["created_at", "2016-04-19 16:42:26.693169"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -513366751], ["updated_at", "2016-04-19 16:42:26.693169"], ["username", "mary"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -100505857 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "199de16e2801e65bc3785182c7575715"], ["created_at", "2016-04-19 16:42:26.695155"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -100505857], ["updated_at", "2016-04-19 16:42:26.695155"], ["username", "jstead"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -366378379 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0ce357842c6a053e5cca9d12be6cd3c0"], ["created_at", "2016-04-19 16:42:26.696691"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -366378379], ["updated_at", "2016-04-19 16:42:26.696691"], ["username", "bigbear"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1881940744 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f86450eb3af6097c6e9362f52525026b"], ["created_at", "2016-04-19 16:42:26.698237"], ["first_name", "Billy00"], ["last_name", "Bob_49"], ["openstax_uid", -1881940744], ["updated_at", "2016-04-19 16:42:26.698237"], ["username", "billy_00"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1834732355 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "642b025e7d09afbef329ab9a6861cf1c"], ["created_at", "2016-04-19 16:42:26.699702"], ["first_name", "Billy01"], ["last_name", "Bob_48"], ["openstax_uid", -1834732355], ["updated_at", "2016-04-19 16:42:26.699702"], ["username", "billy_01"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -722045261 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "44711b5c8e4fb15cb93de73555330b8f"], ["created_at", "2016-04-19 16:42:26.701214"], ["first_name", "Billy02"], ["last_name", "Bob_47"], ["openstax_uid", -722045261], ["updated_at", "2016-04-19 16:42:26.701214"], ["username", "billy_02"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -988497141 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8da8eecf350fd8ff47a89113ec025610"], ["created_at", "2016-04-19 16:42:26.702695"], ["first_name", "Billy03"], ["last_name", "Bob_46"], ["openstax_uid", -988497141], ["updated_at", "2016-04-19 16:42:26.702695"], ["username", "billy_03"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -818397068 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e82eec6357cb26082d3914e06313f6d4"], ["created_at", "2016-04-19 16:42:26.704218"], ["first_name", "Billy04"], ["last_name", "Bob_45"], ["openstax_uid", -818397068], ["updated_at", "2016-04-19 16:42:26.704218"], ["username", "billy_04"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1687356113 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4cbebf3e8c853c5aa352120348b2b6a9"], ["created_at", "2016-04-19 16:42:26.705746"], ["first_name", "Billy05"], ["last_name", "Bob_44"], ["openstax_uid", -1687356113], ["updated_at", "2016-04-19 16:42:26.705746"], ["username", "billy_05"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -41356041 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9ad3b97e8dac472eb5e3a17ffe226ade"], ["created_at", "2016-04-19 16:42:26.707234"], ["first_name", "Billy06"], ["last_name", "Bob_43"], ["openstax_uid", -41356041], ["updated_at", "2016-04-19 16:42:26.707234"], ["username", "billy_06"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -232889087 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3ed5aa8b801d61731ee368e32efe8d85"], ["created_at", "2016-04-19 16:42:26.708746"], ["first_name", "Billy07"], ["last_name", "Bob_42"], ["openstax_uid", -232889087], ["updated_at", "2016-04-19 16:42:26.708746"], ["username", "billy_07"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1755451698 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e4e52068c9af756545978ad1eedaaf80"], ["created_at", "2016-04-19 16:42:26.710228"], ["first_name", "Billy08"], ["last_name", "Bob_41"], ["openstax_uid", -1755451698], ["updated_at", "2016-04-19 16:42:26.710228"], ["username", "billy_08"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -247315834 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f45820342d468b708b3e1caa2278d4fc"], ["created_at", "2016-04-19 16:42:26.711686"], ["first_name", "Billy09"], ["last_name", "Bob_40"], ["openstax_uid", -247315834], ["updated_at", "2016-04-19 16:42:26.711686"], ["username", "billy_09"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1991835465 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3a3d892ec00dc81c622d8b8caeb61960"], ["created_at", "2016-04-19 16:42:26.713157"], ["first_name", "Billy10"], ["last_name", "Bob_39"], ["openstax_uid", -1991835465], ["updated_at", "2016-04-19 16:42:26.713157"], ["username", "billy_10"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -392209258 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d38f22eacf1a1df39d3d15f81f5ad1df"], ["created_at", "2016-04-19 16:42:26.714721"], ["first_name", "Billy11"], ["last_name", "Bob_38"], ["openstax_uid", -392209258], ["updated_at", "2016-04-19 16:42:26.714721"], ["username", "billy_11"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1053444316 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "fda7ec0038d3cbfb93aedf6ae292381d"], ["created_at", "2016-04-19 16:42:26.716207"], ["first_name", "Billy12"], ["last_name", "Bob_37"], ["openstax_uid", -1053444316], ["updated_at", "2016-04-19 16:42:26.716207"], ["username", "billy_12"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -630374841 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f2659bd563fcf67d240ca5c31321c5c5"], ["created_at", "2016-04-19 16:42:26.717716"], ["first_name", "Billy13"], ["last_name", "Bob_36"], ["openstax_uid", -630374841], ["updated_at", "2016-04-19 16:42:26.717716"], ["username", "billy_13"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1570776875 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d98e73ce2832227badb2cb29f0a2e5cc"], ["created_at", "2016-04-19 16:42:26.719244"], ["first_name", "Billy14"], ["last_name", "Bob_35"], ["openstax_uid", -1570776875], ["updated_at", "2016-04-19 16:42:26.719244"], ["username", "billy_14"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -72539968 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "930c9a3fdea06926781c3c5e005d7255"], ["created_at", "2016-04-19 16:42:26.720870"], ["first_name", "Billy15"], ["last_name", "Bob_34"], ["openstax_uid", -72539968], ["updated_at", "2016-04-19 16:42:26.720870"], ["username", "billy_15"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1627977073 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bc906369bb413c54dceef9716dd83aa8"], ["created_at", "2016-04-19 16:42:26.722443"], ["first_name", "Billy16"], ["last_name", "Bob_33"], ["openstax_uid", -1627977073], ["updated_at", "2016-04-19 16:42:26.722443"], ["username", "billy_16"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -391306669 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "37b5c59c393fad423a1ccc77800a5457"], ["created_at", "2016-04-19 16:42:26.723958"], ["first_name", "Billy17"], ["last_name", "Bob_32"], ["openstax_uid", -391306669], ["updated_at", "2016-04-19 16:42:26.723958"], ["username", "billy_17"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1663857805 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0eef7a88ea80b3997359272cfa77c383"], ["created_at", "2016-04-19 16:42:26.725444"], ["first_name", "Billy18"], ["last_name", "Bob_31"], ["openstax_uid", -1663857805], ["updated_at", "2016-04-19 16:42:26.725444"], ["username", "billy_18"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1555832338 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "dab9fe7316c977ce3058151e46b0aaf8"], ["created_at", "2016-04-19 16:42:26.726874"], ["first_name", "Billy19"], ["last_name", "Bob_30"], ["openstax_uid", -1555832338], ["updated_at", "2016-04-19 16:42:26.726874"], ["username", "billy_19"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -627286346 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1281eee6b424cd307f51e5cda5724392"], ["created_at", "2016-04-19 16:42:26.728307"], ["first_name", "Billy20"], ["last_name", "Bob_29"], ["openstax_uid", -627286346], ["updated_at", "2016-04-19 16:42:26.728307"], ["username", "billy_20"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -945719313 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "fbfec8c271170b59ff23edaeb990134e"], ["created_at", "2016-04-19 16:42:26.729827"], ["first_name", "Billy21"], ["last_name", "Bob_28"], ["openstax_uid", -945719313], ["updated_at", "2016-04-19 16:42:26.729827"], ["username", "billy_21"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1925615926 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "352a600ed736dec291f3d98e92d90779"], ["created_at", "2016-04-19 16:42:26.731298"], ["first_name", "Billy22"], ["last_name", "Bob_27"], ["openstax_uid", -1925615926], ["updated_at", "2016-04-19 16:42:26.731298"], ["username", "billy_22"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -219035538 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "853a1ebb1160a8d78317d084e788af3d"], ["created_at", "2016-04-19 16:42:26.732778"], ["first_name", "Billy23"], ["last_name", "Bob_26"], ["openstax_uid", -219035538], ["updated_at", "2016-04-19 16:42:26.732778"], ["username", "billy_23"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -534340129 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "70cc02171ba579d31ccfdbaba6695855"], ["created_at", "2016-04-19 16:42:26.734259"], ["first_name", "Billy24"], ["last_name", "Bob_25"], ["openstax_uid", -534340129], ["updated_at", "2016-04-19 16:42:26.734259"], ["username", "billy_24"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -354203433 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "710d069377d564ace4409f860898a216"], ["created_at", "2016-04-19 16:42:26.735819"], ["first_name", "Billy25"], ["last_name", "Bob_24"], ["openstax_uid", -354203433], ["updated_at", "2016-04-19 16:42:26.735819"], ["username", "billy_25"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -25751040 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "df9139e538a3dcc3aefa189454400e68"], ["created_at", "2016-04-19 16:42:26.737371"], ["first_name", "Billy26"], ["last_name", "Bob_23"], ["openstax_uid", -25751040], ["updated_at", "2016-04-19 16:42:26.737371"], ["username", "billy_26"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -805636660 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f7256dd3dff61c9cbe8c903965040376"], ["created_at", "2016-04-19 16:42:26.738913"], ["first_name", "Billy27"], ["last_name", "Bob_22"], ["openstax_uid", -805636660], ["updated_at", "2016-04-19 16:42:26.738913"], ["username", "billy_27"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -874943541 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "82588259e21bf0d07ac87a3ccae22fe2"], ["created_at", "2016-04-19 16:42:26.740425"], ["first_name", "Billy28"], ["last_name", "Bob_21"], ["openstax_uid", -874943541], ["updated_at", "2016-04-19 16:42:26.740425"], ["username", "billy_28"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -76295301 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "05c2c4a2a49cf66289c929befadd4d05"], ["created_at", "2016-04-19 16:42:26.741873"], ["first_name", "Billy29"], ["last_name", "Bob_20"], ["openstax_uid", -76295301], ["updated_at", "2016-04-19 16:42:26.741873"], ["username", "billy_29"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2080649873 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "6c11d3bab4d69339e73144bc66b1aae0"], ["created_at", "2016-04-19 16:42:26.743373"], ["first_name", "Billy30"], ["last_name", "Bob_19"], ["openstax_uid", -2080649873], ["updated_at", "2016-04-19 16:42:26.743373"], ["username", "billy_30"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1444207906 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a3d22d790fd5459f9aac44007e98f58a"], ["created_at", "2016-04-19 16:42:26.744887"], ["first_name", "Billy31"], ["last_name", "Bob_18"], ["openstax_uid", -1444207906], ["updated_at", "2016-04-19 16:42:26.744887"], ["username", "billy_31"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1174500804 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d879233188504516182cd9ca94d18f91"], ["created_at", "2016-04-19 16:42:26.746373"], ["first_name", "Billy32"], ["last_name", "Bob_17"], ["openstax_uid", -1174500804], ["updated_at", "2016-04-19 16:42:26.746373"], ["username", "billy_32"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2120501786 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "20f6f2358ca8010c1c0b398d66ea4ed3"], ["created_at", "2016-04-19 16:42:26.747845"], ["first_name", "Billy33"], ["last_name", "Bob_16"], ["openstax_uid", -2120501786], ["updated_at", "2016-04-19 16:42:26.747845"], ["username", "billy_33"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -688458618 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "6209f7c939437e71ac761badca12f16f"], ["created_at", "2016-04-19 16:42:26.749316"], ["first_name", "Billy34"], ["last_name", "Bob_15"], ["openstax_uid", -688458618], ["updated_at", "2016-04-19 16:42:26.749316"], ["username", "billy_34"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2025406243 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c48d72ec43772a07c36abc920eca4957"], ["created_at", "2016-04-19 16:42:26.750789"], ["first_name", "Billy35"], ["last_name", "Bob_14"], ["openstax_uid", -2025406243], ["updated_at", "2016-04-19 16:42:26.750789"], ["username", "billy_35"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1805017086 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d7fa60bb4bb1e969f4f400a14713b927"], ["created_at", "2016-04-19 16:42:26.752252"], ["first_name", "Billy36"], ["last_name", "Bob_13"], ["openstax_uid", -1805017086], ["updated_at", "2016-04-19 16:42:26.752252"], ["username", "billy_36"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2128338115 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "517edafa95892f7de7f442faf0c535c2"], ["created_at", "2016-04-19 16:42:26.753732"], ["first_name", "Billy37"], ["last_name", "Bob_12"], ["openstax_uid", -2128338115], ["updated_at", "2016-04-19 16:42:26.753732"], ["username", "billy_37"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1986145295 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "fa2a700d2983f2218b9ae0c0b3016022"], ["created_at", "2016-04-19 16:42:26.755229"], ["first_name", "Billy38"], ["last_name", "Bob_11"], ["openstax_uid", -1986145295], ["updated_at", "2016-04-19 16:42:26.755229"], ["username", "billy_38"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -766863549 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "436c5e7a1cd906b27e6b30611ba4d827"], ["created_at", "2016-04-19 16:42:26.756716"], ["first_name", "Billy39"], ["last_name", "Bob_10"], ["openstax_uid", -766863549], ["updated_at", "2016-04-19 16:42:26.756716"], ["username", "billy_39"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -653033648 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4a6f60636e417f27db9e5d9d025d2f07"], ["created_at", "2016-04-19 16:42:26.758167"], ["first_name", "Billy40"], ["last_name", "Bob_09"], ["openstax_uid", -653033648], ["updated_at", "2016-04-19 16:42:26.758167"], ["username", "billy_40"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1205430622 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7a8e85bd6a2b4fddd75d4ea0d491774e"], ["created_at", "2016-04-19 16:42:26.759650"], ["first_name", "Billy41"], ["last_name", "Bob_08"], ["openstax_uid", -1205430622], ["updated_at", "2016-04-19 16:42:26.759650"], ["username", "billy_41"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -441968496 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "6ca723c3611e8b9adc1cca6a7740f110"], ["created_at", "2016-04-19 16:42:26.761107"], ["first_name", "Billy42"], ["last_name", "Bob_07"], ["openstax_uid", -441968496], ["updated_at", "2016-04-19 16:42:26.761107"], ["username", "billy_42"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -135952648 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "831a5521dc38ccea086f15f90d427b55"], ["created_at", "2016-04-19 16:42:26.762564"], ["first_name", "Billy43"], ["last_name", "Bob_06"], ["openstax_uid", -135952648], ["updated_at", "2016-04-19 16:42:26.762564"], ["username", "billy_43"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -751150387 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "53994b4ead52f47bb2b62fd14324927a"], ["created_at", "2016-04-19 16:42:26.764009"], ["first_name", "Billy44"], ["last_name", "Bob_05"], ["openstax_uid", -751150387], ["updated_at", "2016-04-19 16:42:26.764009"], ["username", "billy_44"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -256521138 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "2109cfd2f1f32faf3f224d42d2b3060e"], ["created_at", "2016-04-19 16:42:26.765458"], ["first_name", "Billy45"], ["last_name", "Bob_04"], ["openstax_uid", -256521138], ["updated_at", "2016-04-19 16:42:26.765458"], ["username", "billy_45"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -360091420 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "20511047d9a0145241d6e018343457de"], ["created_at", "2016-04-19 16:42:26.766983"], ["first_name", "Billy46"], ["last_name", "Bob_03"], ["openstax_uid", -360091420], ["updated_at", "2016-04-19 16:42:26.766983"], ["username", "billy_46"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -559310748 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "2d58de22f4f9683446a7c83367a43343"], ["created_at", "2016-04-19 16:42:26.768491"], ["first_name", "Billy47"], ["last_name", "Bob_02"], ["openstax_uid", -559310748], ["updated_at", "2016-04-19 16:42:26.768491"], ["username", "billy_47"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1146581144 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "70724f79c4a94f08652c35ad24ed5c85"], ["created_at", "2016-04-19 16:42:26.770070"], ["first_name", "Billy48"], ["last_name", "Bob_01"], ["openstax_uid", -1146581144], ["updated_at", "2016-04-19 16:42:26.770070"], ["username", "billy_48"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -621174532 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0e9e6047e86f9992318d6cbe4ef574e6"], ["created_at", "2016-04-19 16:42:26.771533"], ["first_name", "Billy49"], ["last_name", "Bob_00"], ["openstax_uid", -621174532], ["updated_at", "2016-04-19 16:42:26.771533"], ["username", "billy_49"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts"
+ [1m[36mOpenStax::Accounts::Account Load (0.3ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (1.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1656740072 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4f4e823ac32b09f91b94811db25e2e11"], ["created_at", "2016-04-19 16:42:26.780279"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1656740072], ["updated_at", "2016-04-19 16:42:26.780279"], ["username", "jstrav"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1956135158 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "02d165a47b19a87eab4b751c345670ca"], ["created_at", "2016-04-19 16:42:26.782263"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1956135158], ["updated_at", "2016-04-19 16:42:26.782263"], ["username", "mary"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1649208685 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "eae18aab5585c38f9a7a4f3d30009046"], ["created_at", "2016-04-19 16:42:26.784148"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1649208685], ["updated_at", "2016-04-19 16:42:26.784148"], ["username", "jstead"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1388285438 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "32ab2593fb3db5369a252a1bb8d3639f"], ["created_at", "2016-04-19 16:42:26.785653"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1388285438], ["updated_at", "2016-04-19 16:42:26.785653"], ["username", "bigbear"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -854006290 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0f17c18d396765c523322798f68fb7ce"], ["created_at", "2016-04-19 16:42:26.787481"], ["first_name", "Billy00"], ["last_name", "Bob_49"], ["openstax_uid", -854006290], ["updated_at", "2016-04-19 16:42:26.787481"], ["username", "billy_00"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1953058871 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7399a31ef7be811c08be8d1ebb587b31"], ["created_at", "2016-04-19 16:42:26.789079"], ["first_name", "Billy01"], ["last_name", "Bob_48"], ["openstax_uid", -1953058871], ["updated_at", "2016-04-19 16:42:26.789079"], ["username", "billy_01"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1497214470 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "ad5a325a7df08b3d1f0d490956845106"], ["created_at", "2016-04-19 16:42:26.790596"], ["first_name", "Billy02"], ["last_name", "Bob_47"], ["openstax_uid", -1497214470], ["updated_at", "2016-04-19 16:42:26.790596"], ["username", "billy_02"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1922541185 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3fb56c850d325f0acf127ff2e7cf5dc1"], ["created_at", "2016-04-19 16:42:26.792131"], ["first_name", "Billy03"], ["last_name", "Bob_46"], ["openstax_uid", -1922541185], ["updated_at", "2016-04-19 16:42:26.792131"], ["username", "billy_03"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -14832268 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "6e179445b6cd480c7676651d2309a636"], ["created_at", "2016-04-19 16:42:26.793668"], ["first_name", "Billy04"], ["last_name", "Bob_45"], ["openstax_uid", -14832268], ["updated_at", "2016-04-19 16:42:26.793668"], ["username", "billy_04"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -249398902 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "43110f8120851c0913d2fc7aaaf11c62"], ["created_at", "2016-04-19 16:42:26.795237"], ["first_name", "Billy05"], ["last_name", "Bob_44"], ["openstax_uid", -249398902], ["updated_at", "2016-04-19 16:42:26.795237"], ["username", "billy_05"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1143364934 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f742385bee088e6934ee0b1d01cd0361"], ["created_at", "2016-04-19 16:42:26.796769"], ["first_name", "Billy06"], ["last_name", "Bob_43"], ["openstax_uid", -1143364934], ["updated_at", "2016-04-19 16:42:26.796769"], ["username", "billy_06"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -951660699 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "13d335812e8620eeb2c6acd720ddd51a"], ["created_at", "2016-04-19 16:42:26.798245"], ["first_name", "Billy07"], ["last_name", "Bob_42"], ["openstax_uid", -951660699], ["updated_at", "2016-04-19 16:42:26.798245"], ["username", "billy_07"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1011411597 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "93f66db81c7b92fb0c1da4b491e586c8"], ["created_at", "2016-04-19 16:42:26.799705"], ["first_name", "Billy08"], ["last_name", "Bob_41"], ["openstax_uid", -1011411597], ["updated_at", "2016-04-19 16:42:26.799705"], ["username", "billy_08"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1447974785 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0072a5b1c6c932042023ffac7226ceae"], ["created_at", "2016-04-19 16:42:26.801229"], ["first_name", "Billy09"], ["last_name", "Bob_40"], ["openstax_uid", -1447974785], ["updated_at", "2016-04-19 16:42:26.801229"], ["username", "billy_09"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1785038176 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "044874a662124274bd49c2da294505f8"], ["created_at", "2016-04-19 16:42:26.802734"], ["first_name", "Billy10"], ["last_name", "Bob_39"], ["openstax_uid", -1785038176], ["updated_at", "2016-04-19 16:42:26.802734"], ["username", "billy_10"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -55144874 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "75972878ae06571887f4f9d0469b39dc"], ["created_at", "2016-04-19 16:42:26.804272"], ["first_name", "Billy11"], ["last_name", "Bob_38"], ["openstax_uid", -55144874], ["updated_at", "2016-04-19 16:42:26.804272"], ["username", "billy_11"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -439858912 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c7b77cea4773ead31ca70a620ec30021"], ["created_at", "2016-04-19 16:42:26.805735"], ["first_name", "Billy12"], ["last_name", "Bob_37"], ["openstax_uid", -439858912], ["updated_at", "2016-04-19 16:42:26.805735"], ["username", "billy_12"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1512453913 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "47d67a4cd70343c2d7d0388adae6fb2f"], ["created_at", "2016-04-19 16:42:26.807227"], ["first_name", "Billy13"], ["last_name", "Bob_36"], ["openstax_uid", -1512453913], ["updated_at", "2016-04-19 16:42:26.807227"], ["username", "billy_13"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -449967868 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "5a1ded42da879f903244c9a91928e28a"], ["created_at", "2016-04-19 16:42:26.808736"], ["first_name", "Billy14"], ["last_name", "Bob_35"], ["openstax_uid", -449967868], ["updated_at", "2016-04-19 16:42:26.808736"], ["username", "billy_14"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -294086652 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1c795de48984f3b7ed2aa0238c263339"], ["created_at", "2016-04-19 16:42:26.810294"], ["first_name", "Billy15"], ["last_name", "Bob_34"], ["openstax_uid", -294086652], ["updated_at", "2016-04-19 16:42:26.810294"], ["username", "billy_15"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -910313329 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "49fb543875679e003bac4924eb6d23fa"], ["created_at", "2016-04-19 16:42:26.818535"], ["first_name", "Billy16"], ["last_name", "Bob_33"], ["openstax_uid", -910313329], ["updated_at", "2016-04-19 16:42:26.818535"], ["username", "billy_16"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1797982405 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1653a4f69802785bcb7f96d563379863"], ["created_at", "2016-04-19 16:42:26.820456"], ["first_name", "Billy17"], ["last_name", "Bob_32"], ["openstax_uid", -1797982405], ["updated_at", "2016-04-19 16:42:26.820456"], ["username", "billy_17"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1528878121 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f88b1c0c413cc608110f54f02b4b650c"], ["created_at", "2016-04-19 16:42:26.821993"], ["first_name", "Billy18"], ["last_name", "Bob_31"], ["openstax_uid", -1528878121], ["updated_at", "2016-04-19 16:42:26.821993"], ["username", "billy_18"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1624208888 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "852d5904b555efe02b8963138c2dc373"], ["created_at", "2016-04-19 16:42:26.823535"], ["first_name", "Billy19"], ["last_name", "Bob_30"], ["openstax_uid", -1624208888], ["updated_at", "2016-04-19 16:42:26.823535"], ["username", "billy_19"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -121931382 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e69d2a5f8485286e1a9618beaf45f10c"], ["created_at", "2016-04-19 16:42:26.825053"], ["first_name", "Billy20"], ["last_name", "Bob_29"], ["openstax_uid", -121931382], ["updated_at", "2016-04-19 16:42:26.825053"], ["username", "billy_20"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1089884360 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3fa136fe66cafe2992819bd18ae42017"], ["created_at", "2016-04-19 16:42:26.826586"], ["first_name", "Billy21"], ["last_name", "Bob_28"], ["openstax_uid", -1089884360], ["updated_at", "2016-04-19 16:42:26.826586"], ["username", "billy_21"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -884518972 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4835b1ad75327984b622afc43ae416f7"], ["created_at", "2016-04-19 16:42:26.828051"], ["first_name", "Billy22"], ["last_name", "Bob_27"], ["openstax_uid", -884518972], ["updated_at", "2016-04-19 16:42:26.828051"], ["username", "billy_22"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -175307087 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "64b48f28215d50b3776ab8b9d24c2f96"], ["created_at", "2016-04-19 16:42:26.829547"], ["first_name", "Billy23"], ["last_name", "Bob_26"], ["openstax_uid", -175307087], ["updated_at", "2016-04-19 16:42:26.829547"], ["username", "billy_23"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2134071248 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "162a16a2cad36d1d46c2d8a14ce587be"], ["created_at", "2016-04-19 16:42:26.831013"], ["first_name", "Billy24"], ["last_name", "Bob_25"], ["openstax_uid", -2134071248], ["updated_at", "2016-04-19 16:42:26.831013"], ["username", "billy_24"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1385320988 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f8d00f165d13d5c0e3a3e409b8152896"], ["created_at", "2016-04-19 16:42:26.832473"], ["first_name", "Billy25"], ["last_name", "Bob_24"], ["openstax_uid", -1385320988], ["updated_at", "2016-04-19 16:42:26.832473"], ["username", "billy_25"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -89493844 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8ee0c1685105bcdb59b82afb3cb5faa5"], ["created_at", "2016-04-19 16:42:26.833953"], ["first_name", "Billy26"], ["last_name", "Bob_23"], ["openstax_uid", -89493844], ["updated_at", "2016-04-19 16:42:26.833953"], ["username", "billy_26"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1387225132 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "45011a0dc6e1af2b4ce59cce8a9d98d7"], ["created_at", "2016-04-19 16:42:26.835413"], ["first_name", "Billy27"], ["last_name", "Bob_22"], ["openstax_uid", -1387225132], ["updated_at", "2016-04-19 16:42:26.835413"], ["username", "billy_27"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -295637170 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "57677d9dec0f875a6303edb489d2de99"], ["created_at", "2016-04-19 16:42:26.836930"], ["first_name", "Billy28"], ["last_name", "Bob_21"], ["openstax_uid", -295637170], ["updated_at", "2016-04-19 16:42:26.836930"], ["username", "billy_28"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -759488887 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "749a15a1ae8b36659a34731c3328e255"], ["created_at", "2016-04-19 16:42:26.838588"], ["first_name", "Billy29"], ["last_name", "Bob_20"], ["openstax_uid", -759488887], ["updated_at", "2016-04-19 16:42:26.838588"], ["username", "billy_29"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1645312714 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cdfdb796dfb25fc12f4a45ab2809e098"], ["created_at", "2016-04-19 16:42:26.840149"], ["first_name", "Billy30"], ["last_name", "Bob_19"], ["openstax_uid", -1645312714], ["updated_at", "2016-04-19 16:42:26.840149"], ["username", "billy_30"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -444800760 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "22d109a7ca3078fd8887fef84c7f148c"], ["created_at", "2016-04-19 16:42:26.841631"], ["first_name", "Billy31"], ["last_name", "Bob_18"], ["openstax_uid", -444800760], ["updated_at", "2016-04-19 16:42:26.841631"], ["username", "billy_31"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1786518717 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f4b83e60a9772bc319e310e69b002657"], ["created_at", "2016-04-19 16:42:26.843102"], ["first_name", "Billy32"], ["last_name", "Bob_17"], ["openstax_uid", -1786518717], ["updated_at", "2016-04-19 16:42:26.843102"], ["username", "billy_32"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -545138305 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "645d3bec8e3a398d13723b0d4c198391"], ["created_at", "2016-04-19 16:42:26.844549"], ["first_name", "Billy33"], ["last_name", "Bob_16"], ["openstax_uid", -545138305], ["updated_at", "2016-04-19 16:42:26.844549"], ["username", "billy_33"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1358677959 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "ef622a2e2e49e73392b46ae365d60ea3"], ["created_at", "2016-04-19 16:42:26.846073"], ["first_name", "Billy34"], ["last_name", "Bob_15"], ["openstax_uid", -1358677959], ["updated_at", "2016-04-19 16:42:26.846073"], ["username", "billy_34"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -598201985 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8c9a5ee4636e66b6871aebd65cf82be1"], ["created_at", "2016-04-19 16:42:26.847619"], ["first_name", "Billy35"], ["last_name", "Bob_14"], ["openstax_uid", -598201985], ["updated_at", "2016-04-19 16:42:26.847619"], ["username", "billy_35"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -564210401 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e821baa8f9ddc7e70b0d720c592b3828"], ["created_at", "2016-04-19 16:42:26.849103"], ["first_name", "Billy36"], ["last_name", "Bob_13"], ["openstax_uid", -564210401], ["updated_at", "2016-04-19 16:42:26.849103"], ["username", "billy_36"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -639479124 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "67022562d46a51d67f92ec0c98099f59"], ["created_at", "2016-04-19 16:42:26.850620"], ["first_name", "Billy37"], ["last_name", "Bob_12"], ["openstax_uid", -639479124], ["updated_at", "2016-04-19 16:42:26.850620"], ["username", "billy_37"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -202715331 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f099bec220eaef1bc2dbdb323b42bd1c"], ["created_at", "2016-04-19 16:42:26.852064"], ["first_name", "Billy38"], ["last_name", "Bob_11"], ["openstax_uid", -202715331], ["updated_at", "2016-04-19 16:42:26.852064"], ["username", "billy_38"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1719600852 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8699597d7a059a04795d86293feea8f1"], ["created_at", "2016-04-19 16:42:26.853539"], ["first_name", "Billy39"], ["last_name", "Bob_10"], ["openstax_uid", -1719600852], ["updated_at", "2016-04-19 16:42:26.853539"], ["username", "billy_39"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2035794478 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "63184840f7ffd4bc3cecc99eb0cf56ac"], ["created_at", "2016-04-19 16:42:26.855008"], ["first_name", "Billy40"], ["last_name", "Bob_09"], ["openstax_uid", -2035794478], ["updated_at", "2016-04-19 16:42:26.855008"], ["username", "billy_40"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -571099331 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "2cc4c67a57088f6aae169ccaea0b9468"], ["created_at", "2016-04-19 16:42:26.856437"], ["first_name", "Billy41"], ["last_name", "Bob_08"], ["openstax_uid", -571099331], ["updated_at", "2016-04-19 16:42:26.856437"], ["username", "billy_41"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1590512099 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "96474563ea18ba01ce045d60c39c105c"], ["created_at", "2016-04-19 16:42:26.857928"], ["first_name", "Billy42"], ["last_name", "Bob_07"], ["openstax_uid", -1590512099], ["updated_at", "2016-04-19 16:42:26.857928"], ["username", "billy_42"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -430566568 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "828ade87a02ce2f778cdc6bc54b23933"], ["created_at", "2016-04-19 16:42:26.859351"], ["first_name", "Billy43"], ["last_name", "Bob_06"], ["openstax_uid", -430566568], ["updated_at", "2016-04-19 16:42:26.859351"], ["username", "billy_43"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -161448966 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4bb23653f99e95d5cdb4b342c8026500"], ["created_at", "2016-04-19 16:42:26.860845"], ["first_name", "Billy44"], ["last_name", "Bob_05"], ["openstax_uid", -161448966], ["updated_at", "2016-04-19 16:42:26.860845"], ["username", "billy_44"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -893228743 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "ee1984ded7bf7070135b4942344a87be"], ["created_at", "2016-04-19 16:42:26.862350"], ["first_name", "Billy45"], ["last_name", "Bob_04"], ["openstax_uid", -893228743], ["updated_at", "2016-04-19 16:42:26.862350"], ["username", "billy_45"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2092685302 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f9df67643326e8c3911d06ee6781d5d1"], ["created_at", "2016-04-19 16:42:26.863855"], ["first_name", "Billy46"], ["last_name", "Bob_03"], ["openstax_uid", -2092685302], ["updated_at", "2016-04-19 16:42:26.863855"], ["username", "billy_46"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1480794907 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "6a737fbf046d2f98fa7099e8d6c49b91"], ["created_at", "2016-04-19 16:42:26.865323"], ["first_name", "Billy47"], ["last_name", "Bob_02"], ["openstax_uid", -1480794907], ["updated_at", "2016-04-19 16:42:26.865323"], ["username", "billy_47"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1085771527 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "003b9740ed03db97aee02255e3629fac"], ["created_at", "2016-04-19 16:42:26.866762"], ["first_name", "Billy48"], ["last_name", "Bob_01"], ["openstax_uid", -1085771527], ["updated_at", "2016-04-19 16:42:26.866762"], ["username", "billy_48"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1748745739 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "37f42a1ab6e1e71fb09a223d58d3073f"], ["created_at", "2016-04-19 16:42:26.868243"], ["first_name", "Billy49"], ["last_name", "Bob_00"], ["openstax_uid", -1748745739], ["updated_at", "2016-04-19 16:42:26.868243"], ["username", "billy_49"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%'))
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (1.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:26.886655"], ["openstax_uid", 2], ["updated_at", "2016-04-19 16:42:26.886655"], ["username", "u"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts"[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.2ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:26 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_users/updates" for 127.0.0.1 at 2016-04-19 09:42:26 -0700
+Processing by Api::ApplicationUsersController#updates as application/vnd.accounts.openstax.v1
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE ("openstax_accounts_accounts"."openstax_uid" = 2 AND "openstax_accounts_accounts"."id" != 1) LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mUPDATE "openstax_accounts_accounts" SET "updated_at" = ?, "username" = ? WHERE "openstax_accounts_accounts"."id" = 1[0m [["updated_at", "2016-04-19 16:42:26.929581"], ["username", "user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", "2016-04-19 16:42:26.932227"], ["openstax_uid", 4], ["updated_at", "2016-04-19 16:42:26.932227"], ["username", "fuego"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:26 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started PUT "/api/application_users/updated" for 127.0.0.1 at 2016-04-19 09:42:26 -0700
+Processing by Api::ApplicationUsersController#updated as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"user_id\":2,\"read_updates\":1},{\"user_id\":4,\"read_updates\":2}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts"
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:26 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_users/updates" for 127.0.0.1 at 2016-04-19 09:42:26 -0700
+Processing by Api::ApplicationUsersController#updates as application/vnd.accounts.openstax.v1
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE ("openstax_accounts_accounts"."openstax_uid" = 2 AND "openstax_accounts_accounts"."id" != 1) LIMIT 1[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE ("openstax_accounts_accounts"."openstax_uid" = 4 AND "openstax_accounts_accounts"."id" != 2) LIMIT 1[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:26 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started PUT "/api/application_users/updated" for 127.0.0.1 at 2016-04-19 09:42:26 -0700
+Processing by Api::ApplicationUsersController#updated as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"user_id\":2,\"read_updates\":1},{\"user_id\":4,\"read_updates\":2}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts"[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.3ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1358393303 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = '2b821e709a1f11d38b3b9ccf968ec445' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "9095cd945ed321399632b3a4dd564251"], ["created_at", "2016-04-19 16:42:26.988097"], ["openstax_uid", -1358393303], ["updated_at", "2016-04-19 16:42:26.988097"], ["username", "2b821e709a1f11d38b3b9ccf968ec445"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1123297971 LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = '0c67f03d637da9f272dd26ff3ba3a83d' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "b8f372ce0f14d6a2cc49748ef2bedbb4"], ["created_at", "2016-04-19 16:42:26.992306"], ["openstax_uid", -1123297971], ["updated_at", "2016-04-19 16:42:26.992306"], ["username", "0c67f03d637da9f272dd26ff3ba3a83d"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Group Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -2129857322 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."name" = 'MyGroup' LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:26.994612"], ["name", "MyGroup"], ["openstax_uid", -2129857322], ["updated_at", "2016-04-19 16:42:26.994612"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1619791084 LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = '41bd70be7746673bc3d546712e98812b' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "5dbd3ebcd2d22ae68bbbc8bd44087d8c"], ["created_at", "2016-04-19 16:42:26.998308"], ["openstax_uid", -1619791084], ["updated_at", "2016-04-19 16:42:26.998308"], ["username", "41bd70be7746673bc3d546712e98812b"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Group Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -1526977305 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."name" = 'MyGroup' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.000938"], ["name", "MyGroup"], ["openstax_uid", -1526977305], ["updated_at", "2016-04-19 16:42:27.000938"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36mOpenStax::Accounts::Group Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IS NULL LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Group Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.006003"], ["name", "MyGroup"], ["openstax_uid", 1], ["updated_at", "2016-04-19 16:42:27.006003"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 1 LIMIT 1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "secret"], ["created_at", "2016-04-19 16:42:27.017602"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2016-04-19 16:42:27.017602"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started POST "/api/dummy?test=true" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::DummyController#dummy as application/vnd.accounts.openstax.v1
+ Parameters: {"test"=>"true"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -211916970 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "80e224e723af9fa502be30df7455db7e"], ["created_at", "2016-04-19 16:42:27.036991"], ["openstax_uid", -211916970], ["updated_at", "2016-04-19 16:42:27.036991"], ["username", "802aa2c8b3aa843977a5bb6c257a39ef"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -1193693514 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.039178"], ["name", "MyGroup"], ["openstax_uid", -1193693514], ["updated_at", "2016-04-19 16:42:27.039178"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1800707330 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "9b8e3379c101961ef8d519a4f9d733a1"], ["created_at", "2016-04-19 16:42:27.041115"], ["openstax_uid", -1800707330], ["updated_at", "2016-04-19 16:42:27.041115"], ["username", "6d5e5000961920e9ace77f175f0f5faa"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupOwner Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 2 AND "openstax_accounts_group_owners"."group_id" = -1193693514) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:27.042602"], ["group_id", -1193693514], ["updated_at", "2016-04-19 16:42:27.042602"], ["user_id", -1800707330]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started DELETE "/api/groups/-1193693514/owners/-1800707330" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::GroupOwnersController#destroy as application/vnd.accounts.openstax.v1
+ Parameters: {"group_id"=>"-1193693514", "user_id"=>"-1800707330"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (1.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1222306095 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "ef2f3f81847d869f0797637811b43758"], ["created_at", "2016-04-19 16:42:27.058898"], ["openstax_uid", -1222306095], ["updated_at", "2016-04-19 16:42:27.058898"], ["username", "96332b1ca95882d0c125a3020efb4ddf"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -779810133 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.061096"], ["name", "MyGroup"], ["openstax_uid", -779810133], ["updated_at", "2016-04-19 16:42:27.061096"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -197512610 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "d45fa4197301aac8d4f9e854205f6315"], ["created_at", "2016-04-19 16:42:27.063119"], ["openstax_uid", -197512610], ["updated_at", "2016-04-19 16:42:27.063119"], ["username", "57886c5b6689fa793fc8154fc0f54715"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/api/groups/-779810133/owners/-197512610" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::GroupOwnersController#create as application/vnd.accounts.openstax.v1
+ Parameters: {"group_id"=>"-779810133", "user_id"=>"-197512610"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -705026014 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "7c470e58dcd654b418a0fd14715697a4"], ["created_at", "2016-04-19 16:42:27.075233"], ["openstax_uid", -705026014], ["updated_at", "2016-04-19 16:42:27.075233"], ["username", "c932e60f3647bdbf5d60b3cdbbb3eee5"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -1446577199 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.077482"], ["name", "MyGroup"], ["openstax_uid", -1446577199], ["updated_at", "2016-04-19 16:42:27.077482"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -2138403722 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.079550"], ["name", "MyGroup"], ["openstax_uid", -2138403722], ["updated_at", "2016-04-19 16:42:27.079550"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupNesting Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 2 LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.0ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mSQL (0.1ms)[0m SELECT "openstax_accounts_groups"."id" AS t0_r0, "openstax_accounts_groups"."openstax_uid" AS t0_r1, "openstax_accounts_groups"."is_public" AS t0_r2, "openstax_accounts_groups"."name" AS t0_r3, "openstax_accounts_groups"."cached_subtree_group_ids" AS t0_r4, "openstax_accounts_groups"."cached_supertree_group_ids" AS t0_r5, "openstax_accounts_groups"."created_at" AS t0_r6, "openstax_accounts_groups"."updated_at" AS t0_r7, "openstax_accounts_group_nestings"."id" AS t1_r0, "openstax_accounts_group_nestings"."member_group_id" AS t1_r1, "openstax_accounts_group_nestings"."container_group_id" AS t1_r2, "openstax_accounts_group_nestings"."created_at" AS t1_r3, "openstax_accounts_group_nestings"."updated_at" AS t1_r4 FROM "openstax_accounts_groups" LEFT OUTER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_group_nestings"."member_group_id" = "openstax_accounts_groups"."openstax_uid" WHERE "openstax_accounts_group_nestings"."container_group_id" = -2138403722
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = '---
+- -2138403722
+' WHERE "openstax_accounts_groups"."id" = 2[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mSQL (0.1ms)[0m [1mSELECT DISTINCT "openstax_accounts_groups"."id" FROM "openstax_accounts_groups" LEFT OUTER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_group_nestings"."container_group_id" = "openstax_accounts_groups"."openstax_uid" WHERE "openstax_accounts_group_nestings"."member_group_id" = -1446577199 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = '---
+- -1446577199
+' WHERE "openstax_accounts_groups"."id" = 1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = NULL WHERE "openstax_accounts_groups"."id" IN (-2138403722)[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = NULL WHERE "openstax_accounts_groups"."id" IN (-1446577199)
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["container_group_id", -1446577199], ["created_at", "2016-04-19 16:42:27.081096"], ["member_group_id", -2138403722], ["updated_at", "2016-04-19 16:42:27.081096"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started DELETE "/api/groups/-1446577199/nestings/-2138403722" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::GroupNestingsController#destroy as application/vnd.accounts.openstax.v1
+ Parameters: {"group_id"=>"-1446577199", "member_group_id"=>"-2138403722"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (1.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1325588562 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "732bc5dc1351129e8001a31c822f52af"], ["created_at", "2016-04-19 16:42:27.105604"], ["openstax_uid", -1325588562], ["updated_at", "2016-04-19 16:42:27.105604"], ["username", "1931facb5a196feb7c281bd0871bd6c1"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -553453181 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.108269"], ["name", "MyGroup"], ["openstax_uid", -553453181], ["updated_at", "2016-04-19 16:42:27.108269"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -369604080 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.110405"], ["name", "MyGroup"], ["openstax_uid", -369604080], ["updated_at", "2016-04-19 16:42:27.110405"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/api/groups/-553453181/nestings/-369604080" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::GroupNestingsController#create as application/vnd.accounts.openstax.v1
+ Parameters: {"group_id"=>"-553453181", "member_group_id"=>"-369604080"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.8ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -231866675 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "df7decad3d3e1bb5533c0dd368464ec7"], ["created_at", "2016-04-19 16:42:27.123010"], ["openstax_uid", -231866675], ["updated_at", "2016-04-19 16:42:27.123010"], ["username", "b99ad99f10ceb16b1fa3a4dbd5be8681"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -1052229113 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.125413"], ["name", "MyGroup"], ["openstax_uid", -1052229113], ["updated_at", "2016-04-19 16:42:27.125413"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -556798924 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "2cf46119d054c27d6491987095670a1a"], ["created_at", "2016-04-19 16:42:27.127399"], ["openstax_uid", -556798924], ["updated_at", "2016-04-19 16:42:27.127399"], ["username", "04b52d23136d26a9bdf84b2467a66259"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 2 AND "openstax_accounts_group_members"."group_id" = -1052229113) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:27.129024"], ["group_id", -1052229113], ["updated_at", "2016-04-19 16:42:27.129024"], ["user_id", -556798924]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started DELETE "/api/groups/-1052229113/members/-556798924" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::GroupMembersController#destroy as application/vnd.accounts.openstax.v1
+ Parameters: {"group_id"=>"-1052229113", "user_id"=>"-556798924"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (1.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1468242981 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "c7f3f2f0c4d42c47b3a9d03bf07766a4"], ["created_at", "2016-04-19 16:42:27.144867"], ["openstax_uid", -1468242981], ["updated_at", "2016-04-19 16:42:27.144867"], ["username", "be8b0f4d182a9c430f7fd20152da0e95"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -293686518 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.146916"], ["name", "MyGroup"], ["openstax_uid", -293686518], ["updated_at", "2016-04-19 16:42:27.146916"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1690148761 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "22d91eb823a4e4e359be32c0e213ab3c"], ["created_at", "2016-04-19 16:42:27.149224"], ["openstax_uid", -1690148761], ["updated_at", "2016-04-19 16:42:27.149224"], ["username", "836424e62bd4b48a9ef269c4d6905a76"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/api/groups/-293686518/members/-1690148761" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::GroupMembersController#create as application/vnd.accounts.openstax.v1
+ Parameters: {"group_id"=>"-293686518", "user_id"=>"-1690148761"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (1.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "secret"], ["created_at", "2016-04-19 16:42:27.162108"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2016-04-19 16:42:27.162108"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_users/updates" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::ApplicationUsersController#updates as application/vnd.accounts.openstax.v1
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "secret"], ["created_at", "2016-04-19 16:42:27.180925"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2016-04-19 16:42:27.180925"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started PUT "/api/application_users/updated" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::ApplicationUsersController#updated as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"id\":1,\"read_updates\":1}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "secret"], ["created_at", "2016-04-19 16:42:27.198612"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2016-04-19 16:42:27.198612"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_users?q=something" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::ApplicationUsersController#index as application/vnd.accounts.openstax.v1
+ Parameters: {"q"=>"something"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1971341952 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "a40d4f2222d2f452edaa2d326b5b77f6"], ["created_at", "2016-04-19 16:42:27.219111"], ["openstax_uid", -1971341952], ["updated_at", "2016-04-19 16:42:27.219111"], ["username", "cb522484ab76770ad2e6abd038fe3654"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -742341936 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.221030"], ["name", "MyGroup"], ["openstax_uid", -742341936], ["updated_at", "2016-04-19 16:42:27.221030"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = -742341936 AND "openstax_accounts_groups"."id" != 1) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 1[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2016-04-19 16:42:27.222809"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started PUT "/api/groups/-742341936" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::GroupsController#update as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"name\":\"MyGroup\",\"is_public\":false}"=>nil, "id"=>"-742341936"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1297910146 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "32a9483d5dc60813757a8b357a96f690"], ["created_at", "2016-04-19 16:42:27.244666"], ["openstax_uid", -1297910146], ["updated_at", "2016-04-19 16:42:27.244666"], ["username", "cda9bd1d33531ed102ba1cc8422d1c34"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -734271191 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.246538"], ["name", "MyGroup"], ["openstax_uid", -734271191], ["updated_at", "2016-04-19 16:42:27.246538"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = -734271191 AND "openstax_accounts_groups"."id" != 1) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 1[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2016-04-19 16:42:27.248237"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started DELETE "/api/groups/-734271191" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::GroupsController#destroy as application/vnd.accounts.openstax.v1
+ Parameters: {"id"=>"-734271191"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1306327136 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "99235f86e8ba6d7f3229542a481dde21"], ["created_at", "2016-04-19 16:42:27.259610"], ["openstax_uid", -1306327136], ["updated_at", "2016-04-19 16:42:27.259610"], ["username", "15cc8b739f58bce3350a2918d8a5f43a"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -323689219 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:27.261497"], ["name", "MyGroup"], ["openstax_uid", -323689219], ["updated_at", "2016-04-19 16:42:27.261497"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/api/groups" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::GroupsController#create as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"name\":\"MyGroup\",\"is_public\":false}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.8ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "secret"], ["created_at", "2016-04-19 16:42:27.273238"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2016-04-19 16:42:27.273238"], ["username", "some_user"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started PUT "/api/application_groups/updated" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::ApplicationGroupsController#updated as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"id\":1,\"read_updates\":1}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "secret"], ["created_at", "2016-04-19 16:42:27.295925"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2016-04-19 16:42:27.295925"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_groups/updates" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::ApplicationGroupsController#updates as application/vnd.accounts.openstax.v1
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2034418477 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "4f1ef2d7cc95180ef4aeb1409188e636"], ["created_at", "2016-04-19 16:42:27.314547"], ["openstax_uid", -2034418477], ["updated_at", "2016-04-19 16:42:27.314547"], ["username", "498e5efdd08de31aaddb84fb256ef2ae"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started POST "/api/user/find-or-create" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::UsersController#create as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"email\":\"dummy@dum.my\"}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -86490738 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "dded34b1902b92a7d4ecbe603b1c84f0"], ["created_at", "2016-04-19 16:42:27.338268"], ["openstax_uid", -86490738], ["updated_at", "2016-04-19 16:42:27.338268"], ["username", "c73aecdb0da6628585b7855b25b0bcc2"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started PUT "/api/user" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::UsersController#update as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"username\":\"c73aecdb0da6628585b7855b25b0bcc2\",\"first_name\":null,\"last_name\":null,\"full_name\":null,\"title\":null}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -180819731 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "0e5ffc7eb45a99fa9844135f22207143"], ["created_at", "2016-04-19 16:42:27.349333"], ["openstax_uid", -180819731], ["updated_at", "2016-04-19 16:42:27.349333"], ["username", "7f12471c3257b7e697c1a916dcf70af4"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started POST "/api/user/find-or-create" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::UsersController#create as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"username\":\"dummy\"}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -356083234 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "788737228193018df528a79ecdf59163"], ["created_at", "2016-04-19 16:42:27.366487"], ["openstax_uid", -356083234], ["updated_at", "2016-04-19 16:42:27.366487"], ["username", "d9daae40d6f69391b047b7cd10d71eba"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/api/users?q=something" for 127.0.0.1 at 2016-04-19 09:42:27 -0700
+Processing by Api::UsersController#index as application/vnd.accounts.openstax.v1
+ Parameters: {"q"=>"something"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1637807826 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "42c66041a1e44dcda0c1c116932b604b"], ["created_at", "2016-04-19 16:42:27.389990"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1637807826], ["updated_at", "2016-04-19 16:42:27.389990"], ["username", "jstrav"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1718435893 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "5e4789aafb41b6b76ad7127dd1c2a238"], ["created_at", "2016-04-19 16:42:27.391985"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1718435893], ["updated_at", "2016-04-19 16:42:27.391985"], ["username", "mary"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1662577391 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9fdb503a139ed3b4c29b0e1a33dea595"], ["created_at", "2016-04-19 16:42:27.393825"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1662577391], ["updated_at", "2016-04-19 16:42:27.393825"], ["username", "jstead"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -713020599 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "10f1320020c6c43c5ac86935e09535c2"], ["created_at", "2016-04-19 16:42:27.395609"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -713020599], ["updated_at", "2016-04-19 16:42:27.395609"], ["username", "bigbear"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1687276342 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "92fc9b7dd0994d06bcc14d094fc1b0a1"], ["created_at", "2016-04-19 16:42:27.398159"], ["first_name", "Billy00"], ["last_name", "Bob_49"], ["openstax_uid", -1687276342], ["updated_at", "2016-04-19 16:42:27.398159"], ["username", "billy_00"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1398603877 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "73696bf71665ae15d520bdc83e687a07"], ["created_at", "2016-04-19 16:42:27.400209"], ["first_name", "Billy01"], ["last_name", "Bob_48"], ["openstax_uid", -1398603877], ["updated_at", "2016-04-19 16:42:27.400209"], ["username", "billy_01"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1925562988 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "832124534cf3dde46321de929ba9ea27"], ["created_at", "2016-04-19 16:42:27.402234"], ["first_name", "Billy02"], ["last_name", "Bob_47"], ["openstax_uid", -1925562988], ["updated_at", "2016-04-19 16:42:27.402234"], ["username", "billy_02"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1815518781 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8e26959e8ff114ff5cf9e4bbbdc36d7e"], ["created_at", "2016-04-19 16:42:27.404083"], ["first_name", "Billy03"], ["last_name", "Bob_46"], ["openstax_uid", -1815518781], ["updated_at", "2016-04-19 16:42:27.404083"], ["username", "billy_03"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -45967448 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0715c1d77426b6e4f5abd3603bb97ec3"], ["created_at", "2016-04-19 16:42:27.406099"], ["first_name", "Billy04"], ["last_name", "Bob_45"], ["openstax_uid", -45967448], ["updated_at", "2016-04-19 16:42:27.406099"], ["username", "billy_04"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2040292147 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c1b01f9d413833a21e2c6b8e04efb92f"], ["created_at", "2016-04-19 16:42:27.407823"], ["first_name", "Billy05"], ["last_name", "Bob_44"], ["openstax_uid", -2040292147], ["updated_at", "2016-04-19 16:42:27.407823"], ["username", "billy_05"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1901885772 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a0dd2e593dfd3148dd2f8966b17cb726"], ["created_at", "2016-04-19 16:42:27.409588"], ["first_name", "Billy06"], ["last_name", "Bob_43"], ["openstax_uid", -1901885772], ["updated_at", "2016-04-19 16:42:27.409588"], ["username", "billy_06"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -546539926 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9ccb7bcee0af6b566f7c5da3a2898409"], ["created_at", "2016-04-19 16:42:27.411135"], ["first_name", "Billy07"], ["last_name", "Bob_42"], ["openstax_uid", -546539926], ["updated_at", "2016-04-19 16:42:27.411135"], ["username", "billy_07"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -766526128 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "5bb3ed228c08e36c56a3b5a28293edf1"], ["created_at", "2016-04-19 16:42:27.412611"], ["first_name", "Billy08"], ["last_name", "Bob_41"], ["openstax_uid", -766526128], ["updated_at", "2016-04-19 16:42:27.412611"], ["username", "billy_08"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -579588260 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3e77751fdca2b123306286bb949ca3df"], ["created_at", "2016-04-19 16:42:27.414178"], ["first_name", "Billy09"], ["last_name", "Bob_40"], ["openstax_uid", -579588260], ["updated_at", "2016-04-19 16:42:27.414178"], ["username", "billy_09"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -346086492 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "33acb477943ba8eb2ccb8ad6f5bed869"], ["created_at", "2016-04-19 16:42:27.415731"], ["first_name", "Billy10"], ["last_name", "Bob_39"], ["openstax_uid", -346086492], ["updated_at", "2016-04-19 16:42:27.415731"], ["username", "billy_10"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -547329890 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e1bc4bd6f9a35821628ce3760b8e7de7"], ["created_at", "2016-04-19 16:42:27.417219"], ["first_name", "Billy11"], ["last_name", "Bob_38"], ["openstax_uid", -547329890], ["updated_at", "2016-04-19 16:42:27.417219"], ["username", "billy_11"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -919578358 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "50caf4fab741e25c210af76961d14103"], ["created_at", "2016-04-19 16:42:27.418708"], ["first_name", "Billy12"], ["last_name", "Bob_37"], ["openstax_uid", -919578358], ["updated_at", "2016-04-19 16:42:27.418708"], ["username", "billy_12"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1485508147 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4368240117bef42034484d3749160613"], ["created_at", "2016-04-19 16:42:27.420207"], ["first_name", "Billy13"], ["last_name", "Bob_36"], ["openstax_uid", -1485508147], ["updated_at", "2016-04-19 16:42:27.420207"], ["username", "billy_13"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1827657027 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "92de598a3f1cb23c139b0bb3c901de75"], ["created_at", "2016-04-19 16:42:27.421809"], ["first_name", "Billy14"], ["last_name", "Bob_35"], ["openstax_uid", -1827657027], ["updated_at", "2016-04-19 16:42:27.421809"], ["username", "billy_14"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1454692644 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "5ec89ecf70197af900bda720b8e0659f"], ["created_at", "2016-04-19 16:42:27.423427"], ["first_name", "Billy15"], ["last_name", "Bob_34"], ["openstax_uid", -1454692644], ["updated_at", "2016-04-19 16:42:27.423427"], ["username", "billy_15"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1261523838 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "eaec0ec8f565312044d2f609cb3a05dc"], ["created_at", "2016-04-19 16:42:27.425006"], ["first_name", "Billy16"], ["last_name", "Bob_33"], ["openstax_uid", -1261523838], ["updated_at", "2016-04-19 16:42:27.425006"], ["username", "billy_16"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1794831156 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "fd95635f523a2c11fc0fa52bca0590c4"], ["created_at", "2016-04-19 16:42:27.426577"], ["first_name", "Billy17"], ["last_name", "Bob_32"], ["openstax_uid", -1794831156], ["updated_at", "2016-04-19 16:42:27.426577"], ["username", "billy_17"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1180616071 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e918d090987ea1059ab296a3fb321349"], ["created_at", "2016-04-19 16:42:27.428063"], ["first_name", "Billy18"], ["last_name", "Bob_31"], ["openstax_uid", -1180616071], ["updated_at", "2016-04-19 16:42:27.428063"], ["username", "billy_18"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -367214756 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "797d0415c4fe66c5aed1498897c8eeb2"], ["created_at", "2016-04-19 16:42:27.429519"], ["first_name", "Billy19"], ["last_name", "Bob_30"], ["openstax_uid", -367214756], ["updated_at", "2016-04-19 16:42:27.429519"], ["username", "billy_19"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -246889551 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "dbb896f1ca45c6de59d2b649eb476961"], ["created_at", "2016-04-19 16:42:27.431091"], ["first_name", "Billy20"], ["last_name", "Bob_29"], ["openstax_uid", -246889551], ["updated_at", "2016-04-19 16:42:27.431091"], ["username", "billy_20"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -491894733 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c4b3f0c1cf726475d8dfa8a76f7e5e9e"], ["created_at", "2016-04-19 16:42:27.432721"], ["first_name", "Billy21"], ["last_name", "Bob_28"], ["openstax_uid", -491894733], ["updated_at", "2016-04-19 16:42:27.432721"], ["username", "billy_21"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -964141192 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d0a1c7017bb1b5aa145959740031c3cb"], ["created_at", "2016-04-19 16:42:27.440834"], ["first_name", "Billy22"], ["last_name", "Bob_27"], ["openstax_uid", -964141192], ["updated_at", "2016-04-19 16:42:27.440834"], ["username", "billy_22"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1450234429 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f94486c018618e1adb91904451d9f0fa"], ["created_at", "2016-04-19 16:42:27.442883"], ["first_name", "Billy23"], ["last_name", "Bob_26"], ["openstax_uid", -1450234429], ["updated_at", "2016-04-19 16:42:27.442883"], ["username", "billy_23"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -474896714 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3c0ba00dced140759b467f3d815ffbb9"], ["created_at", "2016-04-19 16:42:27.444359"], ["first_name", "Billy24"], ["last_name", "Bob_25"], ["openstax_uid", -474896714], ["updated_at", "2016-04-19 16:42:27.444359"], ["username", "billy_24"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2025737087 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e799198966482c2cb9c5028be0290c0e"], ["created_at", "2016-04-19 16:42:27.445835"], ["first_name", "Billy25"], ["last_name", "Bob_24"], ["openstax_uid", -2025737087], ["updated_at", "2016-04-19 16:42:27.445835"], ["username", "billy_25"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2145928658 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "061f475e2f9b807e827c2ce5dc8e79c9"], ["created_at", "2016-04-19 16:42:27.447282"], ["first_name", "Billy26"], ["last_name", "Bob_23"], ["openstax_uid", -2145928658], ["updated_at", "2016-04-19 16:42:27.447282"], ["username", "billy_26"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1633558985 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0a7a46b3f2e38b7f4ee0b79a340d8a2f"], ["created_at", "2016-04-19 16:42:27.448727"], ["first_name", "Billy27"], ["last_name", "Bob_22"], ["openstax_uid", -1633558985], ["updated_at", "2016-04-19 16:42:27.448727"], ["username", "billy_27"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1728494056 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bef1fd1f9d9ef8c4aa15e31bd5eb817c"], ["created_at", "2016-04-19 16:42:27.450307"], ["first_name", "Billy28"], ["last_name", "Bob_21"], ["openstax_uid", -1728494056], ["updated_at", "2016-04-19 16:42:27.450307"], ["username", "billy_28"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1707724075 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8da2cd8d6d5b523adac7edce7a2ce2e2"], ["created_at", "2016-04-19 16:42:27.451840"], ["first_name", "Billy29"], ["last_name", "Bob_20"], ["openstax_uid", -1707724075], ["updated_at", "2016-04-19 16:42:27.451840"], ["username", "billy_29"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1443957595 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d5a835609e53e9be2d61245de26ca7bd"], ["created_at", "2016-04-19 16:42:27.453359"], ["first_name", "Billy30"], ["last_name", "Bob_19"], ["openstax_uid", -1443957595], ["updated_at", "2016-04-19 16:42:27.453359"], ["username", "billy_30"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -49202049 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1d3db09dd784cc1cc5fa2289123f1e0c"], ["created_at", "2016-04-19 16:42:27.454849"], ["first_name", "Billy31"], ["last_name", "Bob_18"], ["openstax_uid", -49202049], ["updated_at", "2016-04-19 16:42:27.454849"], ["username", "billy_31"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -372396845 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "731d5e3dd7b91d93079991d831161cf0"], ["created_at", "2016-04-19 16:42:27.456330"], ["first_name", "Billy32"], ["last_name", "Bob_17"], ["openstax_uid", -372396845], ["updated_at", "2016-04-19 16:42:27.456330"], ["username", "billy_32"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -909435258 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9a34a068aaee27879cd1a20d19fe17d4"], ["created_at", "2016-04-19 16:42:27.457803"], ["first_name", "Billy33"], ["last_name", "Bob_16"], ["openstax_uid", -909435258], ["updated_at", "2016-04-19 16:42:27.457803"], ["username", "billy_33"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1747277539 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "563367fb0ee92f9e870dd1e25d5ac8fe"], ["created_at", "2016-04-19 16:42:27.459311"], ["first_name", "Billy34"], ["last_name", "Bob_15"], ["openstax_uid", -1747277539], ["updated_at", "2016-04-19 16:42:27.459311"], ["username", "billy_34"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -372120154 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "88f3213a55d5532a42c7315aab1ce16d"], ["created_at", "2016-04-19 16:42:27.460767"], ["first_name", "Billy35"], ["last_name", "Bob_14"], ["openstax_uid", -372120154], ["updated_at", "2016-04-19 16:42:27.460767"], ["username", "billy_35"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -302853444 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d509e8ee171d30951c1c6333f0a88b75"], ["created_at", "2016-04-19 16:42:27.462234"], ["first_name", "Billy36"], ["last_name", "Bob_13"], ["openstax_uid", -302853444], ["updated_at", "2016-04-19 16:42:27.462234"], ["username", "billy_36"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -765047710 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "55b20b133276ddadffc7bba240ad189b"], ["created_at", "2016-04-19 16:42:27.463680"], ["first_name", "Billy37"], ["last_name", "Bob_12"], ["openstax_uid", -765047710], ["updated_at", "2016-04-19 16:42:27.463680"], ["username", "billy_37"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -610571874 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "faf911cdb1940228aa022fe79adda98d"], ["created_at", "2016-04-19 16:42:27.465193"], ["first_name", "Billy38"], ["last_name", "Bob_11"], ["openstax_uid", -610571874], ["updated_at", "2016-04-19 16:42:27.465193"], ["username", "billy_38"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -753909383 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "6b820039a0aaca84b9a354b3e4a823e3"], ["created_at", "2016-04-19 16:42:27.466719"], ["first_name", "Billy39"], ["last_name", "Bob_10"], ["openstax_uid", -753909383], ["updated_at", "2016-04-19 16:42:27.466719"], ["username", "billy_39"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1962190602 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "587ac3215e4d85ca2ea1773ef0e6538a"], ["created_at", "2016-04-19 16:42:27.468217"], ["first_name", "Billy40"], ["last_name", "Bob_09"], ["openstax_uid", -1962190602], ["updated_at", "2016-04-19 16:42:27.468217"], ["username", "billy_40"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -488073689 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d7dbc73b7d2c6d66df42861a4cea2f85"], ["created_at", "2016-04-19 16:42:27.469648"], ["first_name", "Billy41"], ["last_name", "Bob_08"], ["openstax_uid", -488073689], ["updated_at", "2016-04-19 16:42:27.469648"], ["username", "billy_41"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -955952738 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "83927d46d39a40affea16925a69d728b"], ["created_at", "2016-04-19 16:42:27.471126"], ["first_name", "Billy42"], ["last_name", "Bob_07"], ["openstax_uid", -955952738], ["updated_at", "2016-04-19 16:42:27.471126"], ["username", "billy_42"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -373623667 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "87285fb91f8a34645391b34e19216014"], ["created_at", "2016-04-19 16:42:27.472641"], ["first_name", "Billy43"], ["last_name", "Bob_06"], ["openstax_uid", -373623667], ["updated_at", "2016-04-19 16:42:27.472641"], ["username", "billy_43"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2012064254 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "85ce71939910405176dafeacacd40f97"], ["created_at", "2016-04-19 16:42:27.474091"], ["first_name", "Billy44"], ["last_name", "Bob_05"], ["openstax_uid", -2012064254], ["updated_at", "2016-04-19 16:42:27.474091"], ["username", "billy_44"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1551776896 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "21f8dc18b46b8248766dc6e761739997"], ["created_at", "2016-04-19 16:42:27.475593"], ["first_name", "Billy45"], ["last_name", "Bob_04"], ["openstax_uid", -1551776896], ["updated_at", "2016-04-19 16:42:27.475593"], ["username", "billy_45"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1496012093 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "fa63f2946a024fb7cc5ed7eff9b3e27a"], ["created_at", "2016-04-19 16:42:27.477048"], ["first_name", "Billy46"], ["last_name", "Bob_03"], ["openstax_uid", -1496012093], ["updated_at", "2016-04-19 16:42:27.477048"], ["username", "billy_46"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1258993168 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "11f7814a89c4d99add3241f4d8e0a4f9"], ["created_at", "2016-04-19 16:42:27.478520"], ["first_name", "Billy47"], ["last_name", "Bob_02"], ["openstax_uid", -1258993168], ["updated_at", "2016-04-19 16:42:27.478520"], ["username", "billy_47"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1922882201 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "89940d88256c2dbdae5af43c7a9046bc"], ["created_at", "2016-04-19 16:42:27.480037"], ["first_name", "Billy48"], ["last_name", "Bob_01"], ["openstax_uid", -1922882201], ["updated_at", "2016-04-19 16:42:27.480037"], ["username", "billy_48"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2111743751 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9952d2b846824cc2471aae94490cfcab"], ["created_at", "2016-04-19 16:42:27.481535"], ["first_name", "Billy49"], ["last_name", "Bob_00"], ["openstax_uid", -2111743751], ["updated_at", "2016-04-19 16:42:27.481535"], ["username", "billy_49"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (2.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1907587782 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "73b3dea4cb4ee7153a3f6442cba1c3d6"], ["created_at", "2016-04-19 16:42:27.488113"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1907587782], ["updated_at", "2016-04-19 16:42:27.488113"], ["username", "jstrav"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -984781553 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c7feae3120531414593fec1c57cd4fd6"], ["created_at", "2016-04-19 16:42:27.489914"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -984781553], ["updated_at", "2016-04-19 16:42:27.489914"], ["username", "mary"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -367906063 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "19bc8c4714db21d95dbd66b201b98a8f"], ["created_at", "2016-04-19 16:42:27.491836"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -367906063], ["updated_at", "2016-04-19 16:42:27.491836"], ["username", "jstead"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1361637892 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0fc1acc1f4f4295e05ab544adb930a0b"], ["created_at", "2016-04-19 16:42:27.493340"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1361637892], ["updated_at", "2016-04-19 16:42:27.493340"], ["username", "bigbear"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1103914094 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f8d0fa4e4546279494a81181602dd004"], ["created_at", "2016-04-19 16:42:27.495155"], ["first_name", "Billy00"], ["last_name", "Bob_49"], ["openstax_uid", -1103914094], ["updated_at", "2016-04-19 16:42:27.495155"], ["username", "billy_00"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1784563097 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c7bf0e4325330144f369722faf602994"], ["created_at", "2016-04-19 16:42:27.496870"], ["first_name", "Billy01"], ["last_name", "Bob_48"], ["openstax_uid", -1784563097], ["updated_at", "2016-04-19 16:42:27.496870"], ["username", "billy_01"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -500922092 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cd1693138c098aae54abffa1c2a9f0d3"], ["created_at", "2016-04-19 16:42:27.498547"], ["first_name", "Billy02"], ["last_name", "Bob_47"], ["openstax_uid", -500922092], ["updated_at", "2016-04-19 16:42:27.498547"], ["username", "billy_02"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1896532136 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "408c7a759e61dde53a0b7ec47f554c01"], ["created_at", "2016-04-19 16:42:27.500112"], ["first_name", "Billy03"], ["last_name", "Bob_46"], ["openstax_uid", -1896532136], ["updated_at", "2016-04-19 16:42:27.500112"], ["username", "billy_03"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1868228977 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7ce6c82b3fe4a771c4736f981141707e"], ["created_at", "2016-04-19 16:42:27.501688"], ["first_name", "Billy04"], ["last_name", "Bob_45"], ["openstax_uid", -1868228977], ["updated_at", "2016-04-19 16:42:27.501688"], ["username", "billy_04"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1709334855 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a76a8c063822d05b33e0efcc11eb7c19"], ["created_at", "2016-04-19 16:42:27.503167"], ["first_name", "Billy05"], ["last_name", "Bob_44"], ["openstax_uid", -1709334855], ["updated_at", "2016-04-19 16:42:27.503167"], ["username", "billy_05"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1325833122 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0524b354514d9972c2d02b84639b01ba"], ["created_at", "2016-04-19 16:42:27.504674"], ["first_name", "Billy06"], ["last_name", "Bob_43"], ["openstax_uid", -1325833122], ["updated_at", "2016-04-19 16:42:27.504674"], ["username", "billy_06"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1720709350 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "898dd9bc658cc55de5b73225f969647a"], ["created_at", "2016-04-19 16:42:27.506139"], ["first_name", "Billy07"], ["last_name", "Bob_42"], ["openstax_uid", -1720709350], ["updated_at", "2016-04-19 16:42:27.506139"], ["username", "billy_07"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -681438207 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "030298d7ff94bffe540ae0663d21e5dc"], ["created_at", "2016-04-19 16:42:27.507638"], ["first_name", "Billy08"], ["last_name", "Bob_41"], ["openstax_uid", -681438207], ["updated_at", "2016-04-19 16:42:27.507638"], ["username", "billy_08"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -483171688 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "78b6e4ea220fb98e62735ca84eeb57a3"], ["created_at", "2016-04-19 16:42:27.509163"], ["first_name", "Billy09"], ["last_name", "Bob_40"], ["openstax_uid", -483171688], ["updated_at", "2016-04-19 16:42:27.509163"], ["username", "billy_09"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1109030543 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3d1895b7fa91d389136589dd770f8a6a"], ["created_at", "2016-04-19 16:42:27.510691"], ["first_name", "Billy10"], ["last_name", "Bob_39"], ["openstax_uid", -1109030543], ["updated_at", "2016-04-19 16:42:27.510691"], ["username", "billy_10"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1320669799 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "152ebbe551098de6d30a22d323b22afc"], ["created_at", "2016-04-19 16:42:27.512165"], ["first_name", "Billy11"], ["last_name", "Bob_38"], ["openstax_uid", -1320669799], ["updated_at", "2016-04-19 16:42:27.512165"], ["username", "billy_11"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1088769798 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b38afb3d40890598935ee49a8b91fe07"], ["created_at", "2016-04-19 16:42:27.513621"], ["first_name", "Billy12"], ["last_name", "Bob_37"], ["openstax_uid", -1088769798], ["updated_at", "2016-04-19 16:42:27.513621"], ["username", "billy_12"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1507440815 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9991a1d9992ad49563b197bfcd4340ce"], ["created_at", "2016-04-19 16:42:27.515249"], ["first_name", "Billy13"], ["last_name", "Bob_36"], ["openstax_uid", -1507440815], ["updated_at", "2016-04-19 16:42:27.515249"], ["username", "billy_13"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1014337721 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4f2402c57e7d07ce7d2a292424bf60c7"], ["created_at", "2016-04-19 16:42:27.516694"], ["first_name", "Billy14"], ["last_name", "Bob_35"], ["openstax_uid", -1014337721], ["updated_at", "2016-04-19 16:42:27.516694"], ["username", "billy_14"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1546789643 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3b2167821e3547733ba38d417a61a576"], ["created_at", "2016-04-19 16:42:27.518212"], ["first_name", "Billy15"], ["last_name", "Bob_34"], ["openstax_uid", -1546789643], ["updated_at", "2016-04-19 16:42:27.518212"], ["username", "billy_15"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -99139170 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "47247791d8c46da8e4bb0337303b6cf7"], ["created_at", "2016-04-19 16:42:27.519631"], ["first_name", "Billy16"], ["last_name", "Bob_33"], ["openstax_uid", -99139170], ["updated_at", "2016-04-19 16:42:27.519631"], ["username", "billy_16"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1046472472 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "da35907b9a07496f6985dd9158c9ddff"], ["created_at", "2016-04-19 16:42:27.521078"], ["first_name", "Billy17"], ["last_name", "Bob_32"], ["openstax_uid", -1046472472], ["updated_at", "2016-04-19 16:42:27.521078"], ["username", "billy_17"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1943232763 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e8bb22873ef6e1755d36169cdd5827bf"], ["created_at", "2016-04-19 16:42:27.522746"], ["first_name", "Billy18"], ["last_name", "Bob_31"], ["openstax_uid", -1943232763], ["updated_at", "2016-04-19 16:42:27.522746"], ["username", "billy_18"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1580779346 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "aac0987211cd2c41e1195d2e15e9b854"], ["created_at", "2016-04-19 16:42:27.524309"], ["first_name", "Billy19"], ["last_name", "Bob_30"], ["openstax_uid", -1580779346], ["updated_at", "2016-04-19 16:42:27.524309"], ["username", "billy_19"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1436572989 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "ccc71d408ff60a76aae882e9677e4fb4"], ["created_at", "2016-04-19 16:42:27.525849"], ["first_name", "Billy20"], ["last_name", "Bob_29"], ["openstax_uid", -1436572989], ["updated_at", "2016-04-19 16:42:27.525849"], ["username", "billy_20"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -211516818 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "43bcd655e6d429f9e4b4d08801c0e427"], ["created_at", "2016-04-19 16:42:27.527395"], ["first_name", "Billy21"], ["last_name", "Bob_28"], ["openstax_uid", -211516818], ["updated_at", "2016-04-19 16:42:27.527395"], ["username", "billy_21"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -102331670 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "09a43daaed844790931e171210806163"], ["created_at", "2016-04-19 16:42:27.528983"], ["first_name", "Billy22"], ["last_name", "Bob_27"], ["openstax_uid", -102331670], ["updated_at", "2016-04-19 16:42:27.528983"], ["username", "billy_22"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1663154901 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c6f23205831cfa34c2dbf7c68db3d2fb"], ["created_at", "2016-04-19 16:42:27.530607"], ["first_name", "Billy23"], ["last_name", "Bob_26"], ["openstax_uid", -1663154901], ["updated_at", "2016-04-19 16:42:27.530607"], ["username", "billy_23"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -937906512 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "2a4838e5b0a589dc6d3855468ba8a323"], ["created_at", "2016-04-19 16:42:27.532077"], ["first_name", "Billy24"], ["last_name", "Bob_25"], ["openstax_uid", -937906512], ["updated_at", "2016-04-19 16:42:27.532077"], ["username", "billy_24"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1896381457 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cdd52666407bd1bb56cc8524e42fda1e"], ["created_at", "2016-04-19 16:42:27.533573"], ["first_name", "Billy25"], ["last_name", "Bob_24"], ["openstax_uid", -1896381457], ["updated_at", "2016-04-19 16:42:27.533573"], ["username", "billy_25"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1378179855 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "da3e5716877eb73e3c06e7543c93d504"], ["created_at", "2016-04-19 16:42:27.535160"], ["first_name", "Billy26"], ["last_name", "Bob_23"], ["openstax_uid", -1378179855], ["updated_at", "2016-04-19 16:42:27.535160"], ["username", "billy_26"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -439024362 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1f744d036cdaae755b6761783881c736"], ["created_at", "2016-04-19 16:42:27.536760"], ["first_name", "Billy27"], ["last_name", "Bob_22"], ["openstax_uid", -439024362], ["updated_at", "2016-04-19 16:42:27.536760"], ["username", "billy_27"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1380421588 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "30bcd7fedc00a489f3a86e14dd1d7eaf"], ["created_at", "2016-04-19 16:42:27.538294"], ["first_name", "Billy28"], ["last_name", "Bob_21"], ["openstax_uid", -1380421588], ["updated_at", "2016-04-19 16:42:27.538294"], ["username", "billy_28"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1926236757 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "60690522f7613d4c5ee05d56ab9ddbe3"], ["created_at", "2016-04-19 16:42:27.539761"], ["first_name", "Billy29"], ["last_name", "Bob_20"], ["openstax_uid", -1926236757], ["updated_at", "2016-04-19 16:42:27.539761"], ["username", "billy_29"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -320231282 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "aa1a1ce614bf9733c4b08ee2a4f9bb76"], ["created_at", "2016-04-19 16:42:27.541312"], ["first_name", "Billy30"], ["last_name", "Bob_19"], ["openstax_uid", -320231282], ["updated_at", "2016-04-19 16:42:27.541312"], ["username", "billy_30"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -225597388 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7c9e6cabf72ec6a6fbe82ed10c3731d3"], ["created_at", "2016-04-19 16:42:27.542782"], ["first_name", "Billy31"], ["last_name", "Bob_18"], ["openstax_uid", -225597388], ["updated_at", "2016-04-19 16:42:27.542782"], ["username", "billy_31"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2039216312 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e6cea8f36edc832b45ca8f3d76a65ba2"], ["created_at", "2016-04-19 16:42:27.544308"], ["first_name", "Billy32"], ["last_name", "Bob_17"], ["openstax_uid", -2039216312], ["updated_at", "2016-04-19 16:42:27.544308"], ["username", "billy_32"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2049909549 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cd4c583fd047b9631b6f9fc2b524ef66"], ["created_at", "2016-04-19 16:42:27.546025"], ["first_name", "Billy33"], ["last_name", "Bob_16"], ["openstax_uid", -2049909549], ["updated_at", "2016-04-19 16:42:27.546025"], ["username", "billy_33"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1397606831 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0d02a10383b9907451afbecd7ac3c6f2"], ["created_at", "2016-04-19 16:42:27.547641"], ["first_name", "Billy34"], ["last_name", "Bob_15"], ["openstax_uid", -1397606831], ["updated_at", "2016-04-19 16:42:27.547641"], ["username", "billy_34"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1635780795 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0e3475cc180911108830ff6012fc1db9"], ["created_at", "2016-04-19 16:42:27.549214"], ["first_name", "Billy35"], ["last_name", "Bob_14"], ["openstax_uid", -1635780795], ["updated_at", "2016-04-19 16:42:27.549214"], ["username", "billy_35"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -239135928 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c633020d3bdc7b1f1a807d23f06fa6ec"], ["created_at", "2016-04-19 16:42:27.550835"], ["first_name", "Billy36"], ["last_name", "Bob_13"], ["openstax_uid", -239135928], ["updated_at", "2016-04-19 16:42:27.550835"], ["username", "billy_36"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1800262807 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "87c75edc5c1bbb207ec7a1df49dff2a9"], ["created_at", "2016-04-19 16:42:27.552379"], ["first_name", "Billy37"], ["last_name", "Bob_12"], ["openstax_uid", -1800262807], ["updated_at", "2016-04-19 16:42:27.552379"], ["username", "billy_37"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1150349048 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "93e14f4acfec06cdf4522b78d6b4d6f2"], ["created_at", "2016-04-19 16:42:27.553927"], ["first_name", "Billy38"], ["last_name", "Bob_11"], ["openstax_uid", -1150349048], ["updated_at", "2016-04-19 16:42:27.553927"], ["username", "billy_38"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -741922790 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e34078d0bef854b191f13a8831349fa4"], ["created_at", "2016-04-19 16:42:27.555453"], ["first_name", "Billy39"], ["last_name", "Bob_10"], ["openstax_uid", -741922790], ["updated_at", "2016-04-19 16:42:27.555453"], ["username", "billy_39"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -652275428 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d2153a11c775864a6e26fcd78065cb4b"], ["created_at", "2016-04-19 16:42:27.556933"], ["first_name", "Billy40"], ["last_name", "Bob_09"], ["openstax_uid", -652275428], ["updated_at", "2016-04-19 16:42:27.556933"], ["username", "billy_40"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1719171328 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "6c916f69756f849ba0fcc49d1145d671"], ["created_at", "2016-04-19 16:42:27.558433"], ["first_name", "Billy41"], ["last_name", "Bob_08"], ["openstax_uid", -1719171328], ["updated_at", "2016-04-19 16:42:27.558433"], ["username", "billy_41"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -884843351 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8adec11d75293c6f45f3a264c9fcba41"], ["created_at", "2016-04-19 16:42:27.559915"], ["first_name", "Billy42"], ["last_name", "Bob_07"], ["openstax_uid", -884843351], ["updated_at", "2016-04-19 16:42:27.559915"], ["username", "billy_42"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1972101241 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "036c6cc37d95ab5e5cdedb485e0cbc09"], ["created_at", "2016-04-19 16:42:27.561390"], ["first_name", "Billy43"], ["last_name", "Bob_06"], ["openstax_uid", -1972101241], ["updated_at", "2016-04-19 16:42:27.561390"], ["username", "billy_43"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1904592791 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "83ce00d830af6eada22e1ae520fffbf2"], ["created_at", "2016-04-19 16:42:27.562872"], ["first_name", "Billy44"], ["last_name", "Bob_05"], ["openstax_uid", -1904592791], ["updated_at", "2016-04-19 16:42:27.562872"], ["username", "billy_44"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -902031292 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b33ccd8d74a83d3996142c140582dc7d"], ["created_at", "2016-04-19 16:42:27.564337"], ["first_name", "Billy45"], ["last_name", "Bob_04"], ["openstax_uid", -902031292], ["updated_at", "2016-04-19 16:42:27.564337"], ["username", "billy_45"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1657846871 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "343eea97b94997eb0e74cd83dbe0278f"], ["created_at", "2016-04-19 16:42:27.565818"], ["first_name", "Billy46"], ["last_name", "Bob_03"], ["openstax_uid", -1657846871], ["updated_at", "2016-04-19 16:42:27.565818"], ["username", "billy_46"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -283411848 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "af9be9175cfb37520cbbc5f648ca65e6"], ["created_at", "2016-04-19 16:42:27.567304"], ["first_name", "Billy47"], ["last_name", "Bob_02"], ["openstax_uid", -283411848], ["updated_at", "2016-04-19 16:42:27.567304"], ["username", "billy_47"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -288620422 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "349ac40986e81a1cb4fe9b1b44be655c"], ["created_at", "2016-04-19 16:42:27.568776"], ["first_name", "Billy48"], ["last_name", "Bob_01"], ["openstax_uid", -288620422], ["updated_at", "2016-04-19 16:42:27.568776"], ["username", "billy_48"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -737844125 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b22c99906c5be6ad54344ff963c8f2b3"], ["created_at", "2016-04-19 16:42:27.570293"], ["first_name", "Billy49"], ["last_name", "Bob_00"], ["openstax_uid", -737844125], ["updated_at", "2016-04-19 16:42:27.570293"], ["username", "billy_49"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'billy%') OR ("openstax_accounts_accounts"."first_name" LIKE 'billy%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'billy%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'billy%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0)))
+ [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1971302531 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "6a4bd5645b711b933ac898564484ef85"], ["created_at", "2016-04-19 16:42:27.577965"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1971302531], ["updated_at", "2016-04-19 16:42:27.577965"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1262667304 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "8e8d551ae31bfd10afd19826d22f25bb"], ["created_at", "2016-04-19 16:42:27.579877"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1262667304], ["updated_at", "2016-04-19 16:42:27.579877"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -424212496 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7a4a50a90831fc90c4215b26d6a757fb"], ["created_at", "2016-04-19 16:42:27.581791"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -424212496], ["updated_at", "2016-04-19 16:42:27.581791"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1217985843 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "07278cdae682e21ddbdb61955dce5bc4"], ["created_at", "2016-04-19 16:42:27.583351"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1217985843], ["updated_at", "2016-04-19 16:42:27.583351"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -104796630 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "db7dfc48f490858fc373d4f386e183e9"], ["created_at", "2016-04-19 16:42:27.584916"], ["first_name", "Billy00"], ["last_name", "Bob_49"], ["openstax_uid", -104796630], ["updated_at", "2016-04-19 16:42:27.584916"], ["username", "billy_00"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2044246535 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c81b7d6845c2eca9a822482927324cad"], ["created_at", "2016-04-19 16:42:27.586623"], ["first_name", "Billy01"], ["last_name", "Bob_48"], ["openstax_uid", -2044246535], ["updated_at", "2016-04-19 16:42:27.586623"], ["username", "billy_01"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -519638039 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ab000436c2ff5da4dd18229e896300d1"], ["created_at", "2016-04-19 16:42:27.588180"], ["first_name", "Billy02"], ["last_name", "Bob_47"], ["openstax_uid", -519638039], ["updated_at", "2016-04-19 16:42:27.588180"], ["username", "billy_02"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -42058834 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "53fdab7f6a0b32037e49d10840a8cc8a"], ["created_at", "2016-04-19 16:42:27.589791"], ["first_name", "Billy03"], ["last_name", "Bob_46"], ["openstax_uid", -42058834], ["updated_at", "2016-04-19 16:42:27.589791"], ["username", "billy_03"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1978670217 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1f598db2961cee3a7d1b3183198052dc"], ["created_at", "2016-04-19 16:42:27.591367"], ["first_name", "Billy04"], ["last_name", "Bob_45"], ["openstax_uid", -1978670217], ["updated_at", "2016-04-19 16:42:27.591367"], ["username", "billy_04"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1129995306 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "bb32ee1d431577aa8e755c74b8bb7ae9"], ["created_at", "2016-04-19 16:42:27.597455"], ["first_name", "Billy05"], ["last_name", "Bob_44"], ["openstax_uid", -1129995306], ["updated_at", "2016-04-19 16:42:27.597455"], ["username", "billy_05"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1210070509 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "005aa62c38eb953d8a0645038c53058b"], ["created_at", "2016-04-19 16:42:27.598996"], ["first_name", "Billy06"], ["last_name", "Bob_43"], ["openstax_uid", -1210070509], ["updated_at", "2016-04-19 16:42:27.598996"], ["username", "billy_06"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1566577290 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "db421c01540f1e71bb05b4106fa20631"], ["created_at", "2016-04-19 16:42:27.600481"], ["first_name", "Billy07"], ["last_name", "Bob_42"], ["openstax_uid", -1566577290], ["updated_at", "2016-04-19 16:42:27.600481"], ["username", "billy_07"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -831402300 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "403f6dea16d145d6a2912e4225eefacd"], ["created_at", "2016-04-19 16:42:27.601956"], ["first_name", "Billy08"], ["last_name", "Bob_41"], ["openstax_uid", -831402300], ["updated_at", "2016-04-19 16:42:27.601956"], ["username", "billy_08"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1162913819 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7312cc327b3dfb6571958075fcc7a9b3"], ["created_at", "2016-04-19 16:42:27.603504"], ["first_name", "Billy09"], ["last_name", "Bob_40"], ["openstax_uid", -1162913819], ["updated_at", "2016-04-19 16:42:27.603504"], ["username", "billy_09"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1134491707 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "86bcc5feeacc4ab6e07e908f29f449fe"], ["created_at", "2016-04-19 16:42:27.605033"], ["first_name", "Billy10"], ["last_name", "Bob_39"], ["openstax_uid", -1134491707], ["updated_at", "2016-04-19 16:42:27.605033"], ["username", "billy_10"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1430763569 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3d59a1afd983c225fdc762a4f00643f1"], ["created_at", "2016-04-19 16:42:27.606553"], ["first_name", "Billy11"], ["last_name", "Bob_38"], ["openstax_uid", -1430763569], ["updated_at", "2016-04-19 16:42:27.606553"], ["username", "billy_11"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1661950754 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f77d6319ebe8ded6be5b521c62283274"], ["created_at", "2016-04-19 16:42:27.608046"], ["first_name", "Billy12"], ["last_name", "Bob_37"], ["openstax_uid", -1661950754], ["updated_at", "2016-04-19 16:42:27.608046"], ["username", "billy_12"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1728923511 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b31eefbe4c862a7964ff640e877edbf4"], ["created_at", "2016-04-19 16:42:27.609478"], ["first_name", "Billy13"], ["last_name", "Bob_36"], ["openstax_uid", -1728923511], ["updated_at", "2016-04-19 16:42:27.609478"], ["username", "billy_13"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1337508026 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ed7eba0bbd659394ab88d19084be2f75"], ["created_at", "2016-04-19 16:42:27.610930"], ["first_name", "Billy14"], ["last_name", "Bob_35"], ["openstax_uid", -1337508026], ["updated_at", "2016-04-19 16:42:27.610930"], ["username", "billy_14"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1192429921 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "03669ef2481764c341b1e88b22ec7db3"], ["created_at", "2016-04-19 16:42:27.612513"], ["first_name", "Billy15"], ["last_name", "Bob_34"], ["openstax_uid", -1192429921], ["updated_at", "2016-04-19 16:42:27.612513"], ["username", "billy_15"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1389023604 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "bb69f2d0891f4a85051bbb7c88de4e98"], ["created_at", "2016-04-19 16:42:27.614081"], ["first_name", "Billy16"], ["last_name", "Bob_33"], ["openstax_uid", -1389023604], ["updated_at", "2016-04-19 16:42:27.614081"], ["username", "billy_16"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -49380488 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1f2d8b3dbc21b83808e245db90317ba7"], ["created_at", "2016-04-19 16:42:27.615638"], ["first_name", "Billy17"], ["last_name", "Bob_32"], ["openstax_uid", -49380488], ["updated_at", "2016-04-19 16:42:27.615638"], ["username", "billy_17"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -783795234 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "53dc7cd6d1640f478f66eca9dd8a0db7"], ["created_at", "2016-04-19 16:42:27.617114"], ["first_name", "Billy18"], ["last_name", "Bob_31"], ["openstax_uid", -783795234], ["updated_at", "2016-04-19 16:42:27.617114"], ["username", "billy_18"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -613251543 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f2af8e45df1c2854583bc328135a3bd3"], ["created_at", "2016-04-19 16:42:27.618627"], ["first_name", "Billy19"], ["last_name", "Bob_30"], ["openstax_uid", -613251543], ["updated_at", "2016-04-19 16:42:27.618627"], ["username", "billy_19"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1453773914 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7ebca509a70f7cf49f857631e874fe7a"], ["created_at", "2016-04-19 16:42:27.620232"], ["first_name", "Billy20"], ["last_name", "Bob_29"], ["openstax_uid", -1453773914], ["updated_at", "2016-04-19 16:42:27.620232"], ["username", "billy_20"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1340171387 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ace2eeb83e0b5d06f7249bd760752243"], ["created_at", "2016-04-19 16:42:27.621781"], ["first_name", "Billy21"], ["last_name", "Bob_28"], ["openstax_uid", -1340171387], ["updated_at", "2016-04-19 16:42:27.621781"], ["username", "billy_21"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -526540041 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "98c5c060eab7466dbef0b68e08e5ed23"], ["created_at", "2016-04-19 16:42:27.623329"], ["first_name", "Billy22"], ["last_name", "Bob_27"], ["openstax_uid", -526540041], ["updated_at", "2016-04-19 16:42:27.623329"], ["username", "billy_22"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1840220887 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "240fc147b8742a87df8a5269831bde63"], ["created_at", "2016-04-19 16:42:27.624870"], ["first_name", "Billy23"], ["last_name", "Bob_26"], ["openstax_uid", -1840220887], ["updated_at", "2016-04-19 16:42:27.624870"], ["username", "billy_23"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2126908459 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "eacdca6de3893aa9766c17d425723639"], ["created_at", "2016-04-19 16:42:27.626508"], ["first_name", "Billy24"], ["last_name", "Bob_25"], ["openstax_uid", -2126908459], ["updated_at", "2016-04-19 16:42:27.626508"], ["username", "billy_24"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1788853809 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "6ddf51d62e14b46900f167bb07a84605"], ["created_at", "2016-04-19 16:42:27.628083"], ["first_name", "Billy25"], ["last_name", "Bob_24"], ["openstax_uid", -1788853809], ["updated_at", "2016-04-19 16:42:27.628083"], ["username", "billy_25"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1815059518 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "bda4582dd0ffbdca010804512ec0ae12"], ["created_at", "2016-04-19 16:42:27.629626"], ["first_name", "Billy26"], ["last_name", "Bob_23"], ["openstax_uid", -1815059518], ["updated_at", "2016-04-19 16:42:27.629626"], ["username", "billy_26"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -509343150 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "24d229ba314fe50c4d4e04233963b33e"], ["created_at", "2016-04-19 16:42:27.631145"], ["first_name", "Billy27"], ["last_name", "Bob_22"], ["openstax_uid", -509343150], ["updated_at", "2016-04-19 16:42:27.631145"], ["username", "billy_27"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -864130688 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "25641a1c165b194376d5997f08b297ac"], ["created_at", "2016-04-19 16:42:27.632682"], ["first_name", "Billy28"], ["last_name", "Bob_21"], ["openstax_uid", -864130688], ["updated_at", "2016-04-19 16:42:27.632682"], ["username", "billy_28"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -308039319 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b347e642ff924285bea8183abc6563e4"], ["created_at", "2016-04-19 16:42:27.634168"], ["first_name", "Billy29"], ["last_name", "Bob_20"], ["openstax_uid", -308039319], ["updated_at", "2016-04-19 16:42:27.634168"], ["username", "billy_29"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -974868134 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "53e777665f20a656a047af5338dcdc5d"], ["created_at", "2016-04-19 16:42:27.635688"], ["first_name", "Billy30"], ["last_name", "Bob_19"], ["openstax_uid", -974868134], ["updated_at", "2016-04-19 16:42:27.635688"], ["username", "billy_30"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1800475854 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5ecabd7a221b28159dc62126e7db057b"], ["created_at", "2016-04-19 16:42:27.637220"], ["first_name", "Billy31"], ["last_name", "Bob_18"], ["openstax_uid", -1800475854], ["updated_at", "2016-04-19 16:42:27.637220"], ["username", "billy_31"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1910623945 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f9c61be66b5b956f720952cc483a425f"], ["created_at", "2016-04-19 16:42:27.638797"], ["first_name", "Billy32"], ["last_name", "Bob_17"], ["openstax_uid", -1910623945], ["updated_at", "2016-04-19 16:42:27.638797"], ["username", "billy_32"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1438273871 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1a09701d0a94210b10de56369494007d"], ["created_at", "2016-04-19 16:42:27.640402"], ["first_name", "Billy33"], ["last_name", "Bob_16"], ["openstax_uid", -1438273871], ["updated_at", "2016-04-19 16:42:27.640402"], ["username", "billy_33"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1005802392 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "511954c2dd2db6b5c8bcb129ad0b4030"], ["created_at", "2016-04-19 16:42:27.641948"], ["first_name", "Billy34"], ["last_name", "Bob_15"], ["openstax_uid", -1005802392], ["updated_at", "2016-04-19 16:42:27.641948"], ["username", "billy_34"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -821738056 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "6e5a8227dac4064497112394f8e16494"], ["created_at", "2016-04-19 16:42:27.643482"], ["first_name", "Billy35"], ["last_name", "Bob_14"], ["openstax_uid", -821738056], ["updated_at", "2016-04-19 16:42:27.643482"], ["username", "billy_35"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1655942302 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f27e0cd9b16ba4c57dbecef71b81b2f4"], ["created_at", "2016-04-19 16:42:27.645070"], ["first_name", "Billy36"], ["last_name", "Bob_13"], ["openstax_uid", -1655942302], ["updated_at", "2016-04-19 16:42:27.645070"], ["username", "billy_36"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2138658439 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9afe86c47a6f97e5714eec2a7bfbd9e3"], ["created_at", "2016-04-19 16:42:27.646557"], ["first_name", "Billy37"], ["last_name", "Bob_12"], ["openstax_uid", -2138658439], ["updated_at", "2016-04-19 16:42:27.646557"], ["username", "billy_37"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -255998231 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "63a53107972db4ac0e974029bcb47bb5"], ["created_at", "2016-04-19 16:42:27.648046"], ["first_name", "Billy38"], ["last_name", "Bob_11"], ["openstax_uid", -255998231], ["updated_at", "2016-04-19 16:42:27.648046"], ["username", "billy_38"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1225037417 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0dbaa81d1b949251f2e06b1bed25c420"], ["created_at", "2016-04-19 16:42:27.649531"], ["first_name", "Billy39"], ["last_name", "Bob_10"], ["openstax_uid", -1225037417], ["updated_at", "2016-04-19 16:42:27.649531"], ["username", "billy_39"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1121933649 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "18ef9cc294986f5694b8cd83ec91275f"], ["created_at", "2016-04-19 16:42:27.651075"], ["first_name", "Billy40"], ["last_name", "Bob_09"], ["openstax_uid", -1121933649], ["updated_at", "2016-04-19 16:42:27.651075"], ["username", "billy_40"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1976154642 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "45bff779e749cca205d7685494e9f0b5"], ["created_at", "2016-04-19 16:42:27.652578"], ["first_name", "Billy41"], ["last_name", "Bob_08"], ["openstax_uid", -1976154642], ["updated_at", "2016-04-19 16:42:27.652578"], ["username", "billy_41"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -671754111 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "51056e3d87949a072513914f6b3d91a5"], ["created_at", "2016-04-19 16:42:27.654123"], ["first_name", "Billy42"], ["last_name", "Bob_07"], ["openstax_uid", -671754111], ["updated_at", "2016-04-19 16:42:27.654123"], ["username", "billy_42"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -358332337 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5bee7946e01a3c2f4f8e566d9b52ff49"], ["created_at", "2016-04-19 16:42:27.655613"], ["first_name", "Billy43"], ["last_name", "Bob_06"], ["openstax_uid", -358332337], ["updated_at", "2016-04-19 16:42:27.655613"], ["username", "billy_43"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -434327960 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c7df493cec1f8592f16dbee84fdf46c4"], ["created_at", "2016-04-19 16:42:27.657120"], ["first_name", "Billy44"], ["last_name", "Bob_05"], ["openstax_uid", -434327960], ["updated_at", "2016-04-19 16:42:27.657120"], ["username", "billy_44"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1933150455 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "30c5357d66d5192f3841bfa141a4ee15"], ["created_at", "2016-04-19 16:42:27.658637"], ["first_name", "Billy45"], ["last_name", "Bob_04"], ["openstax_uid", -1933150455], ["updated_at", "2016-04-19 16:42:27.658637"], ["username", "billy_45"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -22500383 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5517c603dae370185156502944e708c6"], ["created_at", "2016-04-19 16:42:27.660124"], ["first_name", "Billy46"], ["last_name", "Bob_03"], ["openstax_uid", -22500383], ["updated_at", "2016-04-19 16:42:27.660124"], ["username", "billy_46"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -576081754 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c80787e79b1d687fb83eec280303a2b2"], ["created_at", "2016-04-19 16:42:27.661601"], ["first_name", "Billy47"], ["last_name", "Bob_02"], ["openstax_uid", -576081754], ["updated_at", "2016-04-19 16:42:27.661601"], ["username", "billy_47"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -913283042 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "641f9b883e737f46658b0879e271b62e"], ["created_at", "2016-04-19 16:42:27.663095"], ["first_name", "Billy48"], ["last_name", "Bob_01"], ["openstax_uid", -913283042], ["updated_at", "2016-04-19 16:42:27.663095"], ["username", "billy_48"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1041397534 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ee38c2ab91fe019f23d153f254a4d933"], ["created_at", "2016-04-19 16:42:27.664579"], ["first_name", "Billy49"], ["last_name", "Bob_00"], ["openstax_uid", -1041397534], ["updated_at", "2016-04-19 16:42:27.664579"], ["username", "billy_49"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%'))[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%')) ORDER BY "openstax_accounts_accounts"."username" ASC
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -866400057 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9ac7406a662b2cf4416882510ac31132"], ["created_at", "2016-04-19 16:42:27.673269"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -866400057], ["updated_at", "2016-04-19 16:42:27.673269"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -397897442 LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "9d12421a3d34160c9958cef60d6152e2"], ["created_at", "2016-04-19 16:42:27.675571"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -397897442], ["updated_at", "2016-04-19 16:42:27.675571"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -490472263 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "936edde973b517f2a9c911025d6d3c40"], ["created_at", "2016-04-19 16:42:27.677993"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -490472263], ["updated_at", "2016-04-19 16:42:27.677993"], ["username", "jstead"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1484796118 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b06d422f0038edee58e512b47e01e554"], ["created_at", "2016-04-19 16:42:27.680653"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1484796118], ["updated_at", "2016-04-19 16:42:27.680653"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'jst%') OR ("openstax_accounts_accounts"."first_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0))) AND (("openstax_accounts_accounts"."username" LIKE 'jst%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.2ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'jst%') OR ("openstax_accounts_accounts"."first_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0))) AND (("openstax_accounts_accounts"."username" LIKE 'jst%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.9ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -310582504 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0e29a98c8eb54f1ca25dc1aa5a24cc01"], ["created_at", "2016-04-19 16:42:27.687538"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -310582504], ["updated_at", "2016-04-19 16:42:27.687538"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -972451639 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "047e6a62f3142760327d334aa7cf5f29"], ["created_at", "2016-04-19 16:42:27.689516"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -972451639], ["updated_at", "2016-04-19 16:42:27.689516"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -789739545 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "91e9dbaa22bfd98aed479d8cac5486b0"], ["created_at", "2016-04-19 16:42:27.691438"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -789739545], ["updated_at", "2016-04-19 16:42:27.691438"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -127946483 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7007294c09323e9005036ccc0192bd46"], ["created_at", "2016-04-19 16:42:27.692919"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -127946483], ["updated_at", "2016-04-19 16:42:27.692919"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."full_name" LIKE 'Mary Mighty%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."full_name" LIKE 'Mary Mighty%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -628886833 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c02dac6b936eab77b6d9132b903d617e"], ["created_at", "2016-04-19 16:42:27.697652"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -628886833], ["updated_at", "2016-04-19 16:42:27.697652"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1011582931 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "555ef2d532cf0231d0f27e1e212debc5"], ["created_at", "2016-04-19 16:42:27.699490"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1011582931], ["updated_at", "2016-04-19 16:42:27.699490"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -213500279 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1ef22a8e51253d9606ff7c0667df5ca2"], ["created_at", "2016-04-19 16:42:27.701405"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -213500279], ["updated_at", "2016-04-19 16:42:27.701405"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -804977845 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d479f698e8b84de072db10d1455a232f"], ["created_at", "2016-04-19 16:42:27.702908"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -804977845], ["updated_at", "2016-04-19 16:42:27.702908"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'john%' OR "openstax_accounts_accounts"."username" LIKE 'mighty%') OR ("openstax_accounts_accounts"."first_name" LIKE 'john%' OR "openstax_accounts_accounts"."first_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'john%' OR "openstax_accounts_accounts"."last_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'john%' OR "openstax_accounts_accounts"."full_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0 OR "openstax_accounts_accounts"."openstax_uid" = 0)))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'john%' OR "openstax_accounts_accounts"."username" LIKE 'mighty%') OR ("openstax_accounts_accounts"."first_name" LIKE 'john%' OR "openstax_accounts_accounts"."first_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'john%' OR "openstax_accounts_accounts"."last_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'john%' OR "openstax_accounts_accounts"."full_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0 OR "openstax_accounts_accounts"."openstax_uid" = 0))) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1245012797 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "bba8a4c491fcc90127fff6afbc3fa2a8"], ["created_at", "2016-04-19 16:42:27.708616"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1245012797], ["updated_at", "2016-04-19 16:42:27.708616"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -558122845 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "5cf4267338af55ac39b13c9cdc4e52f0"], ["created_at", "2016-04-19 16:42:27.710470"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -558122845], ["updated_at", "2016-04-19 16:42:27.710470"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1611601989 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "14406914639a1ac01f270479e84c0067"], ["created_at", "2016-04-19 16:42:27.712314"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1611601989], ["updated_at", "2016-04-19 16:42:27.712314"], ["username", "jstead"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1436248641 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5c0cf50a155ab484ef927fc8fd7b05ea"], ["created_at", "2016-04-19 16:42:27.713849"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1436248641], ["updated_at", "2016-04-19 16:42:27.713849"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts"[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.9ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -396310888 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5839e422864fa84077926c8eb127c410"], ["created_at", "2016-04-19 16:42:27.718575"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -396310888], ["updated_at", "2016-04-19 16:42:27.718575"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1076422285 LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "16ea4506ccda7e4b42eac58151b0bac1"], ["created_at", "2016-04-19 16:42:27.720709"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1076422285], ["updated_at", "2016-04-19 16:42:27.720709"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -65571296 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e5daf42462a6c4a62618b8a4ab081848"], ["created_at", "2016-04-19 16:42:27.723316"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -65571296], ["updated_at", "2016-04-19 16:42:27.723316"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1656173884 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4a0d971ed41047581d8f2cdce2b69657"], ["created_at", "2016-04-19 16:42:27.725407"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1656173884], ["updated_at", "2016-04-19 16:42:27.725407"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'rav%'))[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'rav%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -120720912 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b0ac90be4469d10d3b1edc7fbaf0f63e"], ["created_at", "2016-04-19 16:42:27.731290"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -120720912], ["updated_at", "2016-04-19 16:42:27.731290"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1635826738 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "f6a081237c36dca1dfb13c775ddfc9c7"], ["created_at", "2016-04-19 16:42:27.733283"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1635826738], ["updated_at", "2016-04-19 16:42:27.733283"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1646903 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "91388ed2ee839521ea7352b21e27a5f2"], ["created_at", "2016-04-19 16:42:27.735143"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1646903], ["updated_at", "2016-04-19 16:42:27.735143"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1398545707 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "73327f9c22b24796f373021d692eec8b"], ["created_at", "2016-04-19 16:42:27.736680"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1398545707], ["updated_at", "2016-04-19 16:42:27.736680"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."first_name" LIKE 'John%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."first_name" LIKE 'John%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -646519697 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "989f6ef8bb4944f09a73123a072e63c5"], ["created_at", "2016-04-19 16:42:27.741524"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -646519697], ["updated_at", "2016-04-19 16:42:27.741524"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2135941532 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "9d541de6887210d088348fb4e3700de0"], ["created_at", "2016-04-19 16:42:27.743401"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -2135941532], ["updated_at", "2016-04-19 16:42:27.743401"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1520257298 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4daea676ceda73f1115586c2c5d64c02"], ["created_at", "2016-04-19 16:42:27.745395"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1520257298], ["updated_at", "2016-04-19 16:42:27.745395"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -698971333 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9eda21c379bff39c39e88ce04e036058"], ["created_at", "2016-04-19 16:42:27.746970"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -698971333], ["updated_at", "2016-04-19 16:42:27.746970"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'jst%') OR ("openstax_accounts_accounts"."first_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0)))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'jst%') OR ("openstax_accounts_accounts"."first_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0))) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -914484199 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e822148c9afc4a70b4ebb913003bfd81"], ["created_at", "2016-04-19 16:42:27.753318"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -914484199], ["updated_at", "2016-04-19 16:42:27.753318"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -290235109 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "021f562ab0a1d6108c06fbd14db57133"], ["created_at", "2016-04-19 16:42:27.755588"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -290235109], ["updated_at", "2016-04-19 16:42:27.755588"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1995422672 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f71e5fcd8a932b4aa9cd4477c48abb5e"], ["created_at", "2016-04-19 16:42:27.757622"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1995422672], ["updated_at", "2016-04-19 16:42:27.757622"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2063922720 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "287e446dff92fd25f0575f082239c874"], ["created_at", "2016-04-19 16:42:27.759220"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -2063922720], ["updated_at", "2016-04-19 16:42:27.759220"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'ar%'))[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'ar%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.9ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1480118776 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c154485215004a384b19d3e6e0e8ce3f"], ["created_at", "2016-04-19 16:42:27.764310"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1480118776], ["updated_at", "2016-04-19 16:42:27.764310"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1647741450 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "98a11e2f63018827a1ca402fe5284e02"], ["created_at", "2016-04-19 16:42:27.771195"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1647741450], ["updated_at", "2016-04-19 16:42:27.771195"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1680384468 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9e0c949caeed78412b1227338ebecb96"], ["created_at", "2016-04-19 16:42:27.773457"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1680384468], ["updated_at", "2016-04-19 16:42:27.773457"], ["username", "jstead"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -434434967 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "24f3b65bee4adcb566269d0358a4e0a1"], ["created_at", "2016-04-19 16:42:27.775924"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -434434967], ["updated_at", "2016-04-19 16:42:27.775924"], ["username", "bigbear"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'john%') OR ("openstax_accounts_accounts"."first_name" LIKE 'john%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'john%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'john%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0))) AND (((((("openstax_accounts_accounts"."username" LIKE 'mighty%') OR ("openstax_accounts_accounts"."first_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0)))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'john%') OR ("openstax_accounts_accounts"."first_name" LIKE 'john%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'john%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'john%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0))) AND (((((("openstax_accounts_accounts"."username" LIKE 'mighty%') OR ("openstax_accounts_accounts"."first_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0))) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.9ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -510014465 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1ef3c9f3dd7f063e7c5b744cf6de91b6"], ["created_at", "2016-04-19 16:42:27.783405"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -510014465], ["updated_at", "2016-04-19 16:42:27.783405"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1385668490 LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "1e272bcbfed6d0d4674ec17bf25f7dba"], ["created_at", "2016-04-19 16:42:27.785782"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1385668490], ["updated_at", "2016-04-19 16:42:27.785782"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1018944531 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "13ed4faea076b0541a1d5e12259157f4"], ["created_at", "2016-04-19 16:42:27.788155"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1018944531], ["updated_at", "2016-04-19 16:42:27.788155"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -249796062 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8afc679113cdb4fbb9df68a7bb6bac17"], ["created_at", "2016-04-19 16:42:27.789927"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -249796062], ["updated_at", "2016-04-19 16:42:27.789927"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.9ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -998906499 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ab047563da26092002772dc90cc6e1d2"], ["created_at", "2016-04-19 16:42:27.795553"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -998906499], ["updated_at", "2016-04-19 16:42:27.795553"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1301301759 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "748e15f39443f0b4ad6cbfefc1e25b30"], ["created_at", "2016-04-19 16:42:27.797413"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1301301759], ["updated_at", "2016-04-19 16:42:27.797413"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -498417660 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4bdf93bfc76ac601c6bb71ec88a13492"], ["created_at", "2016-04-19 16:42:27.799295"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -498417660], ["updated_at", "2016-04-19 16:42:27.799295"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -965059576 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "06611ba43b760f0d9fce8a3fdfb8a577"], ["created_at", "2016-04-19 16:42:27.800820"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -965059576], ["updated_at", "2016-04-19 16:42:27.800820"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1825090585 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7f90e59e57e7bd735b8395debd09f7cb"], ["created_at", "2016-04-19 16:42:27.802352"], ["first_name", "Bob"], ["last_name", "Brown"], ["openstax_uid", -1825090585], ["updated_at", "2016-04-19 16:42:27.802352"], ["username", "foo_bb"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -627667518 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "486aabc5d912f5288a3a54c2fd2245f0"], ["created_at", "2016-04-19 16:42:27.803828"], ["first_name", "Bob"], ["last_name", "Jones"], ["openstax_uid", -627667518], ["updated_at", "2016-04-19 16:42:27.803828"], ["username", "foo_bj"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -478764877 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ed25bb76cbd7ad92148772f6b4a62ffc"], ["created_at", "2016-04-19 16:42:27.805631"], ["first_name", "Tim"], ["last_name", "Jones"], ["openstax_uid", -478764877], ["updated_at", "2016-04-19 16:42:27.805631"], ["username", "foo_tj"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'foo%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'foo%')) ORDER BY "openstax_accounts_accounts"."first_name" ASC, "openstax_accounts_accounts"."last_name" DESC[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'foo%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'foo%')) ORDER BY "openstax_accounts_accounts"."first_name" ASC, "openstax_accounts_accounts"."last_name" ASC[0m
+ [1m[35m (1.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1026593427 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3dd87061058711077d11ded192b2b178"], ["created_at", "2016-04-19 16:42:27.812739"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1026593427], ["updated_at", "2016-04-19 16:42:27.812739"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2012019550 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "c918830b8c5125d84a6018e6683bfc5f"], ["created_at", "2016-04-19 16:42:27.814640"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -2012019550], ["updated_at", "2016-04-19 16:42:27.814640"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1644159098 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ee04116a65743e1a1026e15bd948eadf"], ["created_at", "2016-04-19 16:42:27.816562"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1644159098], ["updated_at", "2016-04-19 16:42:27.816562"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1744529363 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "dc28d6307617ca290dc1f6d5868aaf7a"], ["created_at", "2016-04-19 16:42:27.818093"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1744529363], ["updated_at", "2016-04-19 16:42:27.818093"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -575989610 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8742a85f6c4a062eab949e332193924a"], ["created_at", "2016-04-19 16:42:27.819601"], ["first_name", "Billy00"], ["last_name", "Bob_45"], ["openstax_uid", -575989610], ["updated_at", "2016-04-19 16:42:27.819601"], ["username", "billy_00"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1001057111 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "207772a2492d6303072c23e08bc5c5e1"], ["created_at", "2016-04-19 16:42:27.821229"], ["first_name", "Billy01"], ["last_name", "Bob_44"], ["openstax_uid", -1001057111], ["updated_at", "2016-04-19 16:42:27.821229"], ["username", "billy_01"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1928662256 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5e85ff1864906238286e838c4c1c145c"], ["created_at", "2016-04-19 16:42:27.822829"], ["first_name", "Billy02"], ["last_name", "Bob_43"], ["openstax_uid", -1928662256], ["updated_at", "2016-04-19 16:42:27.822829"], ["username", "billy_02"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -859618599 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "085514d3f7bbb52fd09db1f3af862af8"], ["created_at", "2016-04-19 16:42:27.824339"], ["first_name", "Billy03"], ["last_name", "Bob_42"], ["openstax_uid", -859618599], ["updated_at", "2016-04-19 16:42:27.824339"], ["username", "billy_03"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2060686631 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "68111eea794343aafeda128116bce1a4"], ["created_at", "2016-04-19 16:42:27.825819"], ["first_name", "Billy04"], ["last_name", "Bob_41"], ["openstax_uid", -2060686631], ["updated_at", "2016-04-19 16:42:27.825819"], ["username", "billy_04"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1646126751 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "706a987aa816f3f93eb269f26c8844b4"], ["created_at", "2016-04-19 16:42:27.827298"], ["first_name", "Billy05"], ["last_name", "Bob_40"], ["openstax_uid", -1646126751], ["updated_at", "2016-04-19 16:42:27.827298"], ["username", "billy_05"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1452033345 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a4f5a97decac0dc69b15306d4481ff89"], ["created_at", "2016-04-19 16:42:27.828786"], ["first_name", "Billy06"], ["last_name", "Bob_39"], ["openstax_uid", -1452033345], ["updated_at", "2016-04-19 16:42:27.828786"], ["username", "billy_06"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -280299508 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c3f614eee0047be34d0f9973db9f77f7"], ["created_at", "2016-04-19 16:42:27.830299"], ["first_name", "Billy07"], ["last_name", "Bob_38"], ["openstax_uid", -280299508], ["updated_at", "2016-04-19 16:42:27.830299"], ["username", "billy_07"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -453354523 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9a0fed3044e8777d025d50cfd84ddd2b"], ["created_at", "2016-04-19 16:42:27.831801"], ["first_name", "Billy08"], ["last_name", "Bob_37"], ["openstax_uid", -453354523], ["updated_at", "2016-04-19 16:42:27.831801"], ["username", "billy_08"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -495094579 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0d24425cf94f2bf46fc2a1ab9db25d24"], ["created_at", "2016-04-19 16:42:27.833284"], ["first_name", "Billy09"], ["last_name", "Bob_36"], ["openstax_uid", -495094579], ["updated_at", "2016-04-19 16:42:27.833284"], ["username", "billy_09"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -19133784 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c1504bcdafd9e46f90a0943e2cd09b95"], ["created_at", "2016-04-19 16:42:27.834760"], ["first_name", "Billy10"], ["last_name", "Bob_35"], ["openstax_uid", -19133784], ["updated_at", "2016-04-19 16:42:27.834760"], ["username", "billy_10"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -56955806 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b84e01529a6cd71ab41a77e1388fc411"], ["created_at", "2016-04-19 16:42:27.836239"], ["first_name", "Billy11"], ["last_name", "Bob_34"], ["openstax_uid", -56955806], ["updated_at", "2016-04-19 16:42:27.836239"], ["username", "billy_11"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1683079858 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "166ab957512d683567582b502a0542fb"], ["created_at", "2016-04-19 16:42:27.837782"], ["first_name", "Billy12"], ["last_name", "Bob_33"], ["openstax_uid", -1683079858], ["updated_at", "2016-04-19 16:42:27.837782"], ["username", "billy_12"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -678280329 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b0a8f3ece6c255e79648f0f6d43207a7"], ["created_at", "2016-04-19 16:42:27.839429"], ["first_name", "Billy13"], ["last_name", "Bob_32"], ["openstax_uid", -678280329], ["updated_at", "2016-04-19 16:42:27.839429"], ["username", "billy_13"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1828125506 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8e1f49db222a4c6bd5366a6102bfd412"], ["created_at", "2016-04-19 16:42:27.840908"], ["first_name", "Billy14"], ["last_name", "Bob_31"], ["openstax_uid", -1828125506], ["updated_at", "2016-04-19 16:42:27.840908"], ["username", "billy_14"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2037218067 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f6098fbf0c0ec29346c15ca6a7c23ab2"], ["created_at", "2016-04-19 16:42:27.842369"], ["first_name", "Billy15"], ["last_name", "Bob_30"], ["openstax_uid", -2037218067], ["updated_at", "2016-04-19 16:42:27.842369"], ["username", "billy_15"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -919709694 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7d0d43f75bb7ccfa8e32b0c96ac7afc9"], ["created_at", "2016-04-19 16:42:27.843872"], ["first_name", "Billy16"], ["last_name", "Bob_29"], ["openstax_uid", -919709694], ["updated_at", "2016-04-19 16:42:27.843872"], ["username", "billy_16"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1633032837 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "6a344aac7b5c9638345e533b1b060207"], ["created_at", "2016-04-19 16:42:27.845380"], ["first_name", "Billy17"], ["last_name", "Bob_28"], ["openstax_uid", -1633032837], ["updated_at", "2016-04-19 16:42:27.845380"], ["username", "billy_17"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1770407951 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "49bb8717a4eb3b44fe4e8b5fd894be57"], ["created_at", "2016-04-19 16:42:27.846858"], ["first_name", "Billy18"], ["last_name", "Bob_27"], ["openstax_uid", -1770407951], ["updated_at", "2016-04-19 16:42:27.846858"], ["username", "billy_18"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -384693252 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d4b226263e0adef274708bf37de16041"], ["created_at", "2016-04-19 16:42:27.848328"], ["first_name", "Billy19"], ["last_name", "Bob_26"], ["openstax_uid", -384693252], ["updated_at", "2016-04-19 16:42:27.848328"], ["username", "billy_19"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1694977246 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a9c780d176b1cb9bd834f8e9cc720a90"], ["created_at", "2016-04-19 16:42:27.849818"], ["first_name", "Billy20"], ["last_name", "Bob_25"], ["openstax_uid", -1694977246], ["updated_at", "2016-04-19 16:42:27.849818"], ["username", "billy_20"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -73757635 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "197eff910977439090675f06c8be93f6"], ["created_at", "2016-04-19 16:42:27.851313"], ["first_name", "Billy21"], ["last_name", "Bob_24"], ["openstax_uid", -73757635], ["updated_at", "2016-04-19 16:42:27.851313"], ["username", "billy_21"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1524461271 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "57009675cefea3257ffba62d15dfcdda"], ["created_at", "2016-04-19 16:42:27.852829"], ["first_name", "Billy22"], ["last_name", "Bob_23"], ["openstax_uid", -1524461271], ["updated_at", "2016-04-19 16:42:27.852829"], ["username", "billy_22"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1511135013 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1d04d3e09682945cb7033906638094c6"], ["created_at", "2016-04-19 16:42:27.854390"], ["first_name", "Billy23"], ["last_name", "Bob_22"], ["openstax_uid", -1511135013], ["updated_at", "2016-04-19 16:42:27.854390"], ["username", "billy_23"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2087520992 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0ca81d7f5a0ec267080e69f71ce02901"], ["created_at", "2016-04-19 16:42:27.856958"], ["first_name", "Billy24"], ["last_name", "Bob_21"], ["openstax_uid", -2087520992], ["updated_at", "2016-04-19 16:42:27.856958"], ["username", "billy_24"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1074855944 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "beda04d9e1a1c9b3677f7bedcc246c87"], ["created_at", "2016-04-19 16:42:27.859397"], ["first_name", "Billy25"], ["last_name", "Bob_20"], ["openstax_uid", -1074855944], ["updated_at", "2016-04-19 16:42:27.859397"], ["username", "billy_25"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -181843775 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ec13faa4d76360abf4c9ca268c82074d"], ["created_at", "2016-04-19 16:42:27.861452"], ["first_name", "Billy26"], ["last_name", "Bob_19"], ["openstax_uid", -181843775], ["updated_at", "2016-04-19 16:42:27.861452"], ["username", "billy_26"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1683946167 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9c778fdb802083b3bf1012f3494ab96c"], ["created_at", "2016-04-19 16:42:27.863499"], ["first_name", "Billy27"], ["last_name", "Bob_18"], ["openstax_uid", -1683946167], ["updated_at", "2016-04-19 16:42:27.863499"], ["username", "billy_27"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -212256062 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0dba8f5f59df5bedf886f4cb7d61d1e4"], ["created_at", "2016-04-19 16:42:27.865596"], ["first_name", "Billy28"], ["last_name", "Bob_17"], ["openstax_uid", -212256062], ["updated_at", "2016-04-19 16:42:27.865596"], ["username", "billy_28"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2021063711 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d9f7acd50d8c3a52362b1d43d8d3d5ec"], ["created_at", "2016-04-19 16:42:27.867335"], ["first_name", "Billy29"], ["last_name", "Bob_16"], ["openstax_uid", -2021063711], ["updated_at", "2016-04-19 16:42:27.867335"], ["username", "billy_29"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1525634137 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "41356c6f999ef5de15c6ab2b630ace37"], ["created_at", "2016-04-19 16:42:27.869121"], ["first_name", "Billy30"], ["last_name", "Bob_15"], ["openstax_uid", -1525634137], ["updated_at", "2016-04-19 16:42:27.869121"], ["username", "billy_30"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2033313592 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7bb1990aa426792fb8d977432d1e174f"], ["created_at", "2016-04-19 16:42:27.870787"], ["first_name", "Billy31"], ["last_name", "Bob_14"], ["openstax_uid", -2033313592], ["updated_at", "2016-04-19 16:42:27.870787"], ["username", "billy_31"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -944640318 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8d25a35c0d75134c55c06e371cd24e37"], ["created_at", "2016-04-19 16:42:27.872350"], ["first_name", "Billy32"], ["last_name", "Bob_13"], ["openstax_uid", -944640318], ["updated_at", "2016-04-19 16:42:27.872350"], ["username", "billy_32"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1248411810 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "15540abe0d23d6443c99cb0b85fa42d3"], ["created_at", "2016-04-19 16:42:27.874085"], ["first_name", "Billy33"], ["last_name", "Bob_12"], ["openstax_uid", -1248411810], ["updated_at", "2016-04-19 16:42:27.874085"], ["username", "billy_33"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -763816220 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5a3ea3f52b267f65230f0e16d9ba4eb5"], ["created_at", "2016-04-19 16:42:27.875882"], ["first_name", "Billy34"], ["last_name", "Bob_11"], ["openstax_uid", -763816220], ["updated_at", "2016-04-19 16:42:27.875882"], ["username", "billy_34"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -88323791 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ba87d58ca5c1d3252c019c5163653f65"], ["created_at", "2016-04-19 16:42:27.877507"], ["first_name", "Billy35"], ["last_name", "Bob_10"], ["openstax_uid", -88323791], ["updated_at", "2016-04-19 16:42:27.877507"], ["username", "billy_35"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -283229729 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "19169a6e1f47c867ae06d5a4532697c7"], ["created_at", "2016-04-19 16:42:27.879062"], ["first_name", "Billy36"], ["last_name", "Bob_09"], ["openstax_uid", -283229729], ["updated_at", "2016-04-19 16:42:27.879062"], ["username", "billy_36"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -614566232 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4692b07ea4e5fc48cfac1437a49125b1"], ["created_at", "2016-04-19 16:42:27.880526"], ["first_name", "Billy37"], ["last_name", "Bob_08"], ["openstax_uid", -614566232], ["updated_at", "2016-04-19 16:42:27.880526"], ["username", "billy_37"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -143405338 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ecbcb2f560ff09f7383fffdc88ba8ffc"], ["created_at", "2016-04-19 16:42:27.881972"], ["first_name", "Billy38"], ["last_name", "Bob_07"], ["openstax_uid", -143405338], ["updated_at", "2016-04-19 16:42:27.881972"], ["username", "billy_38"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1004444292 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "537b4b3668d2b12a10f7cb3e3a03e5b7"], ["created_at", "2016-04-19 16:42:27.883549"], ["first_name", "Billy39"], ["last_name", "Bob_06"], ["openstax_uid", -1004444292], ["updated_at", "2016-04-19 16:42:27.883549"], ["username", "billy_39"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1535209643 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "326fea38b90e3a71f8a6c66cbc3145ce"], ["created_at", "2016-04-19 16:42:27.885251"], ["first_name", "Billy40"], ["last_name", "Bob_05"], ["openstax_uid", -1535209643], ["updated_at", "2016-04-19 16:42:27.885251"], ["username", "billy_40"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -844271612 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "775e24e5df94545e7f9b1b3b7a41453e"], ["created_at", "2016-04-19 16:42:27.887831"], ["first_name", "Billy41"], ["last_name", "Bob_04"], ["openstax_uid", -844271612], ["updated_at", "2016-04-19 16:42:27.887831"], ["username", "billy_41"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2044438211 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b232f81caf8711df54d357e6b3ed12ee"], ["created_at", "2016-04-19 16:42:27.889990"], ["first_name", "Billy42"], ["last_name", "Bob_03"], ["openstax_uid", -2044438211], ["updated_at", "2016-04-19 16:42:27.889990"], ["username", "billy_42"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2037125420 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "919db250a2387da1083d5105eb265c6c"], ["created_at", "2016-04-19 16:42:27.892010"], ["first_name", "Billy43"], ["last_name", "Bob_02"], ["openstax_uid", -2037125420], ["updated_at", "2016-04-19 16:42:27.892010"], ["username", "billy_43"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1788115797 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "028062d78c292c5aced7478e88eb1fa2"], ["created_at", "2016-04-19 16:42:27.894076"], ["first_name", "Billy44"], ["last_name", "Bob_01"], ["openstax_uid", -1788115797], ["updated_at", "2016-04-19 16:42:27.894076"], ["username", "billy_44"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1162721583 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "657338e7621d9add389bfd9a10fccef2"], ["created_at", "2016-04-19 16:42:27.895978"], ["first_name", "Billy45"], ["last_name", "Bob_00"], ["openstax_uid", -1162721583], ["updated_at", "2016-04-19 16:42:27.895978"], ["username", "billy_45"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.2ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%')) ORDER BY "openstax_accounts_accounts"."username" ASC LIMIT 20 OFFSET 20[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_20' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_39' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35m (1.2ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -896440937 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "08b2b30d69f8a7cc4b35219a161ddf3b"], ["created_at", "2016-04-19 16:42:27.905309"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -896440937], ["updated_at", "2016-04-19 16:42:27.905309"], ["username", "jstrav"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2102960049 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "18606b552556137ba95686e3541e537c"], ["created_at", "2016-04-19 16:42:27.907214"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -2102960049], ["updated_at", "2016-04-19 16:42:27.907214"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -362113303 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d9cdfcb54ac03825caa66479d2ed8adf"], ["created_at", "2016-04-19 16:42:27.909214"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -362113303], ["updated_at", "2016-04-19 16:42:27.909214"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -134755099 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e9a67e1411cbde9c9feaa752b5bc6843"], ["created_at", "2016-04-19 16:42:27.910805"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -134755099], ["updated_at", "2016-04-19 16:42:27.910805"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -719197548 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3041eed3075300defeb74d11d8dd8f2e"], ["created_at", "2016-04-19 16:42:27.912601"], ["first_name", "Billy00"], ["last_name", "Bob_45"], ["openstax_uid", -719197548], ["updated_at", "2016-04-19 16:42:27.912601"], ["username", "billy_00"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -959483253 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5e294a80e661ced5a1fa2fa8672870ed"], ["created_at", "2016-04-19 16:42:27.914270"], ["first_name", "Billy01"], ["last_name", "Bob_44"], ["openstax_uid", -959483253], ["updated_at", "2016-04-19 16:42:27.914270"], ["username", "billy_01"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -339220603 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "073ca36fa90a1d616db0351900442960"], ["created_at", "2016-04-19 16:42:27.915880"], ["first_name", "Billy02"], ["last_name", "Bob_43"], ["openstax_uid", -339220603], ["updated_at", "2016-04-19 16:42:27.915880"], ["username", "billy_02"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2017662060 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fb8b5d9fdda97118c5ce15412b49caa7"], ["created_at", "2016-04-19 16:42:27.917545"], ["first_name", "Billy03"], ["last_name", "Bob_42"], ["openstax_uid", -2017662060], ["updated_at", "2016-04-19 16:42:27.917545"], ["username", "billy_03"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1015782315 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b867b85d60ddfd5c8964147adafad775"], ["created_at", "2016-04-19 16:42:27.919231"], ["first_name", "Billy04"], ["last_name", "Bob_41"], ["openstax_uid", -1015782315], ["updated_at", "2016-04-19 16:42:27.919231"], ["username", "billy_04"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1846713703 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7ad771546801e8404495f9ef02d1c8fc"], ["created_at", "2016-04-19 16:42:27.920847"], ["first_name", "Billy05"], ["last_name", "Bob_40"], ["openstax_uid", -1846713703], ["updated_at", "2016-04-19 16:42:27.920847"], ["username", "billy_05"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1524811106 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c29dc0eb1ee9ac74effea2954af2a39b"], ["created_at", "2016-04-19 16:42:27.922425"], ["first_name", "Billy06"], ["last_name", "Bob_39"], ["openstax_uid", -1524811106], ["updated_at", "2016-04-19 16:42:27.922425"], ["username", "billy_06"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1327303348 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0db2383735453d1205fae597f848b253"], ["created_at", "2016-04-19 16:42:27.924059"], ["first_name", "Billy07"], ["last_name", "Bob_38"], ["openstax_uid", -1327303348], ["updated_at", "2016-04-19 16:42:27.924059"], ["username", "billy_07"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2071041521 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "68ed150ca1b6c45a64262b97f890fb61"], ["created_at", "2016-04-19 16:42:27.925678"], ["first_name", "Billy08"], ["last_name", "Bob_37"], ["openstax_uid", -2071041521], ["updated_at", "2016-04-19 16:42:27.925678"], ["username", "billy_08"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1960407939 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fb761d37181d2347c80fc9b72a535dcb"], ["created_at", "2016-04-19 16:42:27.927290"], ["first_name", "Billy09"], ["last_name", "Bob_36"], ["openstax_uid", -1960407939], ["updated_at", "2016-04-19 16:42:27.927290"], ["username", "billy_09"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1396435919 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8b5ddb388ab97a2894c0356788987630"], ["created_at", "2016-04-19 16:42:27.928867"], ["first_name", "Billy10"], ["last_name", "Bob_35"], ["openstax_uid", -1396435919], ["updated_at", "2016-04-19 16:42:27.928867"], ["username", "billy_10"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1500018737 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0b296bc620f32123c74f515a79397088"], ["created_at", "2016-04-19 16:42:27.930478"], ["first_name", "Billy11"], ["last_name", "Bob_34"], ["openstax_uid", -1500018737], ["updated_at", "2016-04-19 16:42:27.930478"], ["username", "billy_11"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -335065339 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f9f2a5c39c2b4b3d2657ac7d8f9c1379"], ["created_at", "2016-04-19 16:42:27.932165"], ["first_name", "Billy12"], ["last_name", "Bob_33"], ["openstax_uid", -335065339], ["updated_at", "2016-04-19 16:42:27.932165"], ["username", "billy_12"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -902964971 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "03f9402a82846a4be312bcc3e3e874a1"], ["created_at", "2016-04-19 16:42:27.933734"], ["first_name", "Billy13"], ["last_name", "Bob_32"], ["openstax_uid", -902964971], ["updated_at", "2016-04-19 16:42:27.933734"], ["username", "billy_13"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1426951663 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "936544d5d22cbd13098967c091c6e47d"], ["created_at", "2016-04-19 16:42:27.940123"], ["first_name", "Billy14"], ["last_name", "Bob_31"], ["openstax_uid", -1426951663], ["updated_at", "2016-04-19 16:42:27.940123"], ["username", "billy_14"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -512216658 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a49bead780cc6087f94ea485b5ef5872"], ["created_at", "2016-04-19 16:42:27.941774"], ["first_name", "Billy15"], ["last_name", "Bob_30"], ["openstax_uid", -512216658], ["updated_at", "2016-04-19 16:42:27.941774"], ["username", "billy_15"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -689101989 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5c38bfa0f441a50920c3a9fca0c7c2a9"], ["created_at", "2016-04-19 16:42:27.943405"], ["first_name", "Billy16"], ["last_name", "Bob_29"], ["openstax_uid", -689101989], ["updated_at", "2016-04-19 16:42:27.943405"], ["username", "billy_16"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -798293168 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "235bd662f646aa360703f59125440c47"], ["created_at", "2016-04-19 16:42:27.945010"], ["first_name", "Billy17"], ["last_name", "Bob_28"], ["openstax_uid", -798293168], ["updated_at", "2016-04-19 16:42:27.945010"], ["username", "billy_17"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1868323175 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "630efd0c85ca9ed2322e7b79df956c09"], ["created_at", "2016-04-19 16:42:27.946570"], ["first_name", "Billy18"], ["last_name", "Bob_27"], ["openstax_uid", -1868323175], ["updated_at", "2016-04-19 16:42:27.946570"], ["username", "billy_18"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -70897099 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ab8e8f0cc387c96cb7f2ab8f536049c0"], ["created_at", "2016-04-19 16:42:27.948147"], ["first_name", "Billy19"], ["last_name", "Bob_26"], ["openstax_uid", -70897099], ["updated_at", "2016-04-19 16:42:27.948147"], ["username", "billy_19"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1859430120 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ee46c5aa810aecf8981565a3bdc65bee"], ["created_at", "2016-04-19 16:42:27.949723"], ["first_name", "Billy20"], ["last_name", "Bob_25"], ["openstax_uid", -1859430120], ["updated_at", "2016-04-19 16:42:27.949723"], ["username", "billy_20"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -446756228 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f2cfeea62f6a0ca6413476ba7f3f32ac"], ["created_at", "2016-04-19 16:42:27.951312"], ["first_name", "Billy21"], ["last_name", "Bob_24"], ["openstax_uid", -446756228], ["updated_at", "2016-04-19 16:42:27.951312"], ["username", "billy_21"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1670256003 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0dbc130d69fff1b8f61ddfc0fa881596"], ["created_at", "2016-04-19 16:42:27.952898"], ["first_name", "Billy22"], ["last_name", "Bob_23"], ["openstax_uid", -1670256003], ["updated_at", "2016-04-19 16:42:27.952898"], ["username", "billy_22"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1454352334 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "68a122fcafc2b2f1bef3062a346ae828"], ["created_at", "2016-04-19 16:42:27.954478"], ["first_name", "Billy23"], ["last_name", "Bob_22"], ["openstax_uid", -1454352334], ["updated_at", "2016-04-19 16:42:27.954478"], ["username", "billy_23"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -846147045 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a5dc39d4338a092710daa8f4e0b2056d"], ["created_at", "2016-04-19 16:42:27.956048"], ["first_name", "Billy24"], ["last_name", "Bob_21"], ["openstax_uid", -846147045], ["updated_at", "2016-04-19 16:42:27.956048"], ["username", "billy_24"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1720608726 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e67803afde582cba4a006a62c8042def"], ["created_at", "2016-04-19 16:42:27.957593"], ["first_name", "Billy25"], ["last_name", "Bob_20"], ["openstax_uid", -1720608726], ["updated_at", "2016-04-19 16:42:27.957593"], ["username", "billy_25"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1638353766 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7977fb385e49bdc0f702c71c878abcd8"], ["created_at", "2016-04-19 16:42:27.959127"], ["first_name", "Billy26"], ["last_name", "Bob_19"], ["openstax_uid", -1638353766], ["updated_at", "2016-04-19 16:42:27.959127"], ["username", "billy_26"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1560876659 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8a98ba5fcd77c59462878b747e8acf76"], ["created_at", "2016-04-19 16:42:27.960602"], ["first_name", "Billy27"], ["last_name", "Bob_18"], ["openstax_uid", -1560876659], ["updated_at", "2016-04-19 16:42:27.960602"], ["username", "billy_27"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -193334122 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "057adeaecfeb5344fff5c4d8660fa318"], ["created_at", "2016-04-19 16:42:27.962217"], ["first_name", "Billy28"], ["last_name", "Bob_17"], ["openstax_uid", -193334122], ["updated_at", "2016-04-19 16:42:27.962217"], ["username", "billy_28"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2024518727 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "dc232b551f86c6e607ebe3e1ef1cc795"], ["created_at", "2016-04-19 16:42:27.963668"], ["first_name", "Billy29"], ["last_name", "Bob_16"], ["openstax_uid", -2024518727], ["updated_at", "2016-04-19 16:42:27.963668"], ["username", "billy_29"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -891257919 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d0f1f2dd8a79b6ec69a0b5ac8da236b1"], ["created_at", "2016-04-19 16:42:27.965141"], ["first_name", "Billy30"], ["last_name", "Bob_15"], ["openstax_uid", -891257919], ["updated_at", "2016-04-19 16:42:27.965141"], ["username", "billy_30"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -944851809 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ae533b645ccbddf88c7a744c42cf6b9a"], ["created_at", "2016-04-19 16:42:27.966861"], ["first_name", "Billy31"], ["last_name", "Bob_14"], ["openstax_uid", -944851809], ["updated_at", "2016-04-19 16:42:27.966861"], ["username", "billy_31"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2106128844 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ab2964b375f32f8f1fbe81b49ea0518d"], ["created_at", "2016-04-19 16:42:27.968516"], ["first_name", "Billy32"], ["last_name", "Bob_13"], ["openstax_uid", -2106128844], ["updated_at", "2016-04-19 16:42:27.968516"], ["username", "billy_32"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -59939809 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "71408c23330c3145359138b46ce663a2"], ["created_at", "2016-04-19 16:42:27.970006"], ["first_name", "Billy33"], ["last_name", "Bob_12"], ["openstax_uid", -59939809], ["updated_at", "2016-04-19 16:42:27.970006"], ["username", "billy_33"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -926368787 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a6806e4837f333caa7a29350a7e37f49"], ["created_at", "2016-04-19 16:42:27.971517"], ["first_name", "Billy34"], ["last_name", "Bob_11"], ["openstax_uid", -926368787], ["updated_at", "2016-04-19 16:42:27.971517"], ["username", "billy_34"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -205003425 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "49c8e04bc2313c0d1dfe991595706a2b"], ["created_at", "2016-04-19 16:42:27.973039"], ["first_name", "Billy35"], ["last_name", "Bob_10"], ["openstax_uid", -205003425], ["updated_at", "2016-04-19 16:42:27.973039"], ["username", "billy_35"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -925571757 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "43f447f50c5e33f9733ac098e0240c10"], ["created_at", "2016-04-19 16:42:27.974600"], ["first_name", "Billy36"], ["last_name", "Bob_09"], ["openstax_uid", -925571757], ["updated_at", "2016-04-19 16:42:27.974600"], ["username", "billy_36"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1650174513 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "febd7dce6d49712e18a1c89a802e3a4f"], ["created_at", "2016-04-19 16:42:27.976114"], ["first_name", "Billy37"], ["last_name", "Bob_08"], ["openstax_uid", -1650174513], ["updated_at", "2016-04-19 16:42:27.976114"], ["username", "billy_37"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -725707837 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fc27aab37c19b3a359ecaf0ae222f048"], ["created_at", "2016-04-19 16:42:27.977584"], ["first_name", "Billy38"], ["last_name", "Bob_07"], ["openstax_uid", -725707837], ["updated_at", "2016-04-19 16:42:27.977584"], ["username", "billy_38"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -133525084 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4f431ea2f352efb10ee06de8bb16e5b7"], ["created_at", "2016-04-19 16:42:27.979034"], ["first_name", "Billy39"], ["last_name", "Bob_06"], ["openstax_uid", -133525084], ["updated_at", "2016-04-19 16:42:27.979034"], ["username", "billy_39"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -672298887 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "33b91bf968f29935bf54e6af43e11390"], ["created_at", "2016-04-19 16:42:27.980493"], ["first_name", "Billy40"], ["last_name", "Bob_05"], ["openstax_uid", -672298887], ["updated_at", "2016-04-19 16:42:27.980493"], ["username", "billy_40"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -899536731 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "736c7500819b6387d96692cc29cf5d39"], ["created_at", "2016-04-19 16:42:27.981939"], ["first_name", "Billy41"], ["last_name", "Bob_04"], ["openstax_uid", -899536731], ["updated_at", "2016-04-19 16:42:27.981939"], ["username", "billy_41"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -658735030 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8272c45f48b481433824f8b1a748c4a2"], ["created_at", "2016-04-19 16:42:27.983396"], ["first_name", "Billy42"], ["last_name", "Bob_03"], ["openstax_uid", -658735030], ["updated_at", "2016-04-19 16:42:27.983396"], ["username", "billy_42"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -686159903 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f12e7eb2dc74f7aa7cefedc07539940e"], ["created_at", "2016-04-19 16:42:27.984820"], ["first_name", "Billy43"], ["last_name", "Bob_02"], ["openstax_uid", -686159903], ["updated_at", "2016-04-19 16:42:27.984820"], ["username", "billy_43"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -918951077 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d987636bb987a20d1f24cfe59b6b198c"], ["created_at", "2016-04-19 16:42:27.986329"], ["first_name", "Billy44"], ["last_name", "Bob_01"], ["openstax_uid", -918951077], ["updated_at", "2016-04-19 16:42:27.986329"], ["username", "billy_44"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1522364466 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7bd08f5e2943b5321c99b6a6e351d798"], ["created_at", "2016-04-19 16:42:27.987808"], ["first_name", "Billy45"], ["last_name", "Bob_00"], ["openstax_uid", -1522364466], ["updated_at", "2016-04-19 16:42:27.987808"], ["username", "billy_45"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%')) ORDER BY "openstax_accounts_accounts"."username" ASC LIMIT 20 OFFSET 40[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_45' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36m (1.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1539431420 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "95a9e72b0c6555e5918b40970d0cbf44"], ["created_at", "2016-04-19 16:42:27.996767"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1539431420], ["updated_at", "2016-04-19 16:42:27.996767"], ["username", "jstrav"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -244271540 LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "112c3ac7ff0d01aa5845466b88f62b75"], ["created_at", "2016-04-19 16:42:27.999103"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -244271540], ["updated_at", "2016-04-19 16:42:27.999103"], ["username", "mary"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1791968968 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "dd1a41acecbad6a41841b3518375823d"], ["created_at", "2016-04-19 16:42:28.001612"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1791968968], ["updated_at", "2016-04-19 16:42:28.001612"], ["username", "jstead"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1722848280 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cb1900ef41473c26c895e4d4b27f6d91"], ["created_at", "2016-04-19 16:42:28.003727"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1722848280], ["updated_at", "2016-04-19 16:42:28.003727"], ["username", "bigbear"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -24182997 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e430769ae178eb7ffc265b9fbb8eda88"], ["created_at", "2016-04-19 16:42:28.005787"], ["first_name", "Billy00"], ["last_name", "Bob_45"], ["openstax_uid", -24182997], ["updated_at", "2016-04-19 16:42:28.005787"], ["username", "billy_00"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -841929560 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "04ef4d37e964031bdd542f5b60470592"], ["created_at", "2016-04-19 16:42:28.007850"], ["first_name", "Billy01"], ["last_name", "Bob_44"], ["openstax_uid", -841929560], ["updated_at", "2016-04-19 16:42:28.007850"], ["username", "billy_01"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1858156218 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "eb9143aaea022adbb09ccc9b6140aac3"], ["created_at", "2016-04-19 16:42:28.009769"], ["first_name", "Billy02"], ["last_name", "Bob_43"], ["openstax_uid", -1858156218], ["updated_at", "2016-04-19 16:42:28.009769"], ["username", "billy_02"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1445235567 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1596fa1c941f0e4dd260d011ace7f8ce"], ["created_at", "2016-04-19 16:42:28.011461"], ["first_name", "Billy03"], ["last_name", "Bob_42"], ["openstax_uid", -1445235567], ["updated_at", "2016-04-19 16:42:28.011461"], ["username", "billy_03"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1815103214 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "69338e6d7b3cce4cb7bc0086523c08e3"], ["created_at", "2016-04-19 16:42:28.013139"], ["first_name", "Billy04"], ["last_name", "Bob_41"], ["openstax_uid", -1815103214], ["updated_at", "2016-04-19 16:42:28.013139"], ["username", "billy_04"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -140304212 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "730b9110d80aafd0930666d78b1fa066"], ["created_at", "2016-04-19 16:42:28.014634"], ["first_name", "Billy05"], ["last_name", "Bob_40"], ["openstax_uid", -140304212], ["updated_at", "2016-04-19 16:42:28.014634"], ["username", "billy_05"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -23299857 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f174b63274c27088dc4e2693dfeec302"], ["created_at", "2016-04-19 16:42:28.016182"], ["first_name", "Billy06"], ["last_name", "Bob_39"], ["openstax_uid", -23299857], ["updated_at", "2016-04-19 16:42:28.016182"], ["username", "billy_06"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -298547129 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c822958a42ab9e312494027b2e6f38a6"], ["created_at", "2016-04-19 16:42:28.017682"], ["first_name", "Billy07"], ["last_name", "Bob_38"], ["openstax_uid", -298547129], ["updated_at", "2016-04-19 16:42:28.017682"], ["username", "billy_07"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -863289880 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b3bd51f230c7319cc74d719740e8fcc8"], ["created_at", "2016-04-19 16:42:28.019212"], ["first_name", "Billy08"], ["last_name", "Bob_37"], ["openstax_uid", -863289880], ["updated_at", "2016-04-19 16:42:28.019212"], ["username", "billy_08"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -347173448 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "2bbcd8dffe2352c19bf7e59a7f4f639b"], ["created_at", "2016-04-19 16:42:28.020787"], ["first_name", "Billy09"], ["last_name", "Bob_36"], ["openstax_uid", -347173448], ["updated_at", "2016-04-19 16:42:28.020787"], ["username", "billy_09"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -996796180 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9ac7ef398c38b6f54c0200b8bdd4f075"], ["created_at", "2016-04-19 16:42:28.022357"], ["first_name", "Billy10"], ["last_name", "Bob_35"], ["openstax_uid", -996796180], ["updated_at", "2016-04-19 16:42:28.022357"], ["username", "billy_10"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -344876583 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "694538685012d13d48a29f6f840f1c6f"], ["created_at", "2016-04-19 16:42:28.023937"], ["first_name", "Billy11"], ["last_name", "Bob_34"], ["openstax_uid", -344876583], ["updated_at", "2016-04-19 16:42:28.023937"], ["username", "billy_11"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1796858295 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bc62d2bc11b83ac15c21155768180e18"], ["created_at", "2016-04-19 16:42:28.025517"], ["first_name", "Billy12"], ["last_name", "Bob_33"], ["openstax_uid", -1796858295], ["updated_at", "2016-04-19 16:42:28.025517"], ["username", "billy_12"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1151166639 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "de8ca7458574c9a10a865daf3791447c"], ["created_at", "2016-04-19 16:42:28.027291"], ["first_name", "Billy13"], ["last_name", "Bob_32"], ["openstax_uid", -1151166639], ["updated_at", "2016-04-19 16:42:28.027291"], ["username", "billy_13"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1839382239 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e4c8c5c513787378f57fd380157da00b"], ["created_at", "2016-04-19 16:42:28.028960"], ["first_name", "Billy14"], ["last_name", "Bob_31"], ["openstax_uid", -1839382239], ["updated_at", "2016-04-19 16:42:28.028960"], ["username", "billy_14"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -746498787 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "73355b09d5ec809444be534bd5f2c177"], ["created_at", "2016-04-19 16:42:28.030610"], ["first_name", "Billy15"], ["last_name", "Bob_30"], ["openstax_uid", -746498787], ["updated_at", "2016-04-19 16:42:28.030610"], ["username", "billy_15"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1945754378 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "004020921856159552ff137c0a3e1d6b"], ["created_at", "2016-04-19 16:42:28.032216"], ["first_name", "Billy16"], ["last_name", "Bob_29"], ["openstax_uid", -1945754378], ["updated_at", "2016-04-19 16:42:28.032216"], ["username", "billy_16"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -316821444 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7686c449b0b08b79e131d8b4ff1afdd9"], ["created_at", "2016-04-19 16:42:28.033825"], ["first_name", "Billy17"], ["last_name", "Bob_28"], ["openstax_uid", -316821444], ["updated_at", "2016-04-19 16:42:28.033825"], ["username", "billy_17"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -208609732 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0964e672eb15a757fd397048f3fcdbae"], ["created_at", "2016-04-19 16:42:28.035389"], ["first_name", "Billy18"], ["last_name", "Bob_27"], ["openstax_uid", -208609732], ["updated_at", "2016-04-19 16:42:28.035389"], ["username", "billy_18"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1237161729 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3f55dfbcfcc0f34860a2d031d2f2655e"], ["created_at", "2016-04-19 16:42:28.037002"], ["first_name", "Billy19"], ["last_name", "Bob_26"], ["openstax_uid", -1237161729], ["updated_at", "2016-04-19 16:42:28.037002"], ["username", "billy_19"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1964606530 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e2fd1c3ee01a2416dfc08f0c5fcb1cbc"], ["created_at", "2016-04-19 16:42:28.038705"], ["first_name", "Billy20"], ["last_name", "Bob_25"], ["openstax_uid", -1964606530], ["updated_at", "2016-04-19 16:42:28.038705"], ["username", "billy_20"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -745555001 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9924cfdba3a4ca6fedde7e062de16754"], ["created_at", "2016-04-19 16:42:28.040277"], ["first_name", "Billy21"], ["last_name", "Bob_24"], ["openstax_uid", -745555001], ["updated_at", "2016-04-19 16:42:28.040277"], ["username", "billy_21"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1102311693 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1f6a120cfea0d036e5511c9abe99bc8d"], ["created_at", "2016-04-19 16:42:28.041888"], ["first_name", "Billy22"], ["last_name", "Bob_23"], ["openstax_uid", -1102311693], ["updated_at", "2016-04-19 16:42:28.041888"], ["username", "billy_22"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -380876014 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0cae81c8cfd6df6783d91911aa005964"], ["created_at", "2016-04-19 16:42:28.043461"], ["first_name", "Billy23"], ["last_name", "Bob_22"], ["openstax_uid", -380876014], ["updated_at", "2016-04-19 16:42:28.043461"], ["username", "billy_23"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1234046284 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d6376a32e94172dcdfe8b3c215d15506"], ["created_at", "2016-04-19 16:42:28.045024"], ["first_name", "Billy24"], ["last_name", "Bob_21"], ["openstax_uid", -1234046284], ["updated_at", "2016-04-19 16:42:28.045024"], ["username", "billy_24"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -897836070 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "594bce1f534f126d8b012fa041ffd654"], ["created_at", "2016-04-19 16:42:28.046512"], ["first_name", "Billy25"], ["last_name", "Bob_20"], ["openstax_uid", -897836070], ["updated_at", "2016-04-19 16:42:28.046512"], ["username", "billy_25"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1054924375 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8f3fe08f181aaae5b3982d15d1a595f5"], ["created_at", "2016-04-19 16:42:28.048015"], ["first_name", "Billy26"], ["last_name", "Bob_19"], ["openstax_uid", -1054924375], ["updated_at", "2016-04-19 16:42:28.048015"], ["username", "billy_26"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1908054624 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "fccbe8715214c44dced5be6cd0c330fb"], ["created_at", "2016-04-19 16:42:28.049510"], ["first_name", "Billy27"], ["last_name", "Bob_18"], ["openstax_uid", -1908054624], ["updated_at", "2016-04-19 16:42:28.049510"], ["username", "billy_27"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -980459056 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "79c41f5d3c721eaa23140dc9e026ebcd"], ["created_at", "2016-04-19 16:42:28.052315"], ["first_name", "Billy28"], ["last_name", "Bob_17"], ["openstax_uid", -980459056], ["updated_at", "2016-04-19 16:42:28.052315"], ["username", "billy_28"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1008268477 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "27e7f018588c36b62109b12ddf7123cf"], ["created_at", "2016-04-19 16:42:28.054656"], ["first_name", "Billy29"], ["last_name", "Bob_16"], ["openstax_uid", -1008268477], ["updated_at", "2016-04-19 16:42:28.054656"], ["username", "billy_29"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -360332916 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "783fffccbda6bf2ced2df84e8d6c56b0"], ["created_at", "2016-04-19 16:42:28.056742"], ["first_name", "Billy30"], ["last_name", "Bob_15"], ["openstax_uid", -360332916], ["updated_at", "2016-04-19 16:42:28.056742"], ["username", "billy_30"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -593043433 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b7f108251b61244ea10dfa6f6ebffbba"], ["created_at", "2016-04-19 16:42:28.058781"], ["first_name", "Billy31"], ["last_name", "Bob_14"], ["openstax_uid", -593043433], ["updated_at", "2016-04-19 16:42:28.058781"], ["username", "billy_31"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1730370236 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8124d69847eea23a7189ad4c1a3da135"], ["created_at", "2016-04-19 16:42:28.060760"], ["first_name", "Billy32"], ["last_name", "Bob_13"], ["openstax_uid", -1730370236], ["updated_at", "2016-04-19 16:42:28.060760"], ["username", "billy_32"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -703209082 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bf88d412b6ccbe4855a63ead23b0c9c7"], ["created_at", "2016-04-19 16:42:28.062522"], ["first_name", "Billy33"], ["last_name", "Bob_12"], ["openstax_uid", -703209082], ["updated_at", "2016-04-19 16:42:28.062522"], ["username", "billy_33"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -182992984 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4202ffc18e3ff0b1562e05aadfba0a75"], ["created_at", "2016-04-19 16:42:28.064318"], ["first_name", "Billy34"], ["last_name", "Bob_11"], ["openstax_uid", -182992984], ["updated_at", "2016-04-19 16:42:28.064318"], ["username", "billy_34"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1673120500 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e2afd1655d53dc73187dc26af0f3679b"], ["created_at", "2016-04-19 16:42:28.065881"], ["first_name", "Billy35"], ["last_name", "Bob_10"], ["openstax_uid", -1673120500], ["updated_at", "2016-04-19 16:42:28.065881"], ["username", "billy_35"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2134740474 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cf30af411adcf8dc2fce3cd432647b06"], ["created_at", "2016-04-19 16:42:28.067445"], ["first_name", "Billy36"], ["last_name", "Bob_09"], ["openstax_uid", -2134740474], ["updated_at", "2016-04-19 16:42:28.067445"], ["username", "billy_36"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -167101319 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "dccaed79966f503d624719ca976a832a"], ["created_at", "2016-04-19 16:42:28.069147"], ["first_name", "Billy37"], ["last_name", "Bob_08"], ["openstax_uid", -167101319], ["updated_at", "2016-04-19 16:42:28.069147"], ["username", "billy_37"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -271168099 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "930bfd3b84638d29e39c515dce764e51"], ["created_at", "2016-04-19 16:42:28.070663"], ["first_name", "Billy38"], ["last_name", "Bob_07"], ["openstax_uid", -271168099], ["updated_at", "2016-04-19 16:42:28.070663"], ["username", "billy_38"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -491633559 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8e0bc655885526c99fc9f29f190d60ac"], ["created_at", "2016-04-19 16:42:28.072158"], ["first_name", "Billy39"], ["last_name", "Bob_06"], ["openstax_uid", -491633559], ["updated_at", "2016-04-19 16:42:28.072158"], ["username", "billy_39"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -54609499 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cdba497f9f48cd4ac2b3eccc722b51f0"], ["created_at", "2016-04-19 16:42:28.073662"], ["first_name", "Billy40"], ["last_name", "Bob_05"], ["openstax_uid", -54609499], ["updated_at", "2016-04-19 16:42:28.073662"], ["username", "billy_40"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -808886522 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f1a59797a9c7222600f76c5e899cb583"], ["created_at", "2016-04-19 16:42:28.075178"], ["first_name", "Billy41"], ["last_name", "Bob_04"], ["openstax_uid", -808886522], ["updated_at", "2016-04-19 16:42:28.075178"], ["username", "billy_41"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -977034717 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "163c1f939a2c751a2363712d3e6c5f6c"], ["created_at", "2016-04-19 16:42:28.078019"], ["first_name", "Billy42"], ["last_name", "Bob_03"], ["openstax_uid", -977034717], ["updated_at", "2016-04-19 16:42:28.078019"], ["username", "billy_42"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1826403602 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d6f12f6356c773d4ea77cfb85db80363"], ["created_at", "2016-04-19 16:42:28.080001"], ["first_name", "Billy43"], ["last_name", "Bob_02"], ["openstax_uid", -1826403602], ["updated_at", "2016-04-19 16:42:28.080001"], ["username", "billy_43"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1910575299 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0f0bd35fb570c973177eecde1258d5c4"], ["created_at", "2016-04-19 16:42:28.082224"], ["first_name", "Billy44"], ["last_name", "Bob_01"], ["openstax_uid", -1910575299], ["updated_at", "2016-04-19 16:42:28.082224"], ["username", "billy_44"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1487248045 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "08f915d14a0bff0a432b70a51289e95c"], ["created_at", "2016-04-19 16:42:28.084312"], ["first_name", "Billy45"], ["last_name", "Bob_00"], ["openstax_uid", -1487248045], ["updated_at", "2016-04-19 16:42:28.084312"], ["username", "billy_45"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%'))
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.2ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%')) ORDER BY "openstax_accounts_accounts"."username" ASC LIMIT 20 OFFSET 0
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_00' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_19' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36m (1.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:28.101199"], ["openstax_uid", 2], ["updated_at", "2016-04-19 16:42:28.101199"], ["username", "User"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 3 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:28.102856"], ["openstax_uid", 3], ["updated_at", "2016-04-19 16:42:28.102856"], ["username", "Fuego"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 2 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:28.104821"], ["name", "Member Group"], ["openstax_uid", 2], ["updated_at", "2016-04-19 16:42:28.104821"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = 2) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:28.106578"], ["group_id", 2], ["updated_at", "2016-04-19 16:42:28.106578"], ["user_id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 4 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:28.107892"], ["name", "Container Group"], ["openstax_uid", 4], ["updated_at", "2016-04-19 16:42:28.107892"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupOwner Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 1 AND "openstax_accounts_group_owners"."group_id" = 4) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:28.109567"], ["group_id", 4], ["updated_at", "2016-04-19 16:42:28.109567"], ["user_id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupNesting Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 1 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["container_group_id", 4], ["created_at", "2016-04-19 16:42:28.111116"], ["member_group_id", 2], ["updated_at", "2016-04-19 16:42:28.111116"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_groups"[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_members"."user_id" WHERE "openstax_accounts_group_members"."group_id" = ? AND "openstax_accounts_accounts"."id" = 1 LIMIT 1[0m [["group_id", 2]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_nestings"."member_group_id" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? AND "openstax_accounts_groups"."id" = 1 LIMIT 1[0m [["container_group_id", 4]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_owners" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_owners"."user_id" WHERE "openstax_accounts_group_owners"."group_id" = ? AND "openstax_accounts_accounts"."id" = 1 LIMIT 1[0m [["group_id", 4]]
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:28 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_groups/updates" for 127.0.0.1 at 2016-04-19 09:42:28 -0700
+Processing by Api::ApplicationGroupsController#updates as application/vnd.accounts.openstax.v1
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35mOpenStax::Accounts::GroupOwner Load (0.1ms)[0m SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 2]]
+ [1m[36mOpenStax::Accounts::GroupMember Load (0.1ms)[0m [1mSELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ?[0m [["group_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupNesting Load (0.1ms)[0m [1mSELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ?[0m [["container_group_id", 2]]
+ [1m[35mOpenStax::Accounts::GroupOwner Load (0.0ms)[0m SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 3]]
+ [1m[36mOpenStax::Accounts::GroupMember Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ?[0m [["group_id", 3]]
+ [1m[35mOpenStax::Accounts::GroupNesting Load (0.0ms)[0m SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 3]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 2 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 3 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = ? LIMIT 1 [["openstax_uid", 3]]
+ [1m[36mOpenStax::Accounts::GroupOwner Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 2 AND "openstax_accounts_group_owners"."group_id" = 3) LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.0ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = ? LIMIT 1 [["openstax_uid", 2]]
+ [1m[36mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = 3) LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 3 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 16:42:28.151236"], ["name", "Fuego's Deputies"], ["openstax_uid", 3], ["updated_at", "2016-04-19 16:42:28.151236"]]
+ [1m[35mOpenStax::Accounts::GroupOwner Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 2 AND "openstax_accounts_group_owners"."group_id" = 3) LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:28.152513"], ["group_id", 3], ["updated_at", "2016-04-19 16:42:28.152513"], ["user_id", 3]]
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = 3) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:28.153635"], ["group_id", 3], ["updated_at", "2016-04-19 16:42:28.153635"], ["user_id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupMember Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ?[0m [["group_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupOwner Load (0.0ms)[0m SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupNesting Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ?[0m [["container_group_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = ? LIMIT 1[0m [["openstax_uid", 3]]
+ [1m[35mOpenStax::Accounts::GroupNesting Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 3 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["container_group_id", 2], ["created_at", "2016-04-19 16:42:28.158404"], ["member_group_id", 3], ["updated_at", "2016-04-19 16:42:28.158404"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = 2 AND "openstax_accounts_groups"."id" != 1) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "name" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 1[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["name", "M"], ["updated_at", "2016-04-19 16:42:28.159785"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = 3 AND "openstax_accounts_groups"."id" != 3) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 3[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2016-04-19 16:42:28.161210"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:28 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started PUT "/api/application_groups/updated" for 127.0.0.1 at 2016-04-19 09:42:28 -0700
+Processing by Api::ApplicationGroupsController#updated as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"group_id\":2,\"read_updates\":1},{\"group_id\":3,\"read_updates\":2}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_groups"[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_nestings"."member_group_id" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? AND "openstax_accounts_groups"."id" = 3 LIMIT 1 [["container_group_id", 2]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_nestings"."member_group_id" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? AND "openstax_accounts_groups"."id" = 1 LIMIT 1[0m [["container_group_id", 4]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_owners" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_owners"."user_id" WHERE "openstax_accounts_group_owners"."group_id" = ? AND "openstax_accounts_accounts"."id" = 2 LIMIT 1 [["group_id", 3]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_members"."user_id" WHERE "openstax_accounts_group_members"."group_id" = ? AND "openstax_accounts_accounts"."id" = 1 LIMIT 1[0m [["group_id", 3]]
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:28 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_groups/updates" for 127.0.0.1 at 2016-04-19 09:42:28 -0700
+Processing by Api::ApplicationGroupsController#updates as application/vnd.accounts.openstax.v1
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35mOpenStax::Accounts::GroupOwner Load (0.1ms)[0m SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 2]]
+ [1m[36mOpenStax::Accounts::GroupMember Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ?[0m [["group_id", 2]]
+ [1m[35mOpenStax::Accounts::GroupNesting Load (0.0ms)[0m SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."id" = ? [["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupOwner Load (0.0ms)[0m SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."id" = ? [["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupMember Load (0.0ms)[0m SELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ? [["group_id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."id" = ? [["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupNesting Load (0.0ms)[0m SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 3]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 2 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 3 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::GroupMember Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ?[0m [["group_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupOwner Load (0.0ms)[0m SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupNesting Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ?[0m [["container_group_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Group Load (0.0ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = ? LIMIT 1[0m [["openstax_uid", 3]]
+ [1m[35mOpenStax::Accounts::GroupNesting Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 3 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["container_group_id", 2], ["created_at", "2016-04-19 16:42:28.214785"], ["member_group_id", 3], ["updated_at", "2016-04-19 16:42:28.214785"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = 2 AND "openstax_accounts_groups"."id" != 1) LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 1[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2016-04-19 16:42:28.216316"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupMember Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ?[0m [["group_id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.0ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = ? LIMIT 1[0m [["openstax_uid", 2]]
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = 3) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:28.219230"], ["group_id", 3], ["updated_at", "2016-04-19 16:42:28.219230"], ["user_id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupOwner Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ?[0m [["group_id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.0ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = ? LIMIT 1[0m [["openstax_uid", 3]]
+ [1m[35mOpenStax::Accounts::GroupOwner Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 2 AND "openstax_accounts_group_owners"."group_id" = 3) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 16:42:28.222012"], ["group_id", 3], ["updated_at", "2016-04-19 16:42:28.222012"], ["user_id", 3]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupNesting Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ?[0m [["container_group_id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Group Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = 3 AND "openstax_accounts_groups"."id" != 3) LIMIT 1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 3 [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2016-04-19 16:42:28.224447"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 09:42:28 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started PUT "/api/application_groups/updated" for 127.0.0.1 at 2016-04-19 09:42:28 -0700
+Processing by Api::ApplicationGroupsController#updated as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"group_id\":2,\"read_updates\":1},{\"group_id\":3,\"read_updates\":2}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_groups"
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_nestings"."member_group_id" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? AND "openstax_accounts_groups"."id" = 3 LIMIT 1[0m [["container_group_id", 2]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_nestings"."member_group_id" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? AND "openstax_accounts_groups"."id" = 1 LIMIT 1 [["container_group_id", 4]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_owners" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_owners"."user_id" WHERE "openstax_accounts_group_owners"."group_id" = ? AND "openstax_accounts_accounts"."id" = 2 LIMIT 1[0m [["group_id", 3]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_members"."user_id" WHERE "openstax_accounts_group_members"."group_id" = ? AND "openstax_accounts_accounts"."id" = 1 LIMIT 1 [["group_id", 3]]
+ [1m[36m (2.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "976b11ccecd2fbfbf12cb015248218b4"], ["created_at", "2016-04-19 16:42:28.254983"], ["openstax_uid", 10], ["updated_at", "2016-04-19 16:42:28.254983"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by OpenStax::Accounts::Dev::AccountsController#index as HTML
+Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "344ca3da751c95aa6a86ccb790c0eab1"], ["created_at", "2016-04-19 16:42:28.269352"], ["openstax_uid", 10], ["updated_at", "2016-04-19 16:42:28.269352"], ["username", "some_user"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by OpenStax::Accounts::Dev::AccountsController#become as HTML
+ Parameters: {"id"=>"10"}
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+
+***** Debugger requested, but was not available (ensure the debugger gem is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
+
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.5ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as HTML
+Completed 500 Internal Server Error in 18ms
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as HTML
+Redirected to http://test.host/accounts/login
+ [1m[36m (0.5ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as HTML
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.6ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as
+Redirected to http://test.host/accounts/login
+Filter chain halted as :authenticate_user! rendered or redirected
+Completed 302 Found in 1337ms (ActiveRecord: 1.5ms)
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as
+Redirected to http://test.host/accounts/login
+Filter chain halted as :authenticate_user! rendered or redirected
+Completed 302 Found in 461ms (ActiveRecord: 1.4ms)
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (1.1ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as
+ [1m[36m (1.0ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as
+Completed 406 Not Acceptable in 682ms
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.6ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as
+Redirected to http://test.host/accounts/login
+Filter chain halted as :authenticate_user! rendered or redirected
+Completed 302 Found in 549ms (ActiveRecord: 1.4ms)
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as
+Completed 406 Not Acceptable in 389ms
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as
+Completed 406 Not Acceptable in 20ms
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as
+Redirected to http://test.host/accounts/login
+Filter chain halted as :authenticate_user! rendered or redirected
+Completed 302 Found in 23ms (ActiveRecord: 1.3ms)
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.5ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as
+Redirected to http://test.host/accounts/login
+Filter chain halted as :authenticate_user! rendered or redirected
+Completed 302 Found in 23ms (ActiveRecord: 1.3ms)
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.5ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as
+Completed 406 Not Acceptable in 14ms
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+Processing by AnonymousController#action_needing_authentication as
+Redirected to http://test.host/accounts/login
+Filter chain halted as :authenticate_user! rendered or redirected
+Completed 302 Found in 23ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.9ms)[0m [1mCREATE TABLE "openstax_accounts_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "openstax_uid" integer NOT NULL, "username" varchar(255) NOT NULL, "access_token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "full_name" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.1ms)[0m select sqlite_version(*)
+ [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_accounts_on_access_token" ON "openstax_accounts_accounts" ("access_token")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+
+ [1m[36m (0.9ms)[0m [1mCREATE INDEX "index_openstax_accounts_accounts_on_first_name" ON "openstax_accounts_accounts" ("first_name")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+[0m
+ [1m[35m (0.8ms)[0m CREATE INDEX "index_openstax_accounts_accounts_on_full_name" ON "openstax_accounts_accounts" ("full_name")
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+[0m
+ [1m[35m (0.9ms)[0m CREATE INDEX "index_openstax_accounts_accounts_on_last_name" ON "openstax_accounts_accounts" ("last_name")
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_last_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_last_name' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+
+ [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_accounts_on_openstax_uid" ON "openstax_accounts_accounts" ("openstax_uid")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_openstax_uid' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_openstax_uid' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_last_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_last_name' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
+
+ [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_accounts_on_username" ON "openstax_accounts_accounts" ("username")[0m
+ [1m[35m (0.9ms)[0m CREATE TABLE "openstax_accounts_group_members" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer NOT NULL, "user_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_group_members_on_group_id_and_user_id" ON "openstax_accounts_group_members" ("group_id", "user_id")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_group_members_on_group_id_and_user_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_group_members_on_group_id_and_user_id' AND type='index'
+
+ [1m[36m (0.8ms)[0m [1mCREATE INDEX "index_openstax_accounts_group_members_on_user_id" ON "openstax_accounts_group_members" ("user_id")[0m
+ [1m[35m (0.9ms)[0m CREATE TABLE "openstax_accounts_group_nestings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "member_group_id" integer NOT NULL, "container_group_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.6ms)[0m [1mCREATE INDEX "index_openstax_accounts_group_nestings_on_container_group_id" ON "openstax_accounts_group_nestings" ("container_group_id")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_group_nestings_on_container_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_group_nestings_on_container_group_id' AND type='index'
+
+ [1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_group_nestings_on_member_group_id" ON "openstax_accounts_group_nestings" ("member_group_id")[0m
+ [1m[35m (0.6ms)[0m CREATE TABLE "openstax_accounts_group_owners" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer NOT NULL, "user_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_group_owners_on_group_id_and_user_id" ON "openstax_accounts_group_owners" ("group_id", "user_id")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_group_owners_on_group_id_and_user_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_group_owners_on_group_id_and_user_id' AND type='index'
+
+ [1m[36m (0.8ms)[0m [1mCREATE INDEX "index_openstax_accounts_group_owners_on_user_id" ON "openstax_accounts_group_owners" ("user_id")[0m
+ [1m[35m (0.9ms)[0m CREATE TABLE "openstax_accounts_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "openstax_uid" integer NOT NULL, "is_public" boolean DEFAULT 'f' NOT NULL, "name" varchar(255), "cached_subtree_group_ids" text, "cached_supertree_group_ids" text, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.9ms)[0m [1mCREATE INDEX "index_openstax_accounts_groups_on_is_public" ON "openstax_accounts_groups" ("is_public")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_openstax_accounts_groups_on_is_public' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_openstax_accounts_groups_on_is_public' AND type='index'
+
+ [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_openstax_accounts_groups_on_openstax_uid" ON "openstax_accounts_groups" ("openstax_uid")[0m
+ [1m[35m (0.9ms)[0m CREATE TABLE "ownerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_ownerships_on_owner_id_and_owner_type" ON "ownerships" ("owner_id", "owner_type")[0m
+ [1m[35m (0.7ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_account_id" ON "users" ("account_id")[0m
+ [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('6')[0m
+ [1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('5')
+ [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
+ [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
+ [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('2')[0m
+ [1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('3')
+ [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('4')[0m
+ [1m[36m (0.4ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -409870237 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "f9629b075cc62c787ebb3d3e75e926b0"], ["created_at", "2016-04-19 17:22:44.292629"], ["openstax_uid", -409870237], ["updated_at", "2016-04-19 17:22:44.292629"], ["username", "62c9d09a7f45e84ae7699e8dbf0fa129"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" IS NULL) LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::GroupOwner Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 1 AND "openstax_accounts_group_owners"."group_id" IS NULL) LIMIT 1
+ [1m[36mOpenStax::Accounts::GroupOwner Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 1 AND "openstax_accounts_group_owners"."group_id" IS NULL) LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" IS NULL) LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -1671769094 LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "is_public", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:44.325493"], ["is_public", "t"], ["name", "Test"], ["openstax_uid", -1671769094], ["updated_at", "2016-04-19 17:22:44.325493"]]
+ [1m[36mOpenStax::Accounts::GroupOwner Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 1 AND "openstax_accounts_group_owners"."group_id" = -1671769094) LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2016-04-19 17:22:44.328033"], ["group_id", -1671769094], ["updated_at", "2016-04-19 17:22:44.328033"], ["user_id", -409870237]]
+ [1m[36mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = -1671769094) LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2016-04-19 17:22:44.329374"], ["group_id", -1671769094], ["updated_at", "2016-04-19 17:22:44.329374"], ["user_id", -409870237]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.2ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_owners" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_owners"."user_id" WHERE "openstax_accounts_group_owners"."group_id" = ? ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1 [["group_id", -1671769094]]
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_members"."user_id" WHERE "openstax_accounts_group_members"."group_id" = ? ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m [["group_id", -1671769094]]
+ [1m[35m (0.9ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "aa58bc3e12ce7761d30001252a1a9850"], ["created_at", "2016-04-19 17:22:44.344037"], ["openstax_uid", 10], ["updated_at", "2016-04-19 17:22:44.344037"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by OpenStax::Accounts::Dev::AccountsController#become as HTML
+ Parameters: {"id"=>"10"}
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 15ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "abd06c3db79071fd633a91c4f70bb1a6"], ["created_at", "2016-04-19 17:22:44.367347"], ["openstax_uid", 10], ["updated_at", "2016-04-19 17:22:44.367347"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by OpenStax::Accounts::Dev::AccountsController#index as HTML
+Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.6ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2092079147 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3bdb37d2beff20a1ad72aa25cb85b7b2"], ["created_at", "2016-04-19 17:22:44.383468"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -2092079147], ["updated_at", "2016-04-19 17:22:44.383468"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1091887947 LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "75b94d04770986673d57f80c92ec962f"], ["created_at", "2016-04-19 17:22:44.385548"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1091887947], ["updated_at", "2016-04-19 17:22:44.385548"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1505483223 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a9d1e811bb61ad283452ff0523b4d237"], ["created_at", "2016-04-19 17:22:44.387802"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1505483223], ["updated_at", "2016-04-19 17:22:44.387802"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1887966448 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "91ebfb7272524c7e38f1296474aec18b"], ["created_at", "2016-04-19 17:22:44.389608"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1887966448], ["updated_at", "2016-04-19 17:22:44.389608"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.9ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1018225961 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "caa6ad13e0bcd2eac9eedf6089212d79"], ["created_at", "2016-04-19 17:22:44.395760"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1018225961], ["updated_at", "2016-04-19 17:22:44.395760"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1814510198 LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "9ed38d19138ff0c18aaa67547bd0bab2"], ["created_at", "2016-04-19 17:22:44.398066"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1814510198], ["updated_at", "2016-04-19 17:22:44.398066"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -250305046 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "91581b1024d24067e43c00b7d12d0fa6"], ["created_at", "2016-04-19 17:22:44.400598"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -250305046], ["updated_at", "2016-04-19 17:22:44.400598"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1623893112 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b650cbae43aa68fb1bd6e963ade58010"], ["created_at", "2016-04-19 17:22:44.402527"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1623893112], ["updated_at", "2016-04-19 17:22:44.402527"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts"[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1939035914 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7eadc7336e5d660207a3dd3033e8cdbd"], ["created_at", "2016-04-19 17:22:44.407998"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1939035914], ["updated_at", "2016-04-19 17:22:44.407998"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1733858094 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "cfd1342e1940a06e9ca9190a9835bfa9"], ["created_at", "2016-04-19 17:22:44.409776"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1733858094], ["updated_at", "2016-04-19 17:22:44.409776"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -793508982 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "217693c5a64fd66f934566ae49a4667f"], ["created_at", "2016-04-19 17:22:44.411599"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -793508982], ["updated_at", "2016-04-19 17:22:44.411599"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -199380182 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e6ae5227c4d5bc09404bff00dd4a02f6"], ["created_at", "2016-04-19 17:22:44.413099"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -199380182], ["updated_at", "2016-04-19 17:22:44.413099"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'john%') OR ("openstax_accounts_accounts"."first_name" LIKE 'john%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'john%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'john%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0))) AND (((((("openstax_accounts_accounts"."username" LIKE 'mighty%') OR ("openstax_accounts_accounts"."first_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0)))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'john%') OR ("openstax_accounts_accounts"."first_name" LIKE 'john%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'john%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'john%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0))) AND (((((("openstax_accounts_accounts"."username" LIKE 'mighty%') OR ("openstax_accounts_accounts"."first_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0))) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2092450932 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "502165399de3df1fb65dbb1e58a828fd"], ["created_at", "2016-04-19 17:22:44.419856"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -2092450932], ["updated_at", "2016-04-19 17:22:44.419856"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -751541015 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "659519cc3d0938676d0a16a0501f8821"], ["created_at", "2016-04-19 17:22:44.421815"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -751541015], ["updated_at", "2016-04-19 17:22:44.421815"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1603782390 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9f1bb9330ebfacabdfac4a72571ee8c1"], ["created_at", "2016-04-19 17:22:44.423821"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1603782390], ["updated_at", "2016-04-19 17:22:44.423821"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -305744238 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0b7a5216f70f57d709b323b0f62eb0d7"], ["created_at", "2016-04-19 17:22:44.425443"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -305744238], ["updated_at", "2016-04-19 17:22:44.425443"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."first_name" LIKE 'John%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."first_name" LIKE 'John%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1508214442 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "45d8231f7b810c810fc55bdd5c36a62e"], ["created_at", "2016-04-19 17:22:44.430448"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1508214442], ["updated_at", "2016-04-19 17:22:44.430448"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1123501482 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "cb54af270aed11f4ff6e5c87391375ac"], ["created_at", "2016-04-19 17:22:44.432142"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1123501482], ["updated_at", "2016-04-19 17:22:44.432142"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1408901189 LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "85fa186ceb491b7fba52e5c50af70b74"], ["created_at", "2016-04-19 17:22:44.434367"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1408901189], ["updated_at", "2016-04-19 17:22:44.434367"], ["username", "jstead"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -578785312 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b7e339e6525ba16692364d7fa15c1f49"], ["created_at", "2016-04-19 17:22:44.437772"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -578785312], ["updated_at", "2016-04-19 17:22:44.437772"], ["username", "bigbear"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'jst%') OR ("openstax_accounts_accounts"."first_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0))) AND (("openstax_accounts_accounts"."username" LIKE 'jst%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'jst%') OR ("openstax_accounts_accounts"."first_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0))) AND (("openstax_accounts_accounts"."username" LIKE 'jst%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1820365500 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b7d862809d0534f8a9684157561bf52e"], ["created_at", "2016-04-19 17:22:44.444433"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1820365500], ["updated_at", "2016-04-19 17:22:44.444433"], ["username", "jstrav"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -60861804 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "4457800ac5f99d1bcbd25dee4f08a265"], ["created_at", "2016-04-19 17:22:44.446300"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -60861804], ["updated_at", "2016-04-19 17:22:44.446300"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1007611890 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1ffdf38028cf89233e3da418f1df2b42"], ["created_at", "2016-04-19 17:22:44.448162"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1007611890], ["updated_at", "2016-04-19 17:22:44.448162"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -321385925 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e7ea299eec1590033f62d4b127757143"], ["created_at", "2016-04-19 17:22:44.449634"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -321385925], ["updated_at", "2016-04-19 17:22:44.449634"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'rav%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'rav%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.9ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -687126767 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "01facda13c2f981493f52809087d0584"], ["created_at", "2016-04-19 17:22:44.454980"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -687126767], ["updated_at", "2016-04-19 17:22:44.454980"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1367294891 LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "2704799abd94223bbc5177319083a2ea"], ["created_at", "2016-04-19 17:22:44.457206"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1367294891], ["updated_at", "2016-04-19 17:22:44.457206"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2145109566 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2238fcc734d523934fcf5e8452284818"], ["created_at", "2016-04-19 17:22:44.459344"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -2145109566], ["updated_at", "2016-04-19 17:22:44.459344"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1056405263 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fea8d0c52b0d6e4c2dd439ed04a40693"], ["created_at", "2016-04-19 17:22:44.460961"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1056405263], ["updated_at", "2016-04-19 17:22:44.460961"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'ar%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'ar%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1955805372 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "94d47976e4ba37ddba2fad01e99a2382"], ["created_at", "2016-04-19 17:22:44.465714"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1955805372], ["updated_at", "2016-04-19 17:22:44.465714"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -969709873 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "6798cafd9840ab143a897a5ccf6c803f"], ["created_at", "2016-04-19 17:22:44.467557"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -969709873], ["updated_at", "2016-04-19 17:22:44.467557"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1959958151 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "840fc89e3aa7b1fd9c0ec9fc01885163"], ["created_at", "2016-04-19 17:22:44.469532"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1959958151], ["updated_at", "2016-04-19 17:22:44.469532"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -988449474 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9c417aa295c6539bc893b9213d285625"], ["created_at", "2016-04-19 17:22:44.471232"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -988449474], ["updated_at", "2016-04-19 17:22:44.471232"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."full_name" LIKE 'Mary Mighty%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."full_name" LIKE 'Mary Mighty%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1050224425 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c0aa36c8b84a92717729005a1b050578"], ["created_at", "2016-04-19 17:22:44.476417"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1050224425], ["updated_at", "2016-04-19 17:22:44.476417"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1952535653 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "abbb64ccb777905e1a0796d6a61408ca"], ["created_at", "2016-04-19 17:22:44.478347"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1952535653], ["updated_at", "2016-04-19 17:22:44.478347"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1241657719 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d9ac705d26dce2ee79f0f5835dc9b9fe"], ["created_at", "2016-04-19 17:22:44.480328"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1241657719], ["updated_at", "2016-04-19 17:22:44.480328"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -692845402 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b1f246f945579e345d103d055a783d0a"], ["created_at", "2016-04-19 17:22:44.481990"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -692845402], ["updated_at", "2016-04-19 17:22:44.481990"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'john%' OR "openstax_accounts_accounts"."username" LIKE 'mighty%') OR ("openstax_accounts_accounts"."first_name" LIKE 'john%' OR "openstax_accounts_accounts"."first_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'john%' OR "openstax_accounts_accounts"."last_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'john%' OR "openstax_accounts_accounts"."full_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0 OR "openstax_accounts_accounts"."openstax_uid" = 0)))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.2ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'john%' OR "openstax_accounts_accounts"."username" LIKE 'mighty%') OR ("openstax_accounts_accounts"."first_name" LIKE 'john%' OR "openstax_accounts_accounts"."first_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'john%' OR "openstax_accounts_accounts"."last_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'john%' OR "openstax_accounts_accounts"."full_name" LIKE 'mighty%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0 OR "openstax_accounts_accounts"."openstax_uid" = 0))) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -949609963 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c0fd39bdc8e177d07ba9c91b354cacec"], ["created_at", "2016-04-19 17:22:44.488039"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -949609963], ["updated_at", "2016-04-19 17:22:44.488039"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -41402777 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "cc71d4f4a54f2007aec1af95a00f6066"], ["created_at", "2016-04-19 17:22:44.489884"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -41402777], ["updated_at", "2016-04-19 17:22:44.489884"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -150683707 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9c860e9f03622d57705a47b785c09934"], ["created_at", "2016-04-19 17:22:44.491780"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -150683707], ["updated_at", "2016-04-19 17:22:44.491780"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1682512551 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1b98e14c062e3b0528fa9e84281390ef"], ["created_at", "2016-04-19 17:22:44.493282"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1682512551], ["updated_at", "2016-04-19 17:22:44.493282"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'jst%') OR ("openstax_accounts_accounts"."first_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0)))[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'jst%') OR ("openstax_accounts_accounts"."first_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'jst%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0))) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1112526126 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "03a38f0ee692db3e50a8b43b94998291"], ["created_at", "2016-04-19 17:22:44.499584"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1112526126], ["updated_at", "2016-04-19 17:22:44.499584"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -722590701 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "815204b987961915b001df51c48842c0"], ["created_at", "2016-04-19 17:22:44.501577"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -722590701], ["updated_at", "2016-04-19 17:22:44.501577"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1260738139 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ad6a381f36a56c9ed436225a7bdb5ff1"], ["created_at", "2016-04-19 17:22:44.503814"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1260738139], ["updated_at", "2016-04-19 17:22:44.503814"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1381926036 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "af28d460b5503891a1cec12eee280226"], ["created_at", "2016-04-19 17:22:44.505647"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1381926036], ["updated_at", "2016-04-19 17:22:44.505647"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1454858559 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "cb9a37cc1f1c1d2f7f7d3444a2cbad66"], ["created_at", "2016-04-19 17:22:44.507382"], ["first_name", "Billy00"], ["last_name", "Bob_45"], ["openstax_uid", -1454858559], ["updated_at", "2016-04-19 17:22:44.507382"], ["username", "billy_00"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1209261833 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c278f87c3f09081ad9dee927fabb9874"], ["created_at", "2016-04-19 17:22:44.517481"], ["first_name", "Billy01"], ["last_name", "Bob_44"], ["openstax_uid", -1209261833], ["updated_at", "2016-04-19 17:22:44.517481"], ["username", "billy_01"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1786528732 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7f0d44d03c0e7a7c88d63f307fa45342"], ["created_at", "2016-04-19 17:22:44.519578"], ["first_name", "Billy02"], ["last_name", "Bob_43"], ["openstax_uid", -1786528732], ["updated_at", "2016-04-19 17:22:44.519578"], ["username", "billy_02"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2011122595 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "098e60048de0669f7d2f84b07ec53433"], ["created_at", "2016-04-19 17:22:44.521410"], ["first_name", "Billy03"], ["last_name", "Bob_42"], ["openstax_uid", -2011122595], ["updated_at", "2016-04-19 17:22:44.521410"], ["username", "billy_03"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1997389368 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1702b67fb0d943e024f72d738d952ccb"], ["created_at", "2016-04-19 17:22:44.523150"], ["first_name", "Billy04"], ["last_name", "Bob_41"], ["openstax_uid", -1997389368], ["updated_at", "2016-04-19 17:22:44.523150"], ["username", "billy_04"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -541071829 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "89e422facf9735f53105e7498fac2906"], ["created_at", "2016-04-19 17:22:44.524744"], ["first_name", "Billy05"], ["last_name", "Bob_40"], ["openstax_uid", -541071829], ["updated_at", "2016-04-19 17:22:44.524744"], ["username", "billy_05"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2138031176 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0e083b578746a801b9b6c08a33ae3dd2"], ["created_at", "2016-04-19 17:22:44.526312"], ["first_name", "Billy06"], ["last_name", "Bob_39"], ["openstax_uid", -2138031176], ["updated_at", "2016-04-19 17:22:44.526312"], ["username", "billy_06"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2136915228 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b51c24cdd20e08be285a34ffba3d9180"], ["created_at", "2016-04-19 17:22:44.527875"], ["first_name", "Billy07"], ["last_name", "Bob_38"], ["openstax_uid", -2136915228], ["updated_at", "2016-04-19 17:22:44.527875"], ["username", "billy_07"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -522839470 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fe3b8cf5a051eb2039f3965ec20876a5"], ["created_at", "2016-04-19 17:22:44.529591"], ["first_name", "Billy08"], ["last_name", "Bob_37"], ["openstax_uid", -522839470], ["updated_at", "2016-04-19 17:22:44.529591"], ["username", "billy_08"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -41440160 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f7b0c66aad070c39a87fae3c5698d308"], ["created_at", "2016-04-19 17:22:44.531186"], ["first_name", "Billy09"], ["last_name", "Bob_36"], ["openstax_uid", -41440160], ["updated_at", "2016-04-19 17:22:44.531186"], ["username", "billy_09"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -287527696 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "16094f2915a516be3bdf63344b51f9a1"], ["created_at", "2016-04-19 17:22:44.532752"], ["first_name", "Billy10"], ["last_name", "Bob_35"], ["openstax_uid", -287527696], ["updated_at", "2016-04-19 17:22:44.532752"], ["username", "billy_10"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -953251400 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "40dd13ce81fd9b50598de121458a09fe"], ["created_at", "2016-04-19 17:22:44.534311"], ["first_name", "Billy11"], ["last_name", "Bob_34"], ["openstax_uid", -953251400], ["updated_at", "2016-04-19 17:22:44.534311"], ["username", "billy_11"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -539730876 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9891556d323aae62b7b564dd78077c92"], ["created_at", "2016-04-19 17:22:44.535900"], ["first_name", "Billy12"], ["last_name", "Bob_33"], ["openstax_uid", -539730876], ["updated_at", "2016-04-19 17:22:44.535900"], ["username", "billy_12"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1109140147 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "35200d5709846f1564db195a93df071b"], ["created_at", "2016-04-19 17:22:44.538192"], ["first_name", "Billy13"], ["last_name", "Bob_32"], ["openstax_uid", -1109140147], ["updated_at", "2016-04-19 17:22:44.538192"], ["username", "billy_13"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -278028882 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a1c490fd4ed41c0ae8d8e7673d12a4a2"], ["created_at", "2016-04-19 17:22:44.540666"], ["first_name", "Billy14"], ["last_name", "Bob_31"], ["openstax_uid", -278028882], ["updated_at", "2016-04-19 17:22:44.540666"], ["username", "billy_14"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1752131163 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d25ea5b27b00579a48bac5bccb8efd2d"], ["created_at", "2016-04-19 17:22:44.542699"], ["first_name", "Billy15"], ["last_name", "Bob_30"], ["openstax_uid", -1752131163], ["updated_at", "2016-04-19 17:22:44.542699"], ["username", "billy_15"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1522616533 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0b37cf5b4192e04fa442936026459dac"], ["created_at", "2016-04-19 17:22:44.544690"], ["first_name", "Billy16"], ["last_name", "Bob_29"], ["openstax_uid", -1522616533], ["updated_at", "2016-04-19 17:22:44.544690"], ["username", "billy_16"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1416121917 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "cf53e3d4ec1a5dfa5d2df4392f475695"], ["created_at", "2016-04-19 17:22:44.546646"], ["first_name", "Billy17"], ["last_name", "Bob_28"], ["openstax_uid", -1416121917], ["updated_at", "2016-04-19 17:22:44.546646"], ["username", "billy_17"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -93254877 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "65ce620f02d5af90b743ef0374bd305f"], ["created_at", "2016-04-19 17:22:44.548351"], ["first_name", "Billy18"], ["last_name", "Bob_27"], ["openstax_uid", -93254877], ["updated_at", "2016-04-19 17:22:44.548351"], ["username", "billy_18"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -428752229 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e9be2e5a137877593f3a7342dbcdc60c"], ["created_at", "2016-04-19 17:22:44.550063"], ["first_name", "Billy19"], ["last_name", "Bob_26"], ["openstax_uid", -428752229], ["updated_at", "2016-04-19 17:22:44.550063"], ["username", "billy_19"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -57785866 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "78e6b97de32c7cbf632726b8e4e01776"], ["created_at", "2016-04-19 17:22:44.551641"], ["first_name", "Billy20"], ["last_name", "Bob_25"], ["openstax_uid", -57785866], ["updated_at", "2016-04-19 17:22:44.551641"], ["username", "billy_20"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2122275206 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5a289ab8ece8ae0911e7bdf3d0a95be6"], ["created_at", "2016-04-19 17:22:44.553164"], ["first_name", "Billy21"], ["last_name", "Bob_24"], ["openstax_uid", -2122275206], ["updated_at", "2016-04-19 17:22:44.553164"], ["username", "billy_21"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -916090413 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f0efe75bbb8797bd8fa2a332c84ae1e5"], ["created_at", "2016-04-19 17:22:44.554844"], ["first_name", "Billy22"], ["last_name", "Bob_23"], ["openstax_uid", -916090413], ["updated_at", "2016-04-19 17:22:44.554844"], ["username", "billy_22"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1221205433 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f7edf15a9177f57b9c633cb91ca7d163"], ["created_at", "2016-04-19 17:22:44.556450"], ["first_name", "Billy23"], ["last_name", "Bob_22"], ["openstax_uid", -1221205433], ["updated_at", "2016-04-19 17:22:44.556450"], ["username", "billy_23"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -933629286 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "faccfa9a253798609ed63e14d0f66f0b"], ["created_at", "2016-04-19 17:22:44.558040"], ["first_name", "Billy24"], ["last_name", "Bob_21"], ["openstax_uid", -933629286], ["updated_at", "2016-04-19 17:22:44.558040"], ["username", "billy_24"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -802381658 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5e76c965beeb0d13327b5f7bad5f19c6"], ["created_at", "2016-04-19 17:22:44.559618"], ["first_name", "Billy25"], ["last_name", "Bob_20"], ["openstax_uid", -802381658], ["updated_at", "2016-04-19 17:22:44.559618"], ["username", "billy_25"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -350135717 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3ba8e519f6a3de07ba66285a72ff210a"], ["created_at", "2016-04-19 17:22:44.561147"], ["first_name", "Billy26"], ["last_name", "Bob_19"], ["openstax_uid", -350135717], ["updated_at", "2016-04-19 17:22:44.561147"], ["username", "billy_26"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1339049838 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4e0c95d60a4bb1f88be2a224624dbd0e"], ["created_at", "2016-04-19 17:22:44.562694"], ["first_name", "Billy27"], ["last_name", "Bob_18"], ["openstax_uid", -1339049838], ["updated_at", "2016-04-19 17:22:44.562694"], ["username", "billy_27"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2130340427 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "acb3b13de1531f9b6765d91f4e5304ef"], ["created_at", "2016-04-19 17:22:44.564146"], ["first_name", "Billy28"], ["last_name", "Bob_17"], ["openstax_uid", -2130340427], ["updated_at", "2016-04-19 17:22:44.564146"], ["username", "billy_28"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2103947447 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0b62a83832e0a059fb36bcd4ddd33441"], ["created_at", "2016-04-19 17:22:44.565599"], ["first_name", "Billy29"], ["last_name", "Bob_16"], ["openstax_uid", -2103947447], ["updated_at", "2016-04-19 17:22:44.565599"], ["username", "billy_29"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2139286595 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0ab0aa1b9571ff8111af7da6ca912192"], ["created_at", "2016-04-19 17:22:44.567259"], ["first_name", "Billy30"], ["last_name", "Bob_15"], ["openstax_uid", -2139286595], ["updated_at", "2016-04-19 17:22:44.567259"], ["username", "billy_30"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -318564990 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8c27d18077d02dd4ff7e839c599d84ee"], ["created_at", "2016-04-19 17:22:44.568723"], ["first_name", "Billy31"], ["last_name", "Bob_14"], ["openstax_uid", -318564990], ["updated_at", "2016-04-19 17:22:44.568723"], ["username", "billy_31"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -724236459 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0c42beec95054b442af194677c2e18f4"], ["created_at", "2016-04-19 17:22:44.570410"], ["first_name", "Billy32"], ["last_name", "Bob_13"], ["openstax_uid", -724236459], ["updated_at", "2016-04-19 17:22:44.570410"], ["username", "billy_32"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1489933954 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e6d52889722f2002b10a00ae569e2f91"], ["created_at", "2016-04-19 17:22:44.571964"], ["first_name", "Billy33"], ["last_name", "Bob_12"], ["openstax_uid", -1489933954], ["updated_at", "2016-04-19 17:22:44.571964"], ["username", "billy_33"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1429803429 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "94a8edbfea38d6859d028fc2d57e984c"], ["created_at", "2016-04-19 17:22:44.573536"], ["first_name", "Billy34"], ["last_name", "Bob_11"], ["openstax_uid", -1429803429], ["updated_at", "2016-04-19 17:22:44.573536"], ["username", "billy_34"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1109911638 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "02f2848db3495c2942dae3faf64231ff"], ["created_at", "2016-04-19 17:22:44.575650"], ["first_name", "Billy35"], ["last_name", "Bob_10"], ["openstax_uid", -1109911638], ["updated_at", "2016-04-19 17:22:44.575650"], ["username", "billy_35"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -184125466 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4dd78137addf594284a48813fc672f6f"], ["created_at", "2016-04-19 17:22:44.577712"], ["first_name", "Billy36"], ["last_name", "Bob_09"], ["openstax_uid", -184125466], ["updated_at", "2016-04-19 17:22:44.577712"], ["username", "billy_36"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1939034592 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d771ca23fb46e7965b7e430a53e517f8"], ["created_at", "2016-04-19 17:22:44.579869"], ["first_name", "Billy37"], ["last_name", "Bob_08"], ["openstax_uid", -1939034592], ["updated_at", "2016-04-19 17:22:44.579869"], ["username", "billy_37"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -366194716 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e35b59138eaf4615a953941016c981f7"], ["created_at", "2016-04-19 17:22:44.581972"], ["first_name", "Billy38"], ["last_name", "Bob_07"], ["openstax_uid", -366194716], ["updated_at", "2016-04-19 17:22:44.581972"], ["username", "billy_38"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -305093485 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5b1c5d3a781da3c8d2940f62451e9cc2"], ["created_at", "2016-04-19 17:22:44.583978"], ["first_name", "Billy39"], ["last_name", "Bob_06"], ["openstax_uid", -305093485], ["updated_at", "2016-04-19 17:22:44.583978"], ["username", "billy_39"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -517925611 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "eb14c47ea5ed98f5163b8d673461c73d"], ["created_at", "2016-04-19 17:22:44.585751"], ["first_name", "Billy40"], ["last_name", "Bob_05"], ["openstax_uid", -517925611], ["updated_at", "2016-04-19 17:22:44.585751"], ["username", "billy_40"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1369755658 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "420a3b57a6b681db2fbb452c378a3703"], ["created_at", "2016-04-19 17:22:44.587641"], ["first_name", "Billy41"], ["last_name", "Bob_04"], ["openstax_uid", -1369755658], ["updated_at", "2016-04-19 17:22:44.587641"], ["username", "billy_41"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1118344632 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b6616b28b15e7cc156907fbf7309f266"], ["created_at", "2016-04-19 17:22:44.589373"], ["first_name", "Billy42"], ["last_name", "Bob_03"], ["openstax_uid", -1118344632], ["updated_at", "2016-04-19 17:22:44.589373"], ["username", "billy_42"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1968085227 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "11aaab028cff3ebaec7a9ce4ae4e3628"], ["created_at", "2016-04-19 17:22:44.591015"], ["first_name", "Billy43"], ["last_name", "Bob_02"], ["openstax_uid", -1968085227], ["updated_at", "2016-04-19 17:22:44.591015"], ["username", "billy_43"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1220054701 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "6321f0ca04f2c5e55e3219127012bf36"], ["created_at", "2016-04-19 17:22:44.592537"], ["first_name", "Billy44"], ["last_name", "Bob_01"], ["openstax_uid", -1220054701], ["updated_at", "2016-04-19 17:22:44.592537"], ["username", "billy_44"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -22635577 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7b06e40270f58cf51d6bb5ab131ffda3"], ["created_at", "2016-04-19 17:22:44.594148"], ["first_name", "Billy45"], ["last_name", "Bob_00"], ["openstax_uid", -22635577], ["updated_at", "2016-04-19 17:22:44.594148"], ["username", "billy_45"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%'))[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%')) ORDER BY "openstax_accounts_accounts"."username" ASC LIMIT 20 OFFSET 40[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_45' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36m (1.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -750088116 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "25a537ce30b74d185079177bfeadd7ca"], ["created_at", "2016-04-19 17:22:44.603488"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -750088116], ["updated_at", "2016-04-19 17:22:44.603488"], ["username", "jstrav"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -65698183 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f870267ce35cee49bab9d5035b7e4d61"], ["created_at", "2016-04-19 17:22:44.605349"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -65698183], ["updated_at", "2016-04-19 17:22:44.605349"], ["username", "mary"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2004024806 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "ac0dc4a5845bd3fd23703d6313d2260f"], ["created_at", "2016-04-19 17:22:44.607323"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -2004024806], ["updated_at", "2016-04-19 17:22:44.607323"], ["username", "jstead"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1695450516 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4413fdfb3af2bd3b60ce1dbe23d0fe75"], ["created_at", "2016-04-19 17:22:44.608900"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1695450516], ["updated_at", "2016-04-19 17:22:44.608900"], ["username", "bigbear"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -642085318 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bd694e5d2c008886986ce476369c84df"], ["created_at", "2016-04-19 17:22:44.610723"], ["first_name", "Billy00"], ["last_name", "Bob_45"], ["openstax_uid", -642085318], ["updated_at", "2016-04-19 17:22:44.610723"], ["username", "billy_00"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1192683092 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "50dc70577876431b4023d42b6dfec98c"], ["created_at", "2016-04-19 17:22:44.612302"], ["first_name", "Billy01"], ["last_name", "Bob_44"], ["openstax_uid", -1192683092], ["updated_at", "2016-04-19 17:22:44.612302"], ["username", "billy_01"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1664147158 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "502819181c878061528e116ffb660a1f"], ["created_at", "2016-04-19 17:22:44.613872"], ["first_name", "Billy02"], ["last_name", "Bob_43"], ["openstax_uid", -1664147158], ["updated_at", "2016-04-19 17:22:44.613872"], ["username", "billy_02"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1511308570 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8fadf430b5c19ac25ee2ed2e03c4d013"], ["created_at", "2016-04-19 17:22:44.615553"], ["first_name", "Billy03"], ["last_name", "Bob_42"], ["openstax_uid", -1511308570], ["updated_at", "2016-04-19 17:22:44.615553"], ["username", "billy_03"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1172551546 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e72da203e520ce96588f74264e473712"], ["created_at", "2016-04-19 17:22:44.617156"], ["first_name", "Billy04"], ["last_name", "Bob_41"], ["openstax_uid", -1172551546], ["updated_at", "2016-04-19 17:22:44.617156"], ["username", "billy_04"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2015628808 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "81209be2d7b9f453db7c60fd506f50d2"], ["created_at", "2016-04-19 17:22:44.618732"], ["first_name", "Billy05"], ["last_name", "Bob_40"], ["openstax_uid", -2015628808], ["updated_at", "2016-04-19 17:22:44.618732"], ["username", "billy_05"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1915190966 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3d2d4baf7134343a41fde7f1139fe49c"], ["created_at", "2016-04-19 17:22:44.620369"], ["first_name", "Billy06"], ["last_name", "Bob_39"], ["openstax_uid", -1915190966], ["updated_at", "2016-04-19 17:22:44.620369"], ["username", "billy_06"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -686017294 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8625deea655b5d1b000c4e11217645a3"], ["created_at", "2016-04-19 17:22:44.621872"], ["first_name", "Billy07"], ["last_name", "Bob_38"], ["openstax_uid", -686017294], ["updated_at", "2016-04-19 17:22:44.621872"], ["username", "billy_07"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1316672928 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "df925f352228aa7ae524276ca50cbfbf"], ["created_at", "2016-04-19 17:22:44.623356"], ["first_name", "Billy08"], ["last_name", "Bob_37"], ["openstax_uid", -1316672928], ["updated_at", "2016-04-19 17:22:44.623356"], ["username", "billy_08"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2014934907 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b357fb86c42c9d0406ac285bdce1a83c"], ["created_at", "2016-04-19 17:22:44.624828"], ["first_name", "Billy09"], ["last_name", "Bob_36"], ["openstax_uid", -2014934907], ["updated_at", "2016-04-19 17:22:44.624828"], ["username", "billy_09"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1908904037 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c608626ea6e73b57978abe473cb11654"], ["created_at", "2016-04-19 17:22:44.626308"], ["first_name", "Billy10"], ["last_name", "Bob_35"], ["openstax_uid", -1908904037], ["updated_at", "2016-04-19 17:22:44.626308"], ["username", "billy_10"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2124765206 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "65532fc8c2a9ea5aab4e45dccd820481"], ["created_at", "2016-04-19 17:22:44.627865"], ["first_name", "Billy11"], ["last_name", "Bob_34"], ["openstax_uid", -2124765206], ["updated_at", "2016-04-19 17:22:44.627865"], ["username", "billy_11"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1989581377 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9b0eb7035110603153d75d6623415be1"], ["created_at", "2016-04-19 17:22:44.629391"], ["first_name", "Billy12"], ["last_name", "Bob_33"], ["openstax_uid", -1989581377], ["updated_at", "2016-04-19 17:22:44.629391"], ["username", "billy_12"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -125962764 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "5930e203e2fdcab4dd07a23886564dfa"], ["created_at", "2016-04-19 17:22:44.630995"], ["first_name", "Billy13"], ["last_name", "Bob_32"], ["openstax_uid", -125962764], ["updated_at", "2016-04-19 17:22:44.630995"], ["username", "billy_13"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -361233204 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e0c4f798f59b6a5e3ba5c5c725ece457"], ["created_at", "2016-04-19 17:22:44.632511"], ["first_name", "Billy14"], ["last_name", "Bob_31"], ["openstax_uid", -361233204], ["updated_at", "2016-04-19 17:22:44.632511"], ["username", "billy_14"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1769623376 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3c01229846365612271397a9bbc3ad1a"], ["created_at", "2016-04-19 17:22:44.634103"], ["first_name", "Billy15"], ["last_name", "Bob_30"], ["openstax_uid", -1769623376], ["updated_at", "2016-04-19 17:22:44.634103"], ["username", "billy_15"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1501357260 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "130d56aab7d7ac80a56f637e87c5f9a6"], ["created_at", "2016-04-19 17:22:44.636002"], ["first_name", "Billy16"], ["last_name", "Bob_29"], ["openstax_uid", -1501357260], ["updated_at", "2016-04-19 17:22:44.636002"], ["username", "billy_16"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1040934997 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "49973b81b2c68c7e2735dc769070ea22"], ["created_at", "2016-04-19 17:22:44.637863"], ["first_name", "Billy17"], ["last_name", "Bob_28"], ["openstax_uid", -1040934997], ["updated_at", "2016-04-19 17:22:44.637863"], ["username", "billy_17"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -462846549 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "aa042d04a6ce9860b061b7c380ac2b02"], ["created_at", "2016-04-19 17:22:44.639513"], ["first_name", "Billy18"], ["last_name", "Bob_27"], ["openstax_uid", -462846549], ["updated_at", "2016-04-19 17:22:44.639513"], ["username", "billy_18"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1662262300 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "544ab2ab4423efab136d708ed4166984"], ["created_at", "2016-04-19 17:22:44.641168"], ["first_name", "Billy19"], ["last_name", "Bob_26"], ["openstax_uid", -1662262300], ["updated_at", "2016-04-19 17:22:44.641168"], ["username", "billy_19"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1611756681 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "5681758e9d34fe97d8fe84fc6b80e3f2"], ["created_at", "2016-04-19 17:22:44.642674"], ["first_name", "Billy20"], ["last_name", "Bob_25"], ["openstax_uid", -1611756681], ["updated_at", "2016-04-19 17:22:44.642674"], ["username", "billy_20"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1599854658 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e30f4fbea3c9343e13d906cde180913a"], ["created_at", "2016-04-19 17:22:44.644230"], ["first_name", "Billy21"], ["last_name", "Bob_24"], ["openstax_uid", -1599854658], ["updated_at", "2016-04-19 17:22:44.644230"], ["username", "billy_21"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1601041334 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f98031a82dfa070952bda76c3f6fc56e"], ["created_at", "2016-04-19 17:22:44.645833"], ["first_name", "Billy22"], ["last_name", "Bob_23"], ["openstax_uid", -1601041334], ["updated_at", "2016-04-19 17:22:44.645833"], ["username", "billy_22"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -413527277 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "2765db8ce2e5e0d3e9dbb3d527f8c973"], ["created_at", "2016-04-19 17:22:44.647442"], ["first_name", "Billy23"], ["last_name", "Bob_22"], ["openstax_uid", -413527277], ["updated_at", "2016-04-19 17:22:44.647442"], ["username", "billy_23"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1762316767 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "682ce2288070f328127ecf358d573b01"], ["created_at", "2016-04-19 17:22:44.648977"], ["first_name", "Billy24"], ["last_name", "Bob_21"], ["openstax_uid", -1762316767], ["updated_at", "2016-04-19 17:22:44.648977"], ["username", "billy_24"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1859225025 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "88d4fb2cdb5a95fe72f114243d5883e1"], ["created_at", "2016-04-19 17:22:44.650560"], ["first_name", "Billy25"], ["last_name", "Bob_20"], ["openstax_uid", -1859225025], ["updated_at", "2016-04-19 17:22:44.650560"], ["username", "billy_25"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1212922760 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "6ad6a7291fc29f777c81fed5ad3f40e0"], ["created_at", "2016-04-19 17:22:44.652054"], ["first_name", "Billy26"], ["last_name", "Bob_19"], ["openstax_uid", -1212922760], ["updated_at", "2016-04-19 17:22:44.652054"], ["username", "billy_26"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1283909847 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "ce7ad5d7954c619360a92c9d2c470785"], ["created_at", "2016-04-19 17:22:44.653618"], ["first_name", "Billy27"], ["last_name", "Bob_18"], ["openstax_uid", -1283909847], ["updated_at", "2016-04-19 17:22:44.653618"], ["username", "billy_27"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1350227463 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4bf9ac921c27a931f9ea06a429f630e9"], ["created_at", "2016-04-19 17:22:44.655376"], ["first_name", "Billy28"], ["last_name", "Bob_17"], ["openstax_uid", -1350227463], ["updated_at", "2016-04-19 17:22:44.655376"], ["username", "billy_28"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1210518068 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "83e0c1093b510339228b4a1ab7c3bdd3"], ["created_at", "2016-04-19 17:22:44.656961"], ["first_name", "Billy29"], ["last_name", "Bob_16"], ["openstax_uid", -1210518068], ["updated_at", "2016-04-19 17:22:44.656961"], ["username", "billy_29"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1393761626 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "48ddc8756a949490571d90588503a712"], ["created_at", "2016-04-19 17:22:44.658572"], ["first_name", "Billy30"], ["last_name", "Bob_15"], ["openstax_uid", -1393761626], ["updated_at", "2016-04-19 17:22:44.658572"], ["username", "billy_30"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1330495393 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bc3c652d8ba5a61da853cac7c8d1eae9"], ["created_at", "2016-04-19 17:22:44.660112"], ["first_name", "Billy31"], ["last_name", "Bob_14"], ["openstax_uid", -1330495393], ["updated_at", "2016-04-19 17:22:44.660112"], ["username", "billy_31"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -391960442 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f025e0de8cc86795ceafc0d5b3abd0e7"], ["created_at", "2016-04-19 17:22:44.661629"], ["first_name", "Billy32"], ["last_name", "Bob_13"], ["openstax_uid", -391960442], ["updated_at", "2016-04-19 17:22:44.661629"], ["username", "billy_32"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1865601396 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4610f559e5fc4a4f234a2284eaaa2176"], ["created_at", "2016-04-19 17:22:44.663150"], ["first_name", "Billy33"], ["last_name", "Bob_12"], ["openstax_uid", -1865601396], ["updated_at", "2016-04-19 17:22:44.663150"], ["username", "billy_33"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1197022038 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d52d2bb082e56fa824df7db51c6a6167"], ["created_at", "2016-04-19 17:22:44.664611"], ["first_name", "Billy34"], ["last_name", "Bob_11"], ["openstax_uid", -1197022038], ["updated_at", "2016-04-19 17:22:44.664611"], ["username", "billy_34"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1513413980 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "ced6f183c3f570cfdd436d233278aa2d"], ["created_at", "2016-04-19 17:22:44.666085"], ["first_name", "Billy35"], ["last_name", "Bob_10"], ["openstax_uid", -1513413980], ["updated_at", "2016-04-19 17:22:44.666085"], ["username", "billy_35"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1262180270 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "19e15c580ea5aa639171f504679d6294"], ["created_at", "2016-04-19 17:22:44.667674"], ["first_name", "Billy36"], ["last_name", "Bob_09"], ["openstax_uid", -1262180270], ["updated_at", "2016-04-19 17:22:44.667674"], ["username", "billy_36"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1558838084 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4f21fa5193b128978688cb127f9a97b5"], ["created_at", "2016-04-19 17:22:44.669181"], ["first_name", "Billy37"], ["last_name", "Bob_08"], ["openstax_uid", -1558838084], ["updated_at", "2016-04-19 17:22:44.669181"], ["username", "billy_37"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -772238528 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "87f34d753b3bb2565b54385920781741"], ["created_at", "2016-04-19 17:22:44.670694"], ["first_name", "Billy38"], ["last_name", "Bob_07"], ["openstax_uid", -772238528], ["updated_at", "2016-04-19 17:22:44.670694"], ["username", "billy_38"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1186848882 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7ed88ccabb7ab9535e13ad8c530f2b0d"], ["created_at", "2016-04-19 17:22:44.672247"], ["first_name", "Billy39"], ["last_name", "Bob_06"], ["openstax_uid", -1186848882], ["updated_at", "2016-04-19 17:22:44.672247"], ["username", "billy_39"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1396691811 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "233e3052b25e9846ee98cea4ea867886"], ["created_at", "2016-04-19 17:22:44.673756"], ["first_name", "Billy40"], ["last_name", "Bob_05"], ["openstax_uid", -1396691811], ["updated_at", "2016-04-19 17:22:44.673756"], ["username", "billy_40"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2114781478 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "332103460347582d81f17ae5fdfb7326"], ["created_at", "2016-04-19 17:22:44.676075"], ["first_name", "Billy41"], ["last_name", "Bob_04"], ["openstax_uid", -2114781478], ["updated_at", "2016-04-19 17:22:44.676075"], ["username", "billy_41"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1161527362 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "93f29de52109714d31e5065931b41e61"], ["created_at", "2016-04-19 17:22:44.678152"], ["first_name", "Billy42"], ["last_name", "Bob_03"], ["openstax_uid", -1161527362], ["updated_at", "2016-04-19 17:22:44.678152"], ["username", "billy_42"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1634790087 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "07d0020e2e261be42adec7c5e59e5b6f"], ["created_at", "2016-04-19 17:22:44.680167"], ["first_name", "Billy43"], ["last_name", "Bob_02"], ["openstax_uid", -1634790087], ["updated_at", "2016-04-19 17:22:44.680167"], ["username", "billy_43"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1517505920 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a7fd4f345cb430a1ee174cefb87d8494"], ["created_at", "2016-04-19 17:22:44.682214"], ["first_name", "Billy44"], ["last_name", "Bob_01"], ["openstax_uid", -1517505920], ["updated_at", "2016-04-19 17:22:44.682214"], ["username", "billy_44"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1288278993 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "853c258e2f45752affc1f36a4de840af"], ["created_at", "2016-04-19 17:22:44.684235"], ["first_name", "Billy45"], ["last_name", "Bob_00"], ["openstax_uid", -1288278993], ["updated_at", "2016-04-19 17:22:44.684235"], ["username", "billy_45"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%'))
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.2ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%')) ORDER BY "openstax_accounts_accounts"."username" ASC LIMIT 20 OFFSET 0
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_00' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_19' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36m (1.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1352132627 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b63142354bf453adb00c30e2145fc792"], ["created_at", "2016-04-19 17:22:44.692867"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1352132627], ["updated_at", "2016-04-19 17:22:44.692867"], ["username", "jstrav"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1920315463 LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "adb9cc2201f92b161e8ce6dd55e9cb6d"], ["created_at", "2016-04-19 17:22:44.699318"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1920315463], ["updated_at", "2016-04-19 17:22:44.699318"], ["username", "mary"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1568526589 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b26dc68b1bdbb0e2b9f18747ad3533ac"], ["created_at", "2016-04-19 17:22:44.701710"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1568526589], ["updated_at", "2016-04-19 17:22:44.701710"], ["username", "jstead"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -7117716 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bc82ecae71cc64067dc9c2f984420be3"], ["created_at", "2016-04-19 17:22:44.703382"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -7117716], ["updated_at", "2016-04-19 17:22:44.703382"], ["username", "bigbear"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2087217235 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "ce99fb7e47540eadb40f81416a8adabf"], ["created_at", "2016-04-19 17:22:44.704927"], ["first_name", "Billy00"], ["last_name", "Bob_45"], ["openstax_uid", -2087217235], ["updated_at", "2016-04-19 17:22:44.704927"], ["username", "billy_00"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1814505545 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "5d14f16da868065c230067722f0feb6a"], ["created_at", "2016-04-19 17:22:44.706442"], ["first_name", "Billy01"], ["last_name", "Bob_44"], ["openstax_uid", -1814505545], ["updated_at", "2016-04-19 17:22:44.706442"], ["username", "billy_01"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1397795336 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "06b13a17fa0b710ac1754c7b79fa0487"], ["created_at", "2016-04-19 17:22:44.708006"], ["first_name", "Billy02"], ["last_name", "Bob_43"], ["openstax_uid", -1397795336], ["updated_at", "2016-04-19 17:22:44.708006"], ["username", "billy_02"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -196661510 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1a556163ed95f8d297834fdaf05415e1"], ["created_at", "2016-04-19 17:22:44.709480"], ["first_name", "Billy03"], ["last_name", "Bob_42"], ["openstax_uid", -196661510], ["updated_at", "2016-04-19 17:22:44.709480"], ["username", "billy_03"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1122596554 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7af06cb8e95c733a42135089c8ebb8a7"], ["created_at", "2016-04-19 17:22:44.710965"], ["first_name", "Billy04"], ["last_name", "Bob_41"], ["openstax_uid", -1122596554], ["updated_at", "2016-04-19 17:22:44.710965"], ["username", "billy_04"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -369897463 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3542c3adc4effb974bf921710e8deddc"], ["created_at", "2016-04-19 17:22:44.712784"], ["first_name", "Billy05"], ["last_name", "Bob_40"], ["openstax_uid", -369897463], ["updated_at", "2016-04-19 17:22:44.712784"], ["username", "billy_05"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -676495722 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1e5a58197589aa675cc3a6e52bf73077"], ["created_at", "2016-04-19 17:22:44.714295"], ["first_name", "Billy06"], ["last_name", "Bob_39"], ["openstax_uid", -676495722], ["updated_at", "2016-04-19 17:22:44.714295"], ["username", "billy_06"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1528451208 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cf346b525053d7ee5d4fbaa6256343fa"], ["created_at", "2016-04-19 17:22:44.716025"], ["first_name", "Billy07"], ["last_name", "Bob_38"], ["openstax_uid", -1528451208], ["updated_at", "2016-04-19 17:22:44.716025"], ["username", "billy_07"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1006918455 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a4a755ac97fdde70ad6ed21a381078d8"], ["created_at", "2016-04-19 17:22:44.717780"], ["first_name", "Billy08"], ["last_name", "Bob_37"], ["openstax_uid", -1006918455], ["updated_at", "2016-04-19 17:22:44.717780"], ["username", "billy_08"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -186897943 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "633ea932a4f0a8c2a9bf9ada79201d54"], ["created_at", "2016-04-19 17:22:44.719355"], ["first_name", "Billy09"], ["last_name", "Bob_36"], ["openstax_uid", -186897943], ["updated_at", "2016-04-19 17:22:44.719355"], ["username", "billy_09"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -303986149 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3cb9b1482e66d254bc75ae94bfba14be"], ["created_at", "2016-04-19 17:22:44.720933"], ["first_name", "Billy10"], ["last_name", "Bob_35"], ["openstax_uid", -303986149], ["updated_at", "2016-04-19 17:22:44.720933"], ["username", "billy_10"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1049928071 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7103f1451180359aa0d3f8a890b35b4c"], ["created_at", "2016-04-19 17:22:44.722447"], ["first_name", "Billy11"], ["last_name", "Bob_34"], ["openstax_uid", -1049928071], ["updated_at", "2016-04-19 17:22:44.722447"], ["username", "billy_11"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -476595847 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3a5652f25aeb6feb8fb4ee0c58ddeb6f"], ["created_at", "2016-04-19 17:22:44.723941"], ["first_name", "Billy12"], ["last_name", "Bob_33"], ["openstax_uid", -476595847], ["updated_at", "2016-04-19 17:22:44.723941"], ["username", "billy_12"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -678418438 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "fa3eef9b87e49ffc4d5b6093a619b83c"], ["created_at", "2016-04-19 17:22:44.725507"], ["first_name", "Billy13"], ["last_name", "Bob_32"], ["openstax_uid", -678418438], ["updated_at", "2016-04-19 17:22:44.725507"], ["username", "billy_13"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1179204044 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "15494139dbd9f9722069cd88a19578a1"], ["created_at", "2016-04-19 17:22:44.727112"], ["first_name", "Billy14"], ["last_name", "Bob_31"], ["openstax_uid", -1179204044], ["updated_at", "2016-04-19 17:22:44.727112"], ["username", "billy_14"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -133005890 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "693b7bf2bba44a68b427918094f44c23"], ["created_at", "2016-04-19 17:22:44.728674"], ["first_name", "Billy15"], ["last_name", "Bob_30"], ["openstax_uid", -133005890], ["updated_at", "2016-04-19 17:22:44.728674"], ["username", "billy_15"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1433440733 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "34b239d7a368d4e2c002d59943f2d6a9"], ["created_at", "2016-04-19 17:22:44.730220"], ["first_name", "Billy16"], ["last_name", "Bob_29"], ["openstax_uid", -1433440733], ["updated_at", "2016-04-19 17:22:44.730220"], ["username", "billy_16"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -477226143 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e226034e34741adcdba5bb723cb44da8"], ["created_at", "2016-04-19 17:22:44.731804"], ["first_name", "Billy17"], ["last_name", "Bob_28"], ["openstax_uid", -477226143], ["updated_at", "2016-04-19 17:22:44.731804"], ["username", "billy_17"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2085609839 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9cd57f79d6043b4aa965f536d786f7b0"], ["created_at", "2016-04-19 17:22:44.733354"], ["first_name", "Billy18"], ["last_name", "Bob_27"], ["openstax_uid", -2085609839], ["updated_at", "2016-04-19 17:22:44.733354"], ["username", "billy_18"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -967541780 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1b60c005e490caa73d92d87fd8dfead1"], ["created_at", "2016-04-19 17:22:44.735016"], ["first_name", "Billy19"], ["last_name", "Bob_26"], ["openstax_uid", -967541780], ["updated_at", "2016-04-19 17:22:44.735016"], ["username", "billy_19"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1371313947 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "98740260e62fd37337361be456374271"], ["created_at", "2016-04-19 17:22:44.736930"], ["first_name", "Billy20"], ["last_name", "Bob_25"], ["openstax_uid", -1371313947], ["updated_at", "2016-04-19 17:22:44.736930"], ["username", "billy_20"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1774077510 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f826d5ee326d4c75e6464961802f91da"], ["created_at", "2016-04-19 17:22:44.739363"], ["first_name", "Billy21"], ["last_name", "Bob_24"], ["openstax_uid", -1774077510], ["updated_at", "2016-04-19 17:22:44.739363"], ["username", "billy_21"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1124771899 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a49c249d31ccafb8b95a1f81bef9d704"], ["created_at", "2016-04-19 17:22:44.741504"], ["first_name", "Billy22"], ["last_name", "Bob_23"], ["openstax_uid", -1124771899], ["updated_at", "2016-04-19 17:22:44.741504"], ["username", "billy_22"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -748913575 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "eacb8455f6db84c671c446e347cc11ec"], ["created_at", "2016-04-19 17:22:44.743531"], ["first_name", "Billy23"], ["last_name", "Bob_22"], ["openstax_uid", -748913575], ["updated_at", "2016-04-19 17:22:44.743531"], ["username", "billy_23"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1585973169 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b9287d921b6624f76aa1db870be0764f"], ["created_at", "2016-04-19 17:22:44.745510"], ["first_name", "Billy24"], ["last_name", "Bob_21"], ["openstax_uid", -1585973169], ["updated_at", "2016-04-19 17:22:44.745510"], ["username", "billy_24"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -799577228 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3a74e288ab8a6a66dfea691b74cb5974"], ["created_at", "2016-04-19 17:22:44.747379"], ["first_name", "Billy25"], ["last_name", "Bob_20"], ["openstax_uid", -799577228], ["updated_at", "2016-04-19 17:22:44.747379"], ["username", "billy_25"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -516229239 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "351ea0b2aec2ef46f44ddda7a0a1eff1"], ["created_at", "2016-04-19 17:22:44.749027"], ["first_name", "Billy26"], ["last_name", "Bob_19"], ["openstax_uid", -516229239], ["updated_at", "2016-04-19 17:22:44.749027"], ["username", "billy_26"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -178047919 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8cb44e6fad21f4e44a13a74aa37ac09f"], ["created_at", "2016-04-19 17:22:44.750711"], ["first_name", "Billy27"], ["last_name", "Bob_18"], ["openstax_uid", -178047919], ["updated_at", "2016-04-19 17:22:44.750711"], ["username", "billy_27"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1554708212 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e156be319c85265dd5180a149c4ce3e0"], ["created_at", "2016-04-19 17:22:44.752206"], ["first_name", "Billy28"], ["last_name", "Bob_17"], ["openstax_uid", -1554708212], ["updated_at", "2016-04-19 17:22:44.752206"], ["username", "billy_28"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -896679654 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d962602579d3732d036849173ee6f3a6"], ["created_at", "2016-04-19 17:22:44.753733"], ["first_name", "Billy29"], ["last_name", "Bob_16"], ["openstax_uid", -896679654], ["updated_at", "2016-04-19 17:22:44.753733"], ["username", "billy_29"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -205487869 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3ea898167811ef261dd99553d1af90bb"], ["created_at", "2016-04-19 17:22:44.755689"], ["first_name", "Billy30"], ["last_name", "Bob_15"], ["openstax_uid", -205487869], ["updated_at", "2016-04-19 17:22:44.755689"], ["username", "billy_30"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1789714695 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d9241c5b5e14b63e79b0690bea187ab6"], ["created_at", "2016-04-19 17:22:44.757495"], ["first_name", "Billy31"], ["last_name", "Bob_14"], ["openstax_uid", -1789714695], ["updated_at", "2016-04-19 17:22:44.757495"], ["username", "billy_31"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1384097537 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "787d2f3c6f3b6dda07230c6500898cd2"], ["created_at", "2016-04-19 17:22:44.759174"], ["first_name", "Billy32"], ["last_name", "Bob_13"], ["openstax_uid", -1384097537], ["updated_at", "2016-04-19 17:22:44.759174"], ["username", "billy_32"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1683314654 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "783563c32d4b72467e6b1f47af53d810"], ["created_at", "2016-04-19 17:22:44.760722"], ["first_name", "Billy33"], ["last_name", "Bob_12"], ["openstax_uid", -1683314654], ["updated_at", "2016-04-19 17:22:44.760722"], ["username", "billy_33"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -696658841 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7ab85bee0f2fc5d6e8b1f698410ae9fe"], ["created_at", "2016-04-19 17:22:44.762252"], ["first_name", "Billy34"], ["last_name", "Bob_11"], ["openstax_uid", -696658841], ["updated_at", "2016-04-19 17:22:44.762252"], ["username", "billy_34"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -514965346 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3d37d49b904f7025bfd954873c65e172"], ["created_at", "2016-04-19 17:22:44.764474"], ["first_name", "Billy35"], ["last_name", "Bob_10"], ["openstax_uid", -514965346], ["updated_at", "2016-04-19 17:22:44.764474"], ["username", "billy_35"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -412381215 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4ed70b08b7cb2ae6b572ffb97499cada"], ["created_at", "2016-04-19 17:22:44.766511"], ["first_name", "Billy36"], ["last_name", "Bob_09"], ["openstax_uid", -412381215], ["updated_at", "2016-04-19 17:22:44.766511"], ["username", "billy_36"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1177729674 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "48e9ffa551e5305c561b8d1b2eef6a85"], ["created_at", "2016-04-19 17:22:44.768332"], ["first_name", "Billy37"], ["last_name", "Bob_08"], ["openstax_uid", -1177729674], ["updated_at", "2016-04-19 17:22:44.768332"], ["username", "billy_37"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1089408919 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c4f786c6ef0e204dc85cd9ce74f8d8a5"], ["created_at", "2016-04-19 17:22:44.770360"], ["first_name", "Billy38"], ["last_name", "Bob_07"], ["openstax_uid", -1089408919], ["updated_at", "2016-04-19 17:22:44.770360"], ["username", "billy_38"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1211879041 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b13c9814baefca1ee4fad39d93fdc961"], ["created_at", "2016-04-19 17:22:44.771913"], ["first_name", "Billy39"], ["last_name", "Bob_06"], ["openstax_uid", -1211879041], ["updated_at", "2016-04-19 17:22:44.771913"], ["username", "billy_39"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2118165333 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e3fb8f7c65b312fe3b2ea94ef45aa72d"], ["created_at", "2016-04-19 17:22:44.773476"], ["first_name", "Billy40"], ["last_name", "Bob_05"], ["openstax_uid", -2118165333], ["updated_at", "2016-04-19 17:22:44.773476"], ["username", "billy_40"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -577493668 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9bb6cbadb002dab1b15294358413ba23"], ["created_at", "2016-04-19 17:22:44.775079"], ["first_name", "Billy41"], ["last_name", "Bob_04"], ["openstax_uid", -577493668], ["updated_at", "2016-04-19 17:22:44.775079"], ["username", "billy_41"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1821808875 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "70954ff2101261bfee37ea28f7eb3d91"], ["created_at", "2016-04-19 17:22:44.776699"], ["first_name", "Billy42"], ["last_name", "Bob_03"], ["openstax_uid", -1821808875], ["updated_at", "2016-04-19 17:22:44.776699"], ["username", "billy_42"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1119464737 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7fc32657246bf09c52777e0b93a6e5ff"], ["created_at", "2016-04-19 17:22:44.778385"], ["first_name", "Billy43"], ["last_name", "Bob_02"], ["openstax_uid", -1119464737], ["updated_at", "2016-04-19 17:22:44.778385"], ["username", "billy_43"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -327915157 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d0329d1231f17668f497cae97ca4b3cb"], ["created_at", "2016-04-19 17:22:44.779969"], ["first_name", "Billy44"], ["last_name", "Bob_01"], ["openstax_uid", -327915157], ["updated_at", "2016-04-19 17:22:44.779969"], ["username", "billy_44"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1816014771 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bfe2fee0172397b8cca1cee7b5075e6c"], ["created_at", "2016-04-19 17:22:44.781683"], ["first_name", "Billy45"], ["last_name", "Bob_00"], ["openstax_uid", -1816014771], ["updated_at", "2016-04-19 17:22:44.781683"], ["username", "billy_45"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%'))
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.2ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%')) ORDER BY "openstax_accounts_accounts"."username" ASC LIMIT 20 OFFSET 20
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_20' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_39' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36m (1.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -250426882 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "82ae05e33fd539cbaef08feb672b5445"], ["created_at", "2016-04-19 17:22:44.789943"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -250426882], ["updated_at", "2016-04-19 17:22:44.789943"], ["username", "jstrav"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -110418782 LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7addedc1c812b23f14d04b6b65f93d01"], ["created_at", "2016-04-19 17:22:44.791841"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -110418782], ["updated_at", "2016-04-19 17:22:44.791841"], ["username", "mary"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -782937692 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "dcfca3c7dacead4dd6edd19f790fe0b8"], ["created_at", "2016-04-19 17:22:44.793849"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -782937692], ["updated_at", "2016-04-19 17:22:44.793849"], ["username", "jstead"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1622921201 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c2990b7a14537a2609c1b3ed4cba22a7"], ["created_at", "2016-04-19 17:22:44.796102"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -1622921201], ["updated_at", "2016-04-19 17:22:44.796102"], ["username", "bigbear"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -815814947 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c153211d6861cc80cc7f665ee5fa50ae"], ["created_at", "2016-04-19 17:22:44.798808"], ["first_name", "Bob"], ["last_name", "Brown"], ["openstax_uid", -815814947], ["updated_at", "2016-04-19 17:22:44.798808"], ["username", "foo_bb"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -695639194 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "662afce8927587ede20c401380cf4ff6"], ["created_at", "2016-04-19 17:22:44.800424"], ["first_name", "Bob"], ["last_name", "Jones"], ["openstax_uid", -695639194], ["updated_at", "2016-04-19 17:22:44.800424"], ["username", "foo_bj"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1785158444 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "66b3ba3f25885ca73f98dec05ee3705c"], ["created_at", "2016-04-19 17:22:44.801926"], ["first_name", "Tim"], ["last_name", "Jones"], ["openstax_uid", -1785158444], ["updated_at", "2016-04-19 17:22:44.801926"], ["username", "foo_tj"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'foo%'))
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'foo%')) ORDER BY "openstax_accounts_accounts"."first_name" ASC, "openstax_accounts_accounts"."last_name" DESC
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'foo%'))
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'foo%')) ORDER BY "openstax_accounts_accounts"."first_name" ASC, "openstax_accounts_accounts"."last_name" ASC
+ [1m[36m (1.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+Processing by AnonymousController#action_needing_authentication as
+Redirected to http://test.host/accounts/login
+Filter chain halted as :authenticate_user! rendered or redirected
+Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'ecfed3' LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'ecfed3' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", "2016-04-19 17:22:44.840111"], ["openstax_uid", 2], ["updated_at", "2016-04-19 17:22:44.840111"], ["username", "ecfed3"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 3 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'alice' LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 3 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'alice' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:44.847614"], ["openstax_uid", 3], ["updated_at", "2016-04-19 17:22:44.847614"], ["username", "alice"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'alice2' LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'alice2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", "2016-04-19 17:22:44.855326"], ["openstax_uid", 4], ["updated_at", "2016-04-19 17:22:44.855326"], ["username", "alice2"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = '0bbcc7' LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = '0bbcc7' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:44.870442"], ["first_name", "Bob"], ["full_name", "Bob Smith"], ["last_name", "Smith"], ["openstax_uid", 1], ["updated_at", "2016-04-19 17:22:44.870442"], ["username", "0bbcc7"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1142219569 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9fed6bb84cc64306a3333853deefc1ff"], ["created_at", "2016-04-19 17:22:44.874026"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -1142219569], ["updated_at", "2016-04-19 17:22:44.874026"], ["username", "jstrav"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -482008178 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "676febd44780ac750e6046160ef57152"], ["created_at", "2016-04-19 17:22:44.875915"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -482008178], ["updated_at", "2016-04-19 17:22:44.875915"], ["username", "mary"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -449833292 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "04a651225b035481272279b990e62537"], ["created_at", "2016-04-19 17:22:44.877987"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -449833292], ["updated_at", "2016-04-19 17:22:44.877987"], ["username", "jstead"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -542524914 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "15e27ce1f6ee45388d9d38b398632ec7"], ["created_at", "2016-04-19 17:22:44.879648"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -542524914], ["updated_at", "2016-04-19 17:22:44.879648"], ["username", "bigbear"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -398848215 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bddeda243276f818dfcdc2415982cddf"], ["created_at", "2016-04-19 17:22:44.888239"], ["first_name", "Billy00"], ["last_name", "Bob_49"], ["openstax_uid", -398848215], ["updated_at", "2016-04-19 17:22:44.888239"], ["username", "billy_00"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1650695065 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b88d6adefe6e7a5a0d7e2bff66eedba8"], ["created_at", "2016-04-19 17:22:44.890149"], ["first_name", "Billy01"], ["last_name", "Bob_48"], ["openstax_uid", -1650695065], ["updated_at", "2016-04-19 17:22:44.890149"], ["username", "billy_01"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -665113423 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f34702d19d76053ae9d977e57d712d56"], ["created_at", "2016-04-19 17:22:44.891732"], ["first_name", "Billy02"], ["last_name", "Bob_47"], ["openstax_uid", -665113423], ["updated_at", "2016-04-19 17:22:44.891732"], ["username", "billy_02"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1741247171 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a1ddc394f85a21fa8ae02c932286a764"], ["created_at", "2016-04-19 17:22:44.893401"], ["first_name", "Billy03"], ["last_name", "Bob_46"], ["openstax_uid", -1741247171], ["updated_at", "2016-04-19 17:22:44.893401"], ["username", "billy_03"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1686643922 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "57738d2c7d4cbfce2b1b4f4789b48e83"], ["created_at", "2016-04-19 17:22:44.895189"], ["first_name", "Billy04"], ["last_name", "Bob_45"], ["openstax_uid", -1686643922], ["updated_at", "2016-04-19 17:22:44.895189"], ["username", "billy_04"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -615140056 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e22856ca2716ab277b786cd420f962e2"], ["created_at", "2016-04-19 17:22:44.896886"], ["first_name", "Billy05"], ["last_name", "Bob_44"], ["openstax_uid", -615140056], ["updated_at", "2016-04-19 17:22:44.896886"], ["username", "billy_05"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -492768888 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4b1448141c5f5b590ed4070a2f21a46f"], ["created_at", "2016-04-19 17:22:44.898569"], ["first_name", "Billy06"], ["last_name", "Bob_43"], ["openstax_uid", -492768888], ["updated_at", "2016-04-19 17:22:44.898569"], ["username", "billy_06"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -776099558 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b78fd2adaa456c70b3ec00f2c35c20dd"], ["created_at", "2016-04-19 17:22:44.900117"], ["first_name", "Billy07"], ["last_name", "Bob_42"], ["openstax_uid", -776099558], ["updated_at", "2016-04-19 17:22:44.900117"], ["username", "billy_07"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1877615721 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8cc688035b414a16f309db9f037f497d"], ["created_at", "2016-04-19 17:22:44.901665"], ["first_name", "Billy08"], ["last_name", "Bob_41"], ["openstax_uid", -1877615721], ["updated_at", "2016-04-19 17:22:44.901665"], ["username", "billy_08"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -785725024 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "26ae3109c9b9cf011ff50bf22e0dfa06"], ["created_at", "2016-04-19 17:22:44.903217"], ["first_name", "Billy09"], ["last_name", "Bob_40"], ["openstax_uid", -785725024], ["updated_at", "2016-04-19 17:22:44.903217"], ["username", "billy_09"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -506633941 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9b9859bb2c6a1c18ed730b587234a4a2"], ["created_at", "2016-04-19 17:22:44.904868"], ["first_name", "Billy10"], ["last_name", "Bob_39"], ["openstax_uid", -506633941], ["updated_at", "2016-04-19 17:22:44.904868"], ["username", "billy_10"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1544797377 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "091da9cc7bd80f7917c38ab4f0f9c761"], ["created_at", "2016-04-19 17:22:44.906412"], ["first_name", "Billy11"], ["last_name", "Bob_38"], ["openstax_uid", -1544797377], ["updated_at", "2016-04-19 17:22:44.906412"], ["username", "billy_11"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1323774385 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "55b3967fc6ef792b1335ad684884c804"], ["created_at", "2016-04-19 17:22:44.907910"], ["first_name", "Billy12"], ["last_name", "Bob_37"], ["openstax_uid", -1323774385], ["updated_at", "2016-04-19 17:22:44.907910"], ["username", "billy_12"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1856251688 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e486c13700c53b1f095b47f218a6025b"], ["created_at", "2016-04-19 17:22:44.909486"], ["first_name", "Billy13"], ["last_name", "Bob_36"], ["openstax_uid", -1856251688], ["updated_at", "2016-04-19 17:22:44.909486"], ["username", "billy_13"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1078889958 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "58b2f830103680d6476bb85406f11adc"], ["created_at", "2016-04-19 17:22:44.911039"], ["first_name", "Billy14"], ["last_name", "Bob_35"], ["openstax_uid", -1078889958], ["updated_at", "2016-04-19 17:22:44.911039"], ["username", "billy_14"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -879380799 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "764e96d4b0794c3f744a87ff0b685082"], ["created_at", "2016-04-19 17:22:44.912554"], ["first_name", "Billy15"], ["last_name", "Bob_34"], ["openstax_uid", -879380799], ["updated_at", "2016-04-19 17:22:44.912554"], ["username", "billy_15"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -50047768 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1824420a85f872505ab3d40a4ba476fc"], ["created_at", "2016-04-19 17:22:44.914045"], ["first_name", "Billy16"], ["last_name", "Bob_33"], ["openstax_uid", -50047768], ["updated_at", "2016-04-19 17:22:44.914045"], ["username", "billy_16"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1549215693 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "88d681229729bc8d0ad223cf2a017eba"], ["created_at", "2016-04-19 17:22:44.915708"], ["first_name", "Billy17"], ["last_name", "Bob_32"], ["openstax_uid", -1549215693], ["updated_at", "2016-04-19 17:22:44.915708"], ["username", "billy_17"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -418829365 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0fe0e68b151b35e460881f07bb88b198"], ["created_at", "2016-04-19 17:22:44.917934"], ["first_name", "Billy18"], ["last_name", "Bob_31"], ["openstax_uid", -418829365], ["updated_at", "2016-04-19 17:22:44.917934"], ["username", "billy_18"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -573182908 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "6ff0bdebaf0e7a93c84affbcbbc91880"], ["created_at", "2016-04-19 17:22:44.920329"], ["first_name", "Billy19"], ["last_name", "Bob_30"], ["openstax_uid", -573182908], ["updated_at", "2016-04-19 17:22:44.920329"], ["username", "billy_19"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1327206028 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9dbcc531b9a61d4af77c2ea6e82e4337"], ["created_at", "2016-04-19 17:22:44.922329"], ["first_name", "Billy20"], ["last_name", "Bob_29"], ["openstax_uid", -1327206028], ["updated_at", "2016-04-19 17:22:44.922329"], ["username", "billy_20"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -386775718 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bcdd5baed530a42ffd33210632fa7a62"], ["created_at", "2016-04-19 17:22:44.924294"], ["first_name", "Billy21"], ["last_name", "Bob_28"], ["openstax_uid", -386775718], ["updated_at", "2016-04-19 17:22:44.924294"], ["username", "billy_21"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1625050664 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "937e00a84254c92bed54d50380608579"], ["created_at", "2016-04-19 17:22:44.926278"], ["first_name", "Billy22"], ["last_name", "Bob_27"], ["openstax_uid", -1625050664], ["updated_at", "2016-04-19 17:22:44.926278"], ["username", "billy_22"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -785356673 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cca4ce4ce2a9d227520effaf976dc3ab"], ["created_at", "2016-04-19 17:22:44.928012"], ["first_name", "Billy23"], ["last_name", "Bob_26"], ["openstax_uid", -785356673], ["updated_at", "2016-04-19 17:22:44.928012"], ["username", "billy_23"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1725737744 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c237c79ac4dd736a95f50818fc37cc83"], ["created_at", "2016-04-19 17:22:44.929739"], ["first_name", "Billy24"], ["last_name", "Bob_25"], ["openstax_uid", -1725737744], ["updated_at", "2016-04-19 17:22:44.929739"], ["username", "billy_24"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1808389379 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8fee5f4cc5b148681649589e0faa6105"], ["created_at", "2016-04-19 17:22:44.931237"], ["first_name", "Billy25"], ["last_name", "Bob_24"], ["openstax_uid", -1808389379], ["updated_at", "2016-04-19 17:22:44.931237"], ["username", "billy_25"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -226726362 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8b2cd9c9cd6aee5e4365824dd86f2993"], ["created_at", "2016-04-19 17:22:44.932728"], ["first_name", "Billy26"], ["last_name", "Bob_23"], ["openstax_uid", -226726362], ["updated_at", "2016-04-19 17:22:44.932728"], ["username", "billy_26"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -514595996 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "dc17939264e217b4c0c2d8b225cf5db3"], ["created_at", "2016-04-19 17:22:44.934230"], ["first_name", "Billy27"], ["last_name", "Bob_22"], ["openstax_uid", -514595996], ["updated_at", "2016-04-19 17:22:44.934230"], ["username", "billy_27"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1752042103 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d86a4a1d6f603ecd15e6b37f3d704d21"], ["created_at", "2016-04-19 17:22:44.935841"], ["first_name", "Billy28"], ["last_name", "Bob_21"], ["openstax_uid", -1752042103], ["updated_at", "2016-04-19 17:22:44.935841"], ["username", "billy_28"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1248466933 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "98315b7f21737fce70ade27fd77800ef"], ["created_at", "2016-04-19 17:22:44.937600"], ["first_name", "Billy29"], ["last_name", "Bob_20"], ["openstax_uid", -1248466933], ["updated_at", "2016-04-19 17:22:44.937600"], ["username", "billy_29"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -538654848 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a9bd8e75eb2ec92ccd378cd957b62005"], ["created_at", "2016-04-19 17:22:44.939226"], ["first_name", "Billy30"], ["last_name", "Bob_19"], ["openstax_uid", -538654848], ["updated_at", "2016-04-19 17:22:44.939226"], ["username", "billy_30"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1480669861 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3a91674c751225d0b6261056705baa73"], ["created_at", "2016-04-19 17:22:44.940781"], ["first_name", "Billy31"], ["last_name", "Bob_18"], ["openstax_uid", -1480669861], ["updated_at", "2016-04-19 17:22:44.940781"], ["username", "billy_31"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -474494623 LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "af342f43a4341819a1481ee2c41dac21"], ["created_at", "2016-04-19 17:22:44.942326"], ["first_name", "Billy32"], ["last_name", "Bob_17"], ["openstax_uid", -474494623], ["updated_at", "2016-04-19 17:22:44.942326"], ["username", "billy_32"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2120926770 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f5e3b3b42074ba82e42b36174e1f2d8b"], ["created_at", "2016-04-19 17:22:44.943843"], ["first_name", "Billy33"], ["last_name", "Bob_16"], ["openstax_uid", -2120926770], ["updated_at", "2016-04-19 17:22:44.943843"], ["username", "billy_33"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1736382753 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "65f0a157576cda2f9c615993071ba211"], ["created_at", "2016-04-19 17:22:44.945386"], ["first_name", "Billy34"], ["last_name", "Bob_15"], ["openstax_uid", -1736382753], ["updated_at", "2016-04-19 17:22:44.945386"], ["username", "billy_34"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1005721444 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8d56ca41f117696baf1196287d922e5e"], ["created_at", "2016-04-19 17:22:44.946934"], ["first_name", "Billy35"], ["last_name", "Bob_14"], ["openstax_uid", -1005721444], ["updated_at", "2016-04-19 17:22:44.946934"], ["username", "billy_35"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1930684086 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c92b209eb8812d651717722fe831f276"], ["created_at", "2016-04-19 17:22:44.948523"], ["first_name", "Billy36"], ["last_name", "Bob_13"], ["openstax_uid", -1930684086], ["updated_at", "2016-04-19 17:22:44.948523"], ["username", "billy_36"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1211593942 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e823e1145437dfee451c53eda02fa53d"], ["created_at", "2016-04-19 17:22:44.950192"], ["first_name", "Billy37"], ["last_name", "Bob_12"], ["openstax_uid", -1211593942], ["updated_at", "2016-04-19 17:22:44.950192"], ["username", "billy_37"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -697847875 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bbc915012b48f728e119bc3271125523"], ["created_at", "2016-04-19 17:22:44.951768"], ["first_name", "Billy38"], ["last_name", "Bob_11"], ["openstax_uid", -697847875], ["updated_at", "2016-04-19 17:22:44.951768"], ["username", "billy_38"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1142831764 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4e338e7441e85b08bee160d4bfb40ac8"], ["created_at", "2016-04-19 17:22:44.953403"], ["first_name", "Billy39"], ["last_name", "Bob_10"], ["openstax_uid", -1142831764], ["updated_at", "2016-04-19 17:22:44.953403"], ["username", "billy_39"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -745964299 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "6e3895250fbb9ae23a0202a1050fd6d7"], ["created_at", "2016-04-19 17:22:44.955478"], ["first_name", "Billy40"], ["last_name", "Bob_09"], ["openstax_uid", -745964299], ["updated_at", "2016-04-19 17:22:44.955478"], ["username", "billy_40"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1829499419 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e87b5e214128b4b5424dd3f340ded988"], ["created_at", "2016-04-19 17:22:44.957451"], ["first_name", "Billy41"], ["last_name", "Bob_08"], ["openstax_uid", -1829499419], ["updated_at", "2016-04-19 17:22:44.957451"], ["username", "billy_41"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -339475191 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b625652cfc8dc0272b981905d7ae4a02"], ["created_at", "2016-04-19 17:22:44.959463"], ["first_name", "Billy42"], ["last_name", "Bob_07"], ["openstax_uid", -339475191], ["updated_at", "2016-04-19 17:22:44.959463"], ["username", "billy_42"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1217177122 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "afadd79e51461d2cc81af83f15ca63be"], ["created_at", "2016-04-19 17:22:44.961465"], ["first_name", "Billy43"], ["last_name", "Bob_06"], ["openstax_uid", -1217177122], ["updated_at", "2016-04-19 17:22:44.961465"], ["username", "billy_43"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2131972060 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cd6047b70ed1f60c450f6e27bca10064"], ["created_at", "2016-04-19 17:22:44.963462"], ["first_name", "Billy44"], ["last_name", "Bob_05"], ["openstax_uid", -2131972060], ["updated_at", "2016-04-19 17:22:44.963462"], ["username", "billy_44"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -539421347 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "dcc8df1b91b9bf969638be2faaf6d31d"], ["created_at", "2016-04-19 17:22:44.965196"], ["first_name", "Billy45"], ["last_name", "Bob_04"], ["openstax_uid", -539421347], ["updated_at", "2016-04-19 17:22:44.965196"], ["username", "billy_45"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1037325885 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b93e71ebde0b6050c185a9df984fbecc"], ["created_at", "2016-04-19 17:22:44.966866"], ["first_name", "Billy46"], ["last_name", "Bob_03"], ["openstax_uid", -1037325885], ["updated_at", "2016-04-19 17:22:44.966866"], ["username", "billy_46"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1302281358 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b63f3c51ca796eab232e5171b931d1a2"], ["created_at", "2016-04-19 17:22:44.968430"], ["first_name", "Billy47"], ["last_name", "Bob_02"], ["openstax_uid", -1302281358], ["updated_at", "2016-04-19 17:22:44.968430"], ["username", "billy_47"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -418376375 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "fe8219b39d6bae44684a08a29359b70c"], ["created_at", "2016-04-19 17:22:44.969961"], ["first_name", "Billy48"], ["last_name", "Bob_01"], ["openstax_uid", -418376375], ["updated_at", "2016-04-19 17:22:44.969961"], ["username", "billy_48"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1011749124 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a1f5002d197fd5f0e0a3dbd7e83d2b12"], ["created_at", "2016-04-19 17:22:44.971504"], ["first_name", "Billy49"], ["last_name", "Bob_00"], ["openstax_uid", -1011749124], ["updated_at", "2016-04-19 17:22:44.971504"], ["username", "billy_49"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%'))
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%')) ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (1.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2055502698 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "fa8acf332b5dd6a2fec9e0275f1f46b3"], ["created_at", "2016-04-19 17:22:44.979554"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -2055502698], ["updated_at", "2016-04-19 17:22:44.979554"], ["username", "jstrav"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -290810884 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7ca4c8654ec75d21809fdd97757eacad"], ["created_at", "2016-04-19 17:22:44.981423"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -290810884], ["updated_at", "2016-04-19 17:22:44.981423"], ["username", "mary"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2075917528 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "55a8eaca1ed616f183d8d7196acd1f93"], ["created_at", "2016-04-19 17:22:44.983352"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -2075917528], ["updated_at", "2016-04-19 17:22:44.983352"], ["username", "jstead"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -453255952 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8adccb5cc7dd7c6d656f2a9a3ceb48b6"], ["created_at", "2016-04-19 17:22:44.984825"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -453255952], ["updated_at", "2016-04-19 17:22:44.984825"], ["username", "bigbear"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -908170278 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d9369cb20e34e1136efb526fa89993f7"], ["created_at", "2016-04-19 17:22:44.986495"], ["first_name", "Billy00"], ["last_name", "Bob_49"], ["openstax_uid", -908170278], ["updated_at", "2016-04-19 17:22:44.986495"], ["username", "billy_00"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -262471855 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a2a6e3bd318696a41643ed73c0cea934"], ["created_at", "2016-04-19 17:22:44.987993"], ["first_name", "Billy01"], ["last_name", "Bob_48"], ["openstax_uid", -262471855], ["updated_at", "2016-04-19 17:22:44.987993"], ["username", "billy_01"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -403058180 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "71b26918d2718b5eb553a2249d0afe1f"], ["created_at", "2016-04-19 17:22:44.989430"], ["first_name", "Billy02"], ["last_name", "Bob_47"], ["openstax_uid", -403058180], ["updated_at", "2016-04-19 17:22:44.989430"], ["username", "billy_02"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2015282371 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1099cd4a7747d77f58c56eb84228a893"], ["created_at", "2016-04-19 17:22:44.990912"], ["first_name", "Billy03"], ["last_name", "Bob_46"], ["openstax_uid", -2015282371], ["updated_at", "2016-04-19 17:22:44.990912"], ["username", "billy_03"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -749377943 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "2ba1a5faae3a6398632452066dcd461c"], ["created_at", "2016-04-19 17:22:44.992446"], ["first_name", "Billy04"], ["last_name", "Bob_45"], ["openstax_uid", -749377943], ["updated_at", "2016-04-19 17:22:44.992446"], ["username", "billy_04"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1853452054 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "37cf1fc46b7f1a6d8adf3d5e5725a559"], ["created_at", "2016-04-19 17:22:44.993912"], ["first_name", "Billy05"], ["last_name", "Bob_44"], ["openstax_uid", -1853452054], ["updated_at", "2016-04-19 17:22:44.993912"], ["username", "billy_05"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -493456572 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cd59cfaf88ef4fdcc729ccfb0bbd4814"], ["created_at", "2016-04-19 17:22:44.995480"], ["first_name", "Billy06"], ["last_name", "Bob_43"], ["openstax_uid", -493456572], ["updated_at", "2016-04-19 17:22:44.995480"], ["username", "billy_06"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1941806353 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "600949579d1a42e4a319009310c8c360"], ["created_at", "2016-04-19 17:22:44.997612"], ["first_name", "Billy07"], ["last_name", "Bob_42"], ["openstax_uid", -1941806353], ["updated_at", "2016-04-19 17:22:44.997612"], ["username", "billy_07"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -460446193 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8f38582b6a9653666d242f41b18a9dc3"], ["created_at", "2016-04-19 17:22:44.999508"], ["first_name", "Billy08"], ["last_name", "Bob_41"], ["openstax_uid", -460446193], ["updated_at", "2016-04-19 17:22:44.999508"], ["username", "billy_08"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1791829911 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "18edb04385129bb74d1f44cf57839680"], ["created_at", "2016-04-19 17:22:45.001060"], ["first_name", "Billy09"], ["last_name", "Bob_40"], ["openstax_uid", -1791829911], ["updated_at", "2016-04-19 17:22:45.001060"], ["username", "billy_09"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -490599242 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8595e8acced6b3955b132111e4096ee9"], ["created_at", "2016-04-19 17:22:45.002663"], ["first_name", "Billy10"], ["last_name", "Bob_39"], ["openstax_uid", -490599242], ["updated_at", "2016-04-19 17:22:45.002663"], ["username", "billy_10"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -291946193 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bdfb86133cbe3145a59e715ef7e97331"], ["created_at", "2016-04-19 17:22:45.004272"], ["first_name", "Billy11"], ["last_name", "Bob_38"], ["openstax_uid", -291946193], ["updated_at", "2016-04-19 17:22:45.004272"], ["username", "billy_11"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -279079832 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8414d97265dc2f268513dba0dab404f4"], ["created_at", "2016-04-19 17:22:45.005944"], ["first_name", "Billy12"], ["last_name", "Bob_37"], ["openstax_uid", -279079832], ["updated_at", "2016-04-19 17:22:45.005944"], ["username", "billy_12"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -164850161 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "88e5476a0c2c3ce47e316177a4ff8991"], ["created_at", "2016-04-19 17:22:45.007480"], ["first_name", "Billy13"], ["last_name", "Bob_36"], ["openstax_uid", -164850161], ["updated_at", "2016-04-19 17:22:45.007480"], ["username", "billy_13"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -7822084 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7bd3304bd9087c70d6d4725315b3dcf7"], ["created_at", "2016-04-19 17:22:45.009009"], ["first_name", "Billy14"], ["last_name", "Bob_35"], ["openstax_uid", -7822084], ["updated_at", "2016-04-19 17:22:45.009009"], ["username", "billy_14"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1037326768 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "12602b0ab06ef05cc03f5f3b4a2850fd"], ["created_at", "2016-04-19 17:22:45.010509"], ["first_name", "Billy15"], ["last_name", "Bob_34"], ["openstax_uid", -1037326768], ["updated_at", "2016-04-19 17:22:45.010509"], ["username", "billy_15"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -839762710 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8ffb18361a3cdbfd34163436cdbd1fd4"], ["created_at", "2016-04-19 17:22:45.012064"], ["first_name", "Billy16"], ["last_name", "Bob_33"], ["openstax_uid", -839762710], ["updated_at", "2016-04-19 17:22:45.012064"], ["username", "billy_16"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -597117715 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cf0e53d8b62e3a8bbe4d1531ee3a4539"], ["created_at", "2016-04-19 17:22:45.013658"], ["first_name", "Billy17"], ["last_name", "Bob_32"], ["openstax_uid", -597117715], ["updated_at", "2016-04-19 17:22:45.013658"], ["username", "billy_17"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -941702547 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "56820de7a7d17e9ae041f752dc471d2c"], ["created_at", "2016-04-19 17:22:45.015302"], ["first_name", "Billy18"], ["last_name", "Bob_31"], ["openstax_uid", -941702547], ["updated_at", "2016-04-19 17:22:45.015302"], ["username", "billy_18"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1954967076 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1a906bbdb828cef407885f668712adf5"], ["created_at", "2016-04-19 17:22:45.016880"], ["first_name", "Billy19"], ["last_name", "Bob_30"], ["openstax_uid", -1954967076], ["updated_at", "2016-04-19 17:22:45.016880"], ["username", "billy_19"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -897089818 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bb04a6e5d5f0dd61eae2cd773292a902"], ["created_at", "2016-04-19 17:22:45.018474"], ["first_name", "Billy20"], ["last_name", "Bob_29"], ["openstax_uid", -897089818], ["updated_at", "2016-04-19 17:22:45.018474"], ["username", "billy_20"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1471994213 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a57ac66990f04ba04827ba122002c2c5"], ["created_at", "2016-04-19 17:22:45.020177"], ["first_name", "Billy21"], ["last_name", "Bob_28"], ["openstax_uid", -1471994213], ["updated_at", "2016-04-19 17:22:45.020177"], ["username", "billy_21"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1729346873 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e7278dbcf8c6132770bb49f996577110"], ["created_at", "2016-04-19 17:22:45.021828"], ["first_name", "Billy22"], ["last_name", "Bob_27"], ["openstax_uid", -1729346873], ["updated_at", "2016-04-19 17:22:45.021828"], ["username", "billy_22"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -259206785 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "878d97f981cfec32cb6653e2845d7b73"], ["created_at", "2016-04-19 17:22:45.023393"], ["first_name", "Billy23"], ["last_name", "Bob_26"], ["openstax_uid", -259206785], ["updated_at", "2016-04-19 17:22:45.023393"], ["username", "billy_23"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1380792430 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d5b07f81f5cb507687cd12a91cb23bce"], ["created_at", "2016-04-19 17:22:45.024915"], ["first_name", "Billy24"], ["last_name", "Bob_25"], ["openstax_uid", -1380792430], ["updated_at", "2016-04-19 17:22:45.024915"], ["username", "billy_24"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -488296907 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "58ff8db2a40e6ff5080025ca98d2124a"], ["created_at", "2016-04-19 17:22:45.026412"], ["first_name", "Billy25"], ["last_name", "Bob_24"], ["openstax_uid", -488296907], ["updated_at", "2016-04-19 17:22:45.026412"], ["username", "billy_25"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -308231694 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "473f4e2e6a61d0f8bbe8f135251d4cf4"], ["created_at", "2016-04-19 17:22:45.028349"], ["first_name", "Billy26"], ["last_name", "Bob_23"], ["openstax_uid", -308231694], ["updated_at", "2016-04-19 17:22:45.028349"], ["username", "billy_26"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1996722790 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a1d41c66acc86ede8e860bbaf1fbf969"], ["created_at", "2016-04-19 17:22:45.030150"], ["first_name", "Billy27"], ["last_name", "Bob_22"], ["openstax_uid", -1996722790], ["updated_at", "2016-04-19 17:22:45.030150"], ["username", "billy_27"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -684495009 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "367fd41e23935b10ce780b2b992aeeee"], ["created_at", "2016-04-19 17:22:45.031853"], ["first_name", "Billy28"], ["last_name", "Bob_21"], ["openstax_uid", -684495009], ["updated_at", "2016-04-19 17:22:45.031853"], ["username", "billy_28"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -407845637 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a6dab2e5048dd36e4200dd29e56f3c51"], ["created_at", "2016-04-19 17:22:45.033402"], ["first_name", "Billy29"], ["last_name", "Bob_20"], ["openstax_uid", -407845637], ["updated_at", "2016-04-19 17:22:45.033402"], ["username", "billy_29"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -483261647 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7e232ad92846d5a9fa3e51a698f82fe0"], ["created_at", "2016-04-19 17:22:45.035331"], ["first_name", "Billy30"], ["last_name", "Bob_19"], ["openstax_uid", -483261647], ["updated_at", "2016-04-19 17:22:45.035331"], ["username", "billy_30"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -834674578 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "877ba6f59419ca07d4120491532847a0"], ["created_at", "2016-04-19 17:22:45.037362"], ["first_name", "Billy31"], ["last_name", "Bob_18"], ["openstax_uid", -834674578], ["updated_at", "2016-04-19 17:22:45.037362"], ["username", "billy_31"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1461945994 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0ac64f2fab71e8c9fc615472885eb49e"], ["created_at", "2016-04-19 17:22:45.039131"], ["first_name", "Billy32"], ["last_name", "Bob_17"], ["openstax_uid", -1461945994], ["updated_at", "2016-04-19 17:22:45.039131"], ["username", "billy_32"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1149130940 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b795628eb6c54e76ef5eabc865380715"], ["created_at", "2016-04-19 17:22:45.040677"], ["first_name", "Billy33"], ["last_name", "Bob_16"], ["openstax_uid", -1149130940], ["updated_at", "2016-04-19 17:22:45.040677"], ["username", "billy_33"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -192082353 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7ea0ff8a651814b11a6f5e9506b2ed2f"], ["created_at", "2016-04-19 17:22:45.042166"], ["first_name", "Billy34"], ["last_name", "Bob_15"], ["openstax_uid", -192082353], ["updated_at", "2016-04-19 17:22:45.042166"], ["username", "billy_34"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1449565120 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "23eee930758d1fc4e0a6d56eca7e677f"], ["created_at", "2016-04-19 17:22:45.043766"], ["first_name", "Billy35"], ["last_name", "Bob_14"], ["openstax_uid", -1449565120], ["updated_at", "2016-04-19 17:22:45.043766"], ["username", "billy_35"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1019288060 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "62e8cce701cde397efbbc2b554d7cf9c"], ["created_at", "2016-04-19 17:22:45.045326"], ["first_name", "Billy36"], ["last_name", "Bob_13"], ["openstax_uid", -1019288060], ["updated_at", "2016-04-19 17:22:45.045326"], ["username", "billy_36"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1212794138 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "040b35c5978d38ff89b388430196a959"], ["created_at", "2016-04-19 17:22:45.046991"], ["first_name", "Billy37"], ["last_name", "Bob_12"], ["openstax_uid", -1212794138], ["updated_at", "2016-04-19 17:22:45.046991"], ["username", "billy_37"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2117319660 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "23f49bd5e206455078a6fb44351fb36f"], ["created_at", "2016-04-19 17:22:45.048525"], ["first_name", "Billy38"], ["last_name", "Bob_11"], ["openstax_uid", -2117319660], ["updated_at", "2016-04-19 17:22:45.048525"], ["username", "billy_38"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1184773484 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d627653f185bbdcf7603e947bc62bf40"], ["created_at", "2016-04-19 17:22:45.050052"], ["first_name", "Billy39"], ["last_name", "Bob_10"], ["openstax_uid", -1184773484], ["updated_at", "2016-04-19 17:22:45.050052"], ["username", "billy_39"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -913284997 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "eb3ab138a14398abbcbdaab832a399d6"], ["created_at", "2016-04-19 17:22:45.051595"], ["first_name", "Billy40"], ["last_name", "Bob_09"], ["openstax_uid", -913284997], ["updated_at", "2016-04-19 17:22:45.051595"], ["username", "billy_40"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1472925656 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "785ee0749dfde0b5040b38a8d90bdd0f"], ["created_at", "2016-04-19 17:22:45.059984"], ["first_name", "Billy41"], ["last_name", "Bob_08"], ["openstax_uid", -1472925656], ["updated_at", "2016-04-19 17:22:45.059984"], ["username", "billy_41"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -528790839 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "043d6151b09e2e69f9506156c2f441fe"], ["created_at", "2016-04-19 17:22:45.061888"], ["first_name", "Billy42"], ["last_name", "Bob_07"], ["openstax_uid", -528790839], ["updated_at", "2016-04-19 17:22:45.061888"], ["username", "billy_42"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1306615224 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "ad456679ee9e422b4011064441129597"], ["created_at", "2016-04-19 17:22:45.063385"], ["first_name", "Billy43"], ["last_name", "Bob_06"], ["openstax_uid", -1306615224], ["updated_at", "2016-04-19 17:22:45.063385"], ["username", "billy_43"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1987521842 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "82773494b1c5f269cb52249740fbedca"], ["created_at", "2016-04-19 17:22:45.064871"], ["first_name", "Billy44"], ["last_name", "Bob_05"], ["openstax_uid", -1987521842], ["updated_at", "2016-04-19 17:22:45.064871"], ["username", "billy_44"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1009929617 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0e912f3764541ee3735d8c52951e677a"], ["created_at", "2016-04-19 17:22:45.066338"], ["first_name", "Billy45"], ["last_name", "Bob_04"], ["openstax_uid", -1009929617], ["updated_at", "2016-04-19 17:22:45.066338"], ["username", "billy_45"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -247707785 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1c017c2f586f8655c441a02e73d54000"], ["created_at", "2016-04-19 17:22:45.067776"], ["first_name", "Billy46"], ["last_name", "Bob_03"], ["openstax_uid", -247707785], ["updated_at", "2016-04-19 17:22:45.067776"], ["username", "billy_46"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1894228119 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "bec19789f4d8d90c7f02cd7265b49fdd"], ["created_at", "2016-04-19 17:22:45.069254"], ["first_name", "Billy47"], ["last_name", "Bob_02"], ["openstax_uid", -1894228119], ["updated_at", "2016-04-19 17:22:45.069254"], ["username", "billy_47"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1259947716 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "13b5cf3b9e6eb2c7d0b7db9ca0264fb1"], ["created_at", "2016-04-19 17:22:45.070838"], ["first_name", "Billy48"], ["last_name", "Bob_01"], ["openstax_uid", -1259947716], ["updated_at", "2016-04-19 17:22:45.070838"], ["username", "billy_48"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1331036500 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "840978a57d0e15d2f60d978d6bf50203"], ["created_at", "2016-04-19 17:22:45.073233"], ["first_name", "Billy49"], ["last_name", "Bob_00"], ["openstax_uid", -1331036500], ["updated_at", "2016-04-19 17:22:45.073233"], ["username", "billy_49"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts"
+ [1m[36mOpenStax::Accounts::Account Load (0.3ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."username" ASC[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (2.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "edb5b20fe13eb311499a7e28d93d5c49"], ["created_at", "2016-04-19 17:22:45.083238"], ["openstax_uid", 1], ["updated_at", "2016-04-19 17:22:45.083238"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 1], ["created_at", "2016-04-19 17:22:45.085282"], ["updated_at", "2016-04-19 17:22:45.085282"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "92ed5b872d806a2aa3e9a3c9001cea58"], ["created_at", "2016-04-19 17:22:45.090753"], ["openstax_uid", 2], ["updated_at", "2016-04-19 17:22:45.090753"], ["username", "another_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["account_id", 2], ["created_at", "2016-04-19 17:22:45.091862"], ["updated_at", "2016-04-19 17:22:45.091862"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -1299722178 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.094422"], ["name", "MyGroup"], ["openstax_uid", -1299722178], ["updated_at", "2016-04-19 17:22:45.094422"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -508045194 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.097306"], ["name", "MyGroup"], ["openstax_uid", -508045194], ["updated_at", "2016-04-19 17:22:45.097306"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupNesting Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 2 LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mSQL (0.1ms)[0m SELECT "openstax_accounts_groups"."id" AS t0_r0, "openstax_accounts_groups"."openstax_uid" AS t0_r1, "openstax_accounts_groups"."is_public" AS t0_r2, "openstax_accounts_groups"."name" AS t0_r3, "openstax_accounts_groups"."cached_subtree_group_ids" AS t0_r4, "openstax_accounts_groups"."cached_supertree_group_ids" AS t0_r5, "openstax_accounts_groups"."created_at" AS t0_r6, "openstax_accounts_groups"."updated_at" AS t0_r7, "openstax_accounts_group_nestings"."id" AS t1_r0, "openstax_accounts_group_nestings"."member_group_id" AS t1_r1, "openstax_accounts_group_nestings"."container_group_id" AS t1_r2, "openstax_accounts_group_nestings"."created_at" AS t1_r3, "openstax_accounts_group_nestings"."updated_at" AS t1_r4 FROM "openstax_accounts_groups" LEFT OUTER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_group_nestings"."member_group_id" = "openstax_accounts_groups"."openstax_uid" WHERE "openstax_accounts_group_nestings"."container_group_id" = -508045194
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = '---
+- -508045194
+' WHERE "openstax_accounts_groups"."id" = 2[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.0ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mSQL (0.1ms)[0m [1mSELECT DISTINCT "openstax_accounts_groups"."id" FROM "openstax_accounts_groups" LEFT OUTER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_group_nestings"."container_group_id" = "openstax_accounts_groups"."openstax_uid" WHERE "openstax_accounts_group_nestings"."member_group_id" = -1299722178 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = '---
+- -1299722178
+' WHERE "openstax_accounts_groups"."id" = 1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = NULL WHERE "openstax_accounts_groups"."id" IN (-508045194)[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = NULL WHERE "openstax_accounts_groups"."id" IN (-1299722178)
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["container_group_id", -1299722178], ["created_at", "2016-04-19 17:22:45.102418"], ["member_group_id", -508045194], ["updated_at", "2016-04-19 17:22:45.102418"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = -508045194) LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupMember Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = -508045194) LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2016-04-19 17:22:45.115593"], ["group_id", -508045194], ["updated_at", "2016-04-19 17:22:45.115593"], ["user_id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."id" != 1 AND "openstax_accounts_group_members"."group_id" = -508045194) LIMIT 1[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOwnership Load (0.1ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ?[0m [["owner_id", 1], ["owner_type", "User"]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_members"."group_id" INNER JOIN "openstax_accounts_accounts" ON "openstax_accounts_group_members"."user_id" = "openstax_accounts_accounts"."openstax_uid" WHERE "openstax_accounts_accounts"."id" = ? [["id", 1]]
+ [1m[36mOpenStax::Accounts::Group Load (0.0ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mSQL (0.1ms)[0m SELECT DISTINCT "openstax_accounts_groups"."id" FROM "openstax_accounts_groups" LEFT OUTER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_group_nestings"."container_group_id" = "openstax_accounts_groups"."openstax_uid" WHERE "openstax_accounts_group_nestings"."member_group_id" = -508045194 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "openstax_accounts_groups"."id" AS t0_r0, "openstax_accounts_groups"."openstax_uid" AS t0_r1, "openstax_accounts_groups"."is_public" AS t0_r2, "openstax_accounts_groups"."name" AS t0_r3, "openstax_accounts_groups"."cached_subtree_group_ids" AS t0_r4, "openstax_accounts_groups"."cached_supertree_group_ids" AS t0_r5, "openstax_accounts_groups"."created_at" AS t0_r6, "openstax_accounts_groups"."updated_at" AS t0_r7, "openstax_accounts_group_nestings"."id" AS t1_r0, "openstax_accounts_group_nestings"."member_group_id" AS t1_r1, "openstax_accounts_group_nestings"."container_group_id" AS t1_r2, "openstax_accounts_group_nestings"."created_at" AS t1_r3, "openstax_accounts_group_nestings"."updated_at" AS t1_r4 FROM "openstax_accounts_groups" LEFT OUTER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_group_nestings"."container_group_id" = "openstax_accounts_groups"."openstax_uid" WHERE "openstax_accounts_group_nestings"."member_group_id" = -508045194 AND "openstax_accounts_groups"."id" IN (1) ORDER BY "openstax_accounts_groups"."id" ASC[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = '---
+- -508045194
+- -1299722178
+' WHERE "openstax_accounts_groups"."id" = 2
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-508045194, -1299722178)[0m
+ [1m[35mOwnership Load (0.1ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "ownerships" ("created_at", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-04-19 17:22:45.138632"], ["owner_id", 2], ["owner_type", "User"], ["updated_at", "2016-04-19 17:22:45.138632"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mOwnership Load (0.0ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ?[0m [["owner_id", 1], ["owner_type", "User"]]
+ [1m[35mOpenStax::Accounts::Group Load (0.0ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_members"."group_id" INNER JOIN "openstax_accounts_accounts" ON "openstax_accounts_group_members"."user_id" = "openstax_accounts_accounts"."openstax_uid" WHERE "openstax_accounts_accounts"."id" = ? [["id", 1]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-508045194, -1299722178)[0m
+ [1m[35mOwnership Load (0.1ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m INSERT INTO "ownerships" ("created_at", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-04-19 17:22:45.146205"], ["owner_id", 1], ["owner_type", "User"], ["updated_at", "2016-04-19 17:22:45.146205"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mOwnership Load (0.0ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ?[0m [["owner_id", 1], ["owner_type", "User"]]
+ [1m[35mOpenStax::Accounts::Group Load (0.0ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_members"."group_id" INNER JOIN "openstax_accounts_accounts" ON "openstax_accounts_group_members"."user_id" = "openstax_accounts_accounts"."openstax_uid" WHERE "openstax_accounts_accounts"."id" = ? [["id", 1]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-508045194, -1299722178)[0m
+ [1m[35mOwnership Load (0.1ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "ownerships" ("created_at", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-04-19 17:22:45.152173"], ["owner_id", 2], ["owner_type", "OpenStax::Accounts::Group"], ["updated_at", "2016-04-19 17:22:45.152173"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mOwnership Load (0.0ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ?[0m [["owner_id", 1], ["owner_type", "User"]]
+ [1m[35mOpenStax::Accounts::Group Load (0.0ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_members"."group_id" INNER JOIN "openstax_accounts_accounts" ON "openstax_accounts_group_members"."user_id" = "openstax_accounts_accounts"."openstax_uid" WHERE "openstax_accounts_accounts"."id" = ? [["id", 1]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-508045194, -1299722178)[0m
+ [1m[35mOwnership Load (0.1ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-508045194, -1299722178)[0m
+ [1m[35mOwnership Load (0.1ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "ownerships" ("created_at", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2016-04-19 17:22:45.159714"], ["owner_id", 1], ["owner_type", "OpenStax::Accounts::Group"], ["updated_at", "2016-04-19 17:22:45.159714"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mOwnership Load (0.0ms)[0m [1mSELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ?[0m [["owner_id", 1], ["owner_type", "User"]]
+ [1m[35mOpenStax::Accounts::Group Load (0.0ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_members"."group_id" INNER JOIN "openstax_accounts_accounts" ON "openstax_accounts_group_members"."user_id" = "openstax_accounts_accounts"."openstax_uid" WHERE "openstax_accounts_accounts"."id" = ? [["id", 1]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-508045194, -1299722178)[0m
+ [1m[35mOwnership Load (0.1ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-508045194, -1299722178)[0m
+ [1m[35mOwnership Load (0.1ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IN (-508045194, -1299722178)[0m
+ [1m[35mOwnership Load (0.1ms)[0m SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
+ [1m[36m (1.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "8d5f500e46664844bd58e9ec293739ee"], ["created_at", "2016-04-19 17:22:45.170936"], ["openstax_uid", 10], ["updated_at", "2016-04-19 17:22:45.170936"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by OpenStax::Accounts::SessionsController#new as HTML
+ Parameters: {"return_to"=>"http://jimmy"}
+Redirected to http://test.host/accounts/auth/openstax
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "59cbb5f2398b86120a20559a4b8549ba"], ["created_at", "2016-04-19 17:22:45.177176"], ["openstax_uid", 10], ["updated_at", "2016-04-19 17:22:45.177176"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+Processing by OpenStax::Accounts::SessionsController#destroy as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "7c55b8ff54eac06773961ec82139b87b"], ["created_at", "2016-04-19 17:22:45.183000"], ["openstax_uid", 10], ["updated_at", "2016-04-19 17:22:45.183000"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "5893c5f78e333d17f1aed7ab68a15ed0"], ["created_at", "2016-04-19 17:22:45.185760"], ["openstax_uid", 10], ["updated_at", "2016-04-19 17:22:45.185760"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by OpenStax::Accounts::SessionsController#new as HTML
+ Parameters: {"return_to"=>"https://woohoo"}
+Redirected to http://test.host/accounts/auth/openstax
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "4f64709beafb9aac3f40bd10105131a4"], ["created_at", "2016-04-19 17:22:45.190403"], ["openstax_uid", 10], ["updated_at", "2016-04-19 17:22:45.190403"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
+Processing by OpenStax::Accounts::SessionsController#destroy as HTML
+Redirected to http://localhost:55071/logout
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "ee9eea0a8ce3ea443bc8ad82580fd38e"], ["created_at", "2016-04-19 17:22:45.196585"], ["openstax_uid", 10], ["updated_at", "2016-04-19 17:22:45.196585"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by OpenStax::Accounts::SessionsController#new as HTML
+Redirected to http://test.host/accounts/dev/accounts
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "be8fbd832f61d160cf839dd0680776b3"], ["created_at", "2016-04-19 17:22:45.201312"], ["openstax_uid", 10], ["updated_at", "2016-04-19 17:22:45.201312"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by OpenStax::Accounts::SessionsController#new as HTML
+ Parameters: {"return_to"=>"https://woohoo"}
+Redirected to http://test.host/accounts/auth/openstax
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:45.216140"], ["openstax_uid", 2], ["updated_at", "2016-04-19 17:22:45.216140"], ["username", "User"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 3 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:45.217859"], ["openstax_uid", 3], ["updated_at", "2016-04-19 17:22:45.217859"], ["username", "Fuego"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 2 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.219722"], ["name", "Member Group"], ["openstax_uid", 2], ["updated_at", "2016-04-19 17:22:45.219722"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = 2) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:45.221666"], ["group_id", 2], ["updated_at", "2016-04-19 17:22:45.221666"], ["user_id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 4 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.223098"], ["name", "Container Group"], ["openstax_uid", 4], ["updated_at", "2016-04-19 17:22:45.223098"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupOwner Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 1 AND "openstax_accounts_group_owners"."group_id" = 4) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:45.224750"], ["group_id", 4], ["updated_at", "2016-04-19 17:22:45.224750"], ["user_id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupNesting Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 1 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["container_group_id", 4], ["created_at", "2016-04-19 17:22:45.226302"], ["member_group_id", 2], ["updated_at", "2016-04-19 17:22:45.226302"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_groups"[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_members"."user_id" WHERE "openstax_accounts_group_members"."group_id" = ? AND "openstax_accounts_accounts"."id" = 1 LIMIT 1[0m [["group_id", 2]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_nestings"."member_group_id" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? AND "openstax_accounts_groups"."id" = 1 LIMIT 1[0m [["container_group_id", 4]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_owners" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_owners"."user_id" WHERE "openstax_accounts_group_owners"."group_id" = ? AND "openstax_accounts_accounts"."id" = 1 LIMIT 1[0m [["group_id", 4]]
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_groups/updates" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::ApplicationGroupsController#updates as application/vnd.accounts.openstax.v1
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35mOpenStax::Accounts::GroupOwner Load (0.1ms)[0m SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 2]]
+ [1m[36mOpenStax::Accounts::GroupMember Load (0.1ms)[0m [1mSELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ?[0m [["group_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupNesting Load (0.1ms)[0m [1mSELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ?[0m [["container_group_id", 2]]
+ [1m[35mOpenStax::Accounts::GroupOwner Load (0.0ms)[0m SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 3]]
+ [1m[36mOpenStax::Accounts::GroupMember Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ?[0m [["group_id", 3]]
+ [1m[35mOpenStax::Accounts::GroupNesting Load (0.0ms)[0m SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 3]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 2 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 3 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = ? LIMIT 1 [["openstax_uid", 3]]
+ [1m[36mOpenStax::Accounts::GroupOwner Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 2 AND "openstax_accounts_group_owners"."group_id" = 3) LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = ? LIMIT 1 [["openstax_uid", 2]]
+ [1m[36mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = 3) LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 3 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.291720"], ["name", "Fuego's Deputies"], ["openstax_uid", 3], ["updated_at", "2016-04-19 17:22:45.291720"]]
+ [1m[35mOpenStax::Accounts::GroupOwner Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 2 AND "openstax_accounts_group_owners"."group_id" = 3) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:45.293420"], ["group_id", 3], ["updated_at", "2016-04-19 17:22:45.293420"], ["user_id", 3]]
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = 3) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:45.295402"], ["group_id", 3], ["updated_at", "2016-04-19 17:22:45.295402"], ["user_id", 2]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupMember Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ?[0m [["group_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupOwner Load (0.0ms)[0m SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 2]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupNesting Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ?[0m [["container_group_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = ? LIMIT 1[0m [["openstax_uid", 3]]
+ [1m[35mOpenStax::Accounts::GroupNesting Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 3 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["container_group_id", 2], ["created_at", "2016-04-19 17:22:45.302541"], ["member_group_id", 3], ["updated_at", "2016-04-19 17:22:45.302541"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = 2 AND "openstax_accounts_groups"."id" != 1) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "name" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 1[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["name", "M"], ["updated_at", "2016-04-19 17:22:45.304215"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = 3 AND "openstax_accounts_groups"."id" != 3) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 3[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2016-04-19 17:22:45.306385"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started PUT "/api/application_groups/updated" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::ApplicationGroupsController#updated as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"group_id\":2,\"read_updates\":1},{\"group_id\":3,\"read_updates\":2}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_groups"[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_nestings"."member_group_id" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? AND "openstax_accounts_groups"."id" = 3 LIMIT 1 [["container_group_id", 2]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_nestings"."member_group_id" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? AND "openstax_accounts_groups"."id" = 1 LIMIT 1[0m [["container_group_id", 4]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_owners" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_owners"."user_id" WHERE "openstax_accounts_group_owners"."group_id" = ? AND "openstax_accounts_accounts"."id" = 2 LIMIT 1 [["group_id", 3]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_members"."user_id" WHERE "openstax_accounts_group_members"."group_id" = ? AND "openstax_accounts_accounts"."id" = 1 LIMIT 1[0m [["group_id", 3]]
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_groups/updates" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::ApplicationGroupsController#updates as application/vnd.accounts.openstax.v1
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35mOpenStax::Accounts::GroupOwner Load (0.0ms)[0m SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 2]]
+ [1m[36mOpenStax::Accounts::GroupMember Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ?[0m [["group_id", 2]]
+ [1m[35mOpenStax::Accounts::GroupNesting Load (0.0ms)[0m SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 2]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."id" = ? [["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupOwner Load (0.0ms)[0m SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."id" = ? [["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupMember Load (0.1ms)[0m SELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ? [["group_id", 3]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.0ms)[0m DELETE FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."id" = ? [["id", 2]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupNesting Load (0.0ms)[0m SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 3]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 2 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 3 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::GroupMember Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ?[0m [["group_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupOwner Load (0.0ms)[0m SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 2]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupNesting Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ?[0m [["container_group_id", 2]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Group Load (0.0ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = ? LIMIT 1[0m [["openstax_uid", 3]]
+ [1m[35mOpenStax::Accounts::GroupNesting Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 3 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["container_group_id", 2], ["created_at", "2016-04-19 17:22:45.359538"], ["member_group_id", 3], ["updated_at", "2016-04-19 17:22:45.359538"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = 2 AND "openstax_accounts_groups"."id" != 1) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 1[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2016-04-19 17:22:45.361079"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupMember Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ?[0m [["group_id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.0ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = ? LIMIT 1[0m [["openstax_uid", 2]]
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = 3) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:45.363876"], ["group_id", 3], ["updated_at", "2016-04-19 17:22:45.363876"], ["user_id", 2]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupOwner Load (0.1ms)[0m [1mSELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ?[0m [["group_id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = ? LIMIT 1[0m [["openstax_uid", 3]]
+ [1m[35mOpenStax::Accounts::GroupOwner Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 2 AND "openstax_accounts_group_owners"."group_id" = 3) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:45.367680"], ["group_id", 3], ["updated_at", "2016-04-19 17:22:45.367680"], ["user_id", 3]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::GroupNesting Load (0.0ms)[0m [1mSELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ?[0m [["container_group_id", 3]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Group Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = 3 AND "openstax_accounts_groups"."id" != 3) LIMIT 1[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 3 [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2016-04-19 17:22:45.370814"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started PUT "/api/application_groups/updated" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::ApplicationGroupsController#updated as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"group_id\":2,\"read_updates\":1},{\"group_id\":3,\"read_updates\":2}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_groups"
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_nestings"."member_group_id" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? AND "openstax_accounts_groups"."id" = 3 LIMIT 1[0m [["container_group_id", 2]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" INNER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_groups"."openstax_uid" = "openstax_accounts_group_nestings"."member_group_id" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? AND "openstax_accounts_groups"."id" = 1 LIMIT 1 [["container_group_id", 4]]
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_owners" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_owners"."user_id" WHERE "openstax_accounts_group_owners"."group_id" = ? AND "openstax_accounts_accounts"."id" = 2 LIMIT 1[0m [["group_id", 3]]
+ [1m[35mOpenStax::Accounts::Group Load (0.1ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" INNER JOIN "openstax_accounts_group_members" ON "openstax_accounts_accounts"."openstax_uid" = "openstax_accounts_group_members"."user_id" WHERE "openstax_accounts_group_members"."group_id" = ? AND "openstax_accounts_accounts"."id" = 1 LIMIT 1 [["group_id", 3]]
+ [1m[36m (2.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.3ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "secret"], ["created_at", "2016-04-19 17:22:45.400145"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2016-04-19 17:22:45.400145"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started POST "/api/dummy?test=true" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::DummyController#dummy as application/vnd.accounts.openstax.v1
+ Parameters: {"test"=>"true"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "secret"], ["created_at", "2016-04-19 17:22:45.421215"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2016-04-19 17:22:45.421215"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_groups/updates" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::ApplicationGroupsController#updates as application/vnd.accounts.openstax.v1
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "secret"], ["created_at", "2016-04-19 17:22:45.440497"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2016-04-19 17:22:45.440497"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started PUT "/api/application_groups/updated" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::ApplicationGroupsController#updated as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"id\":1,\"read_updates\":1}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -7028028 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "44e16610144671d630f947ef030368dd"], ["created_at", "2016-04-19 17:22:45.467260"], ["openstax_uid", -7028028], ["updated_at", "2016-04-19 17:22:45.467260"], ["username", "bc3cfa475a27ec88cf06d4ca244f9314"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -371365360 LIMIT 1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.469976"], ["name", "MyGroup"], ["openstax_uid", -371365360], ["updated_at", "2016-04-19 17:22:45.469976"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = -371365360 AND "openstax_accounts_groups"."id" != 1) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 1[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2016-04-19 17:22:45.472127"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started DELETE "/api/groups/-371365360" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::GroupsController#destroy as application/vnd.accounts.openstax.v1
+ Parameters: {"id"=>"-371365360"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -763391585 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "7ad33eb45d991a67406ba3abfcd2f6f5"], ["created_at", "2016-04-19 17:22:45.488343"], ["openstax_uid", -763391585], ["updated_at", "2016-04-19 17:22:45.488343"], ["username", "cc75fad9883ba1b9ce80342177a62a6b"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -1709462135 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.490400"], ["name", "MyGroup"], ["openstax_uid", -1709462135], ["updated_at", "2016-04-19 17:22:45.490400"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/api/groups" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::GroupsController#create as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"name\":\"MyGroup\",\"is_public\":false}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -240424867 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "e894fe1b5cef5dba750ad1291e1da40c"], ["created_at", "2016-04-19 17:22:45.502860"], ["openstax_uid", -240424867], ["updated_at", "2016-04-19 17:22:45.502860"], ["username", "cb7de423ceee6749a2ca8c8f972da9de"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -2041103491 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.504740"], ["name", "MyGroup"], ["openstax_uid", -2041103491], ["updated_at", "2016-04-19 17:22:45.504740"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = -2041103491 AND "openstax_accounts_groups"."id" != 1) LIMIT 1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 1[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2016-04-19 17:22:45.506404"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started PUT "/api/groups/-2041103491" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::GroupsController#update as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"name\":\"MyGroup\",\"is_public\":false}"=>nil, "id"=>"-2041103491"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.7ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "secret"], ["created_at", "2016-04-19 17:22:45.518222"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2016-04-19 17:22:45.518222"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started PUT "/api/application_users/updated" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::ApplicationUsersController#updated as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"id\":1,\"read_updates\":1}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "secret"], ["created_at", "2016-04-19 17:22:45.542133"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2016-04-19 17:22:45.542133"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_users?q=something" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::ApplicationUsersController#index as application/vnd.accounts.openstax.v1
+ Parameters: {"q"=>"something"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "secret"], ["created_at", "2016-04-19 17:22:45.567211"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2016-04-19 17:22:45.567211"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_users/updates" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::ApplicationUsersController#updates as application/vnd.accounts.openstax.v1
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -649396763 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "3a1cc0f12d82d734cb862b80fd39a29a"], ["created_at", "2016-04-19 17:22:45.586567"], ["openstax_uid", -649396763], ["updated_at", "2016-04-19 17:22:45.586567"], ["username", "ba9f51f84da19a9b2ace6782f03eb2bc"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -658818613 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.589898"], ["name", "MyGroup"], ["openstax_uid", -658818613], ["updated_at", "2016-04-19 17:22:45.589898"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -387698880 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "01e671c23e7f4bb640eb9925a60844ac"], ["created_at", "2016-04-19 17:22:45.592536"], ["openstax_uid", -387698880], ["updated_at", "2016-04-19 17:22:45.592536"], ["username", "bfebe904c52e7e9c88ac9cb902e14778"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/api/groups/-658818613/owners/-387698880" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::GroupOwnersController#create as application/vnd.accounts.openstax.v1
+ Parameters: {"group_id"=>"-658818613", "user_id"=>"-387698880"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (1.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2078179737 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "ec934abc103509bbbe94b8c4d892f4ff"], ["created_at", "2016-04-19 17:22:45.611226"], ["openstax_uid", -2078179737], ["updated_at", "2016-04-19 17:22:45.611226"], ["username", "baeaaadb4854ffbab0d23322a2db7761"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -460540814 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.613291"], ["name", "MyGroup"], ["openstax_uid", -460540814], ["updated_at", "2016-04-19 17:22:45.613291"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1344283909 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "195edeb81bc4a6d0eab4c4dafcc828ea"], ["created_at", "2016-04-19 17:22:45.615310"], ["openstax_uid", -1344283909], ["updated_at", "2016-04-19 17:22:45.615310"], ["username", "f800bdb4086e5f08949fc13e69033d5c"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupOwner Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 2 AND "openstax_accounts_group_owners"."group_id" = -460540814) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:45.617184"], ["group_id", -460540814], ["updated_at", "2016-04-19 17:22:45.617184"], ["user_id", -1344283909]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started DELETE "/api/groups/-460540814/owners/-1344283909" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::GroupOwnersController#destroy as application/vnd.accounts.openstax.v1
+ Parameters: {"group_id"=>"-460540814", "user_id"=>"-1344283909"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (1.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1773513658 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "60a9112f26f4b06f61ee786d5d411850"], ["created_at", "2016-04-19 17:22:45.629743"], ["openstax_uid", -1773513658], ["updated_at", "2016-04-19 17:22:45.629743"], ["username", "b554318a0c21e75aa0bbdc189a507fcb"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -590809287 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.632056"], ["name", "MyGroup"], ["openstax_uid", -590809287], ["updated_at", "2016-04-19 17:22:45.632056"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1093901837 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "187c99ad61d8ebd6da7a09d9065595da"], ["created_at", "2016-04-19 17:22:45.634388"], ["openstax_uid", -1093901837], ["updated_at", "2016-04-19 17:22:45.634388"], ["username", "b82358786e5d3ea26ded96746f36dfa5"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/api/groups/-590809287/members/-1093901837" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::GroupMembersController#create as application/vnd.accounts.openstax.v1
+ Parameters: {"group_id"=>"-590809287", "user_id"=>"-1093901837"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -961292754 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "5b58cf3c23b8ff40c25ebc2b622c84a7"], ["created_at", "2016-04-19 17:22:45.650470"], ["openstax_uid", -961292754], ["updated_at", "2016-04-19 17:22:45.650470"], ["username", "5d64df1f8190bd2589b85623d9ad7d5b"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -758578745 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.652546"], ["name", "MyGroup"], ["openstax_uid", -758578745], ["updated_at", "2016-04-19 17:22:45.652546"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1360786770 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "7be562b9afaee5108a9947c4b152f4f0"], ["created_at", "2016-04-19 17:22:45.654740"], ["openstax_uid", -1360786770], ["updated_at", "2016-04-19 17:22:45.654740"], ["username", "fafd9394cfb3b8b97001772c3225d059"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupMember Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 2 AND "openstax_accounts_group_members"."group_id" = -758578745) LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:45.656686"], ["group_id", -758578745], ["updated_at", "2016-04-19 17:22:45.656686"], ["user_id", -1360786770]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started DELETE "/api/groups/-758578745/members/-1360786770" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::GroupMembersController#destroy as application/vnd.accounts.openstax.v1
+ Parameters: {"group_id"=>"-758578745", "user_id"=>"-1360786770"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1090600685 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "9d6ae38ec2738d13698a3327f1f2d4b3"], ["created_at", "2016-04-19 17:22:45.669279"], ["openstax_uid", -1090600685], ["updated_at", "2016-04-19 17:22:45.669279"], ["username", "01abbfd5413331dc8f82732ab80e18c5"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started POST "/api/user/find-or-create" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::UsersController#create as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"email\":\"dummy@dum.my\"}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1220775204 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "6edef5cd982c79fbe24944cf6f2758c2"], ["created_at", "2016-04-19 17:22:45.697884"], ["openstax_uid", -1220775204], ["updated_at", "2016-04-19 17:22:45.697884"], ["username", "e95360a41bd9f00c7538694a2f7a3d26"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started POST "/api/user/find-or-create" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::UsersController#create as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"username\":\"dummy\"}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1349219884 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "87dde385cb37774ebcf2db6d4fc33bb4"], ["created_at", "2016-04-19 17:22:45.716164"], ["openstax_uid", -1349219884], ["updated_at", "2016-04-19 17:22:45.716164"], ["username", "bf4387e32da41a991a2499a1adeb441f"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/api/users?q=something" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::UsersController#index as application/vnd.accounts.openstax.v1
+ Parameters: {"q"=>"something"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -478964200 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "b677b5b819c2776c30a3d2134e17c56a"], ["created_at", "2016-04-19 17:22:45.736031"], ["openstax_uid", -478964200], ["updated_at", "2016-04-19 17:22:45.736031"], ["username", "45dceb75612917bc8c5e3f053de58558"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started PUT "/api/user" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::UsersController#update as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"username\":\"45dceb75612917bc8c5e3f053de58558\",\"first_name\":null,\"last_name\":null,\"full_name\":null,\"title\":null}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1909740768 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "8d9f3e092d301708649330582f330c76"], ["created_at", "2016-04-19 17:22:45.748219"], ["openstax_uid", -1909740768], ["updated_at", "2016-04-19 17:22:45.748219"], ["username", "acbd3f26a62594afef51acfcc62788b9"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -143031671 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.750346"], ["name", "MyGroup"], ["openstax_uid", -143031671], ["updated_at", "2016-04-19 17:22:45.750346"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -2134055894 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.752484"], ["name", "MyGroup"], ["openstax_uid", -2134055894], ["updated_at", "2016-04-19 17:22:45.752484"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/api/groups/-143031671/nestings/-2134055894" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::GroupNestingsController#create as application/vnd.accounts.openstax.v1
+ Parameters: {"group_id"=>"-143031671", "member_group_id"=>"-2134055894"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.8ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -994081371 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "96fab4af2f04ddd1ad1943f441948d98"], ["created_at", "2016-04-19 17:22:45.768863"], ["openstax_uid", -994081371], ["updated_at", "2016-04-19 17:22:45.768863"], ["username", "d2cbe4ea07893de1310b974547f7ce10"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -2095063085 LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.770893"], ["name", "MyGroup"], ["openstax_uid", -2095063085], ["updated_at", "2016-04-19 17:22:45.770893"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -260908910 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:45.772862"], ["name", "MyGroup"], ["openstax_uid", -260908910], ["updated_at", "2016-04-19 17:22:45.772862"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::GroupNesting Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 2 LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Load (0.1ms)[0m [1mSELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1[0m [["id", 2]]
+ [1m[35mSQL (0.2ms)[0m SELECT "openstax_accounts_groups"."id" AS t0_r0, "openstax_accounts_groups"."openstax_uid" AS t0_r1, "openstax_accounts_groups"."is_public" AS t0_r2, "openstax_accounts_groups"."name" AS t0_r3, "openstax_accounts_groups"."cached_subtree_group_ids" AS t0_r4, "openstax_accounts_groups"."cached_supertree_group_ids" AS t0_r5, "openstax_accounts_groups"."created_at" AS t0_r6, "openstax_accounts_groups"."updated_at" AS t0_r7, "openstax_accounts_group_nestings"."id" AS t1_r0, "openstax_accounts_group_nestings"."member_group_id" AS t1_r1, "openstax_accounts_group_nestings"."container_group_id" AS t1_r2, "openstax_accounts_group_nestings"."created_at" AS t1_r3, "openstax_accounts_group_nestings"."updated_at" AS t1_r4 FROM "openstax_accounts_groups" LEFT OUTER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_group_nestings"."member_group_id" = "openstax_accounts_groups"."openstax_uid" WHERE "openstax_accounts_group_nestings"."container_group_id" = -260908910
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = '---
+- -260908910
+' WHERE "openstax_accounts_groups"."id" = 2[0m
+ [1m[35mOpenStax::Accounts::Group Load (0.0ms)[0m SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1 [["id", 1]]
+ [1m[36mSQL (0.1ms)[0m [1mSELECT DISTINCT "openstax_accounts_groups"."id" FROM "openstax_accounts_groups" LEFT OUTER JOIN "openstax_accounts_group_nestings" ON "openstax_accounts_group_nestings"."container_group_id" = "openstax_accounts_groups"."openstax_uid" WHERE "openstax_accounts_group_nestings"."member_group_id" = -2095063085 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = '---
+- -2095063085
+' WHERE "openstax_accounts_groups"."id" = 1
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = NULL WHERE "openstax_accounts_groups"."id" IN (-260908910)[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = NULL WHERE "openstax_accounts_groups"."id" IN (-2095063085)
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["container_group_id", -2095063085], ["created_at", "2016-04-19 17:22:45.774611"], ["member_group_id", -260908910], ["updated_at", "2016-04-19 17:22:45.774611"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Started DELETE "/api/groups/-2095063085/nestings/-260908910" for 127.0.0.1 at 2016-04-19 10:22:45 -0700
+Processing by Api::GroupNestingsController#destroy as application/vnd.accounts.openstax.v1
+ Parameters: {"group_id"=>"-2095063085", "member_group_id"=>"-260908910"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -665886006 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "4b03632a9c63dbac78e82ef1a5aea45e"], ["created_at", "2016-04-19 17:22:45.792967"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -665886006], ["updated_at", "2016-04-19 17:22:45.792967"], ["username", "jstrav"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1760977383 LIMIT 1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cd5276114bbcf729aa876663cad7a91c"], ["created_at", "2016-04-19 17:22:45.795785"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1760977383], ["updated_at", "2016-04-19 17:22:45.795785"], ["username", "mary"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2019402669 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b4d284bb0000323a89fb0b0081346c82"], ["created_at", "2016-04-19 17:22:45.798704"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -2019402669], ["updated_at", "2016-04-19 17:22:45.798704"], ["username", "jstead"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2120101665 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0027b57bd16edcd6e1cb30cac0b27c77"], ["created_at", "2016-04-19 17:22:45.800528"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -2120101665], ["updated_at", "2016-04-19 17:22:45.800528"], ["username", "bigbear"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1655150156 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "72288eddbe64e88af823e5e18ac7a699"], ["created_at", "2016-04-19 17:22:45.802224"], ["first_name", "Billy00"], ["last_name", "Bob_49"], ["openstax_uid", -1655150156], ["updated_at", "2016-04-19 17:22:45.802224"], ["username", "billy_00"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -301121362 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "541f95077e2c006f663c811517398ff1"], ["created_at", "2016-04-19 17:22:45.803894"], ["first_name", "Billy01"], ["last_name", "Bob_48"], ["openstax_uid", -301121362], ["updated_at", "2016-04-19 17:22:45.803894"], ["username", "billy_01"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1580349558 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a3aae4fea34b15c6897f4edef3a900f4"], ["created_at", "2016-04-19 17:22:45.805644"], ["first_name", "Billy02"], ["last_name", "Bob_47"], ["openstax_uid", -1580349558], ["updated_at", "2016-04-19 17:22:45.805644"], ["username", "billy_02"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1293791357 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b87bd851084d659d8a25e033e14512c2"], ["created_at", "2016-04-19 17:22:45.807257"], ["first_name", "Billy03"], ["last_name", "Bob_46"], ["openstax_uid", -1293791357], ["updated_at", "2016-04-19 17:22:45.807257"], ["username", "billy_03"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1589376071 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b1537138bb12ba1dab979bf033208224"], ["created_at", "2016-04-19 17:22:45.808819"], ["first_name", "Billy04"], ["last_name", "Bob_45"], ["openstax_uid", -1589376071], ["updated_at", "2016-04-19 17:22:45.808819"], ["username", "billy_04"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1515880048 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a9b3925d1d74e024bf2f363a839fc916"], ["created_at", "2016-04-19 17:22:45.810333"], ["first_name", "Billy05"], ["last_name", "Bob_44"], ["openstax_uid", -1515880048], ["updated_at", "2016-04-19 17:22:45.810333"], ["username", "billy_05"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -817525509 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c3199f9ff42492f8adfd3a6c1500e923"], ["created_at", "2016-04-19 17:22:45.811889"], ["first_name", "Billy06"], ["last_name", "Bob_43"], ["openstax_uid", -817525509], ["updated_at", "2016-04-19 17:22:45.811889"], ["username", "billy_06"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -351598306 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "6f22d10a070205120e36cb58564bd52c"], ["created_at", "2016-04-19 17:22:45.813590"], ["first_name", "Billy07"], ["last_name", "Bob_42"], ["openstax_uid", -351598306], ["updated_at", "2016-04-19 17:22:45.813590"], ["username", "billy_07"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -207931063 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "0bb8a9d812beb3fca05e383e6953320f"], ["created_at", "2016-04-19 17:22:45.815340"], ["first_name", "Billy08"], ["last_name", "Bob_41"], ["openstax_uid", -207931063], ["updated_at", "2016-04-19 17:22:45.815340"], ["username", "billy_08"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -68870488 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "3d1b1be6f80079003749feda59070ab1"], ["created_at", "2016-04-19 17:22:45.817218"], ["first_name", "Billy09"], ["last_name", "Bob_40"], ["openstax_uid", -68870488], ["updated_at", "2016-04-19 17:22:45.817218"], ["username", "billy_09"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1237895921 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "2ec9cd83bb6b21f821c7cfad7687cfc9"], ["created_at", "2016-04-19 17:22:45.818949"], ["first_name", "Billy10"], ["last_name", "Bob_39"], ["openstax_uid", -1237895921], ["updated_at", "2016-04-19 17:22:45.818949"], ["username", "billy_10"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -782708093 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "7f19c21e7427e7b613d93e54497703c3"], ["created_at", "2016-04-19 17:22:45.820628"], ["first_name", "Billy11"], ["last_name", "Bob_38"], ["openstax_uid", -782708093], ["updated_at", "2016-04-19 17:22:45.820628"], ["username", "billy_11"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1606619099 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "905bcbd31ba885cb2fef3df6f933912d"], ["created_at", "2016-04-19 17:22:45.822311"], ["first_name", "Billy12"], ["last_name", "Bob_37"], ["openstax_uid", -1606619099], ["updated_at", "2016-04-19 17:22:45.822311"], ["username", "billy_12"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1519412506 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "70cd8042bcc3d3d7204ee4f5ea85a8ce"], ["created_at", "2016-04-19 17:22:45.823935"], ["first_name", "Billy13"], ["last_name", "Bob_36"], ["openstax_uid", -1519412506], ["updated_at", "2016-04-19 17:22:45.823935"], ["username", "billy_13"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -525363986 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "d6dced50b662ccc7c9e10a74559ed502"], ["created_at", "2016-04-19 17:22:45.825492"], ["first_name", "Billy14"], ["last_name", "Bob_35"], ["openstax_uid", -525363986], ["updated_at", "2016-04-19 17:22:45.825492"], ["username", "billy_14"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -601138512 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f528c4ef9fc80322611c06bfbe402fac"], ["created_at", "2016-04-19 17:22:45.827033"], ["first_name", "Billy15"], ["last_name", "Bob_34"], ["openstax_uid", -601138512], ["updated_at", "2016-04-19 17:22:45.827033"], ["username", "billy_15"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1388207135 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b188820045e277d87a8285d167929743"], ["created_at", "2016-04-19 17:22:45.828548"], ["first_name", "Billy16"], ["last_name", "Bob_33"], ["openstax_uid", -1388207135], ["updated_at", "2016-04-19 17:22:45.828548"], ["username", "billy_16"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2048301731 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "089e55e98377970c314db55386839bef"], ["created_at", "2016-04-19 17:22:45.830843"], ["first_name", "Billy17"], ["last_name", "Bob_32"], ["openstax_uid", -2048301731], ["updated_at", "2016-04-19 17:22:45.830843"], ["username", "billy_17"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -325822276 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "8a2cb60df745d74e625c5546a37e4561"], ["created_at", "2016-04-19 17:22:45.833440"], ["first_name", "Billy18"], ["last_name", "Bob_31"], ["openstax_uid", -325822276], ["updated_at", "2016-04-19 17:22:45.833440"], ["username", "billy_18"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1605324586 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "129fa3f9f7870d6d300a13f43d3c89b0"], ["created_at", "2016-04-19 17:22:45.835394"], ["first_name", "Billy19"], ["last_name", "Bob_30"], ["openstax_uid", -1605324586], ["updated_at", "2016-04-19 17:22:45.835394"], ["username", "billy_19"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2147194666 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "98ad0800442039fb264bab710eb02f3d"], ["created_at", "2016-04-19 17:22:45.837195"], ["first_name", "Billy20"], ["last_name", "Bob_29"], ["openstax_uid", -2147194666], ["updated_at", "2016-04-19 17:22:45.837195"], ["username", "billy_20"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1642514944 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "40c2ec6684ec58d7318be5d4f06148df"], ["created_at", "2016-04-19 17:22:45.838927"], ["first_name", "Billy21"], ["last_name", "Bob_28"], ["openstax_uid", -1642514944], ["updated_at", "2016-04-19 17:22:45.838927"], ["username", "billy_21"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -971257592 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "aa266e820453e2aee4a5a0f7939aec5d"], ["created_at", "2016-04-19 17:22:45.840583"], ["first_name", "Billy22"], ["last_name", "Bob_27"], ["openstax_uid", -971257592], ["updated_at", "2016-04-19 17:22:45.840583"], ["username", "billy_22"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -521863442 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "fc6da064ed01d9032592989590c0e875"], ["created_at", "2016-04-19 17:22:45.842389"], ["first_name", "Billy23"], ["last_name", "Bob_26"], ["openstax_uid", -521863442], ["updated_at", "2016-04-19 17:22:45.842389"], ["username", "billy_23"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -379810684 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "562b7e5c9d270f12fa48c9792f54fcb7"], ["created_at", "2016-04-19 17:22:45.844033"], ["first_name", "Billy24"], ["last_name", "Bob_25"], ["openstax_uid", -379810684], ["updated_at", "2016-04-19 17:22:45.844033"], ["username", "billy_24"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1212199220 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f7048dd1ab6d6193872d59505c3287c5"], ["created_at", "2016-04-19 17:22:45.845621"], ["first_name", "Billy25"], ["last_name", "Bob_24"], ["openstax_uid", -1212199220], ["updated_at", "2016-04-19 17:22:45.845621"], ["username", "billy_25"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2035889926 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "aadf64bdb75df21ff1f2d8904bd009e6"], ["created_at", "2016-04-19 17:22:45.847144"], ["first_name", "Billy26"], ["last_name", "Bob_23"], ["openstax_uid", -2035889926], ["updated_at", "2016-04-19 17:22:45.847144"], ["username", "billy_26"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -94520397 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "16c917127a65634f92e5ae24208e08c5"], ["created_at", "2016-04-19 17:22:45.848707"], ["first_name", "Billy27"], ["last_name", "Bob_22"], ["openstax_uid", -94520397], ["updated_at", "2016-04-19 17:22:45.848707"], ["username", "billy_27"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -926784200 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "ab0bf950da0adf85a0c651122d2d34d3"], ["created_at", "2016-04-19 17:22:45.850335"], ["first_name", "Billy28"], ["last_name", "Bob_21"], ["openstax_uid", -926784200], ["updated_at", "2016-04-19 17:22:45.850335"], ["username", "billy_28"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1503685371 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "f18bd96cfde63b19174b4372d8fbd2fc"], ["created_at", "2016-04-19 17:22:45.851977"], ["first_name", "Billy29"], ["last_name", "Bob_20"], ["openstax_uid", -1503685371], ["updated_at", "2016-04-19 17:22:45.851977"], ["username", "billy_29"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1915858651 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "545bb67b8f9407f02e5147d2965ea5aa"], ["created_at", "2016-04-19 17:22:45.853659"], ["first_name", "Billy30"], ["last_name", "Bob_19"], ["openstax_uid", -1915858651], ["updated_at", "2016-04-19 17:22:45.853659"], ["username", "billy_30"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2086602968 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "ebad02883dcc42f7e1b7e4d96c942365"], ["created_at", "2016-04-19 17:22:45.855916"], ["first_name", "Billy31"], ["last_name", "Bob_18"], ["openstax_uid", -2086602968], ["updated_at", "2016-04-19 17:22:45.855916"], ["username", "billy_31"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2003434563 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1167ccf292da9e5a55588a32a3021cc9"], ["created_at", "2016-04-19 17:22:45.857825"], ["first_name", "Billy32"], ["last_name", "Bob_17"], ["openstax_uid", -2003434563], ["updated_at", "2016-04-19 17:22:45.857825"], ["username", "billy_32"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -255161523 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "933f0d3fc47e7f1924d059d1e4fac5b4"], ["created_at", "2016-04-19 17:22:45.859488"], ["first_name", "Billy33"], ["last_name", "Bob_16"], ["openstax_uid", -255161523], ["updated_at", "2016-04-19 17:22:45.859488"], ["username", "billy_33"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -617866279 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "cda54462c5a9f8c2bc85d092e0b2f1e8"], ["created_at", "2016-04-19 17:22:45.861141"], ["first_name", "Billy34"], ["last_name", "Bob_15"], ["openstax_uid", -617866279], ["updated_at", "2016-04-19 17:22:45.861141"], ["username", "billy_34"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1251074752 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "a1ac352a90e14e13341145a8b6437895"], ["created_at", "2016-04-19 17:22:45.862723"], ["first_name", "Billy35"], ["last_name", "Bob_14"], ["openstax_uid", -1251074752], ["updated_at", "2016-04-19 17:22:45.862723"], ["username", "billy_35"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1313419900 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1b17869d0da47dc51b764491618e002e"], ["created_at", "2016-04-19 17:22:45.864360"], ["first_name", "Billy36"], ["last_name", "Bob_13"], ["openstax_uid", -1313419900], ["updated_at", "2016-04-19 17:22:45.864360"], ["username", "billy_36"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1126644190 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "ba1311703753f7898ca8a46a50e599b7"], ["created_at", "2016-04-19 17:22:45.870804"], ["first_name", "Billy37"], ["last_name", "Bob_12"], ["openstax_uid", -1126644190], ["updated_at", "2016-04-19 17:22:45.870804"], ["username", "billy_37"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -907264698 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "811b038f9141ee59ddd1f9a6caa62238"], ["created_at", "2016-04-19 17:22:45.872471"], ["first_name", "Billy38"], ["last_name", "Bob_11"], ["openstax_uid", -907264698], ["updated_at", "2016-04-19 17:22:45.872471"], ["username", "billy_38"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1171358828 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "9c22e50ec16fd130189b12bc4ae430f3"], ["created_at", "2016-04-19 17:22:45.874081"], ["first_name", "Billy39"], ["last_name", "Bob_10"], ["openstax_uid", -1171358828], ["updated_at", "2016-04-19 17:22:45.874081"], ["username", "billy_39"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -833659444 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "2f19c40427f9610d9273e4e34c16337d"], ["created_at", "2016-04-19 17:22:45.876659"], ["first_name", "Billy40"], ["last_name", "Bob_09"], ["openstax_uid", -833659444], ["updated_at", "2016-04-19 17:22:45.876659"], ["username", "billy_40"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1857973032 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "c12220920af3144e33c6a6f4d720115c"], ["created_at", "2016-04-19 17:22:45.879206"], ["first_name", "Billy41"], ["last_name", "Bob_08"], ["openstax_uid", -1857973032], ["updated_at", "2016-04-19 17:22:45.879206"], ["username", "billy_41"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1620832552 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "69593e45ff0d0545c895b83a3c4bebae"], ["created_at", "2016-04-19 17:22:45.881244"], ["first_name", "Billy42"], ["last_name", "Bob_07"], ["openstax_uid", -1620832552], ["updated_at", "2016-04-19 17:22:45.881244"], ["username", "billy_42"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -527468622 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "e22c9cbaf7ffccc05006be6f74a59706"], ["created_at", "2016-04-19 17:22:45.883270"], ["first_name", "Billy43"], ["last_name", "Bob_06"], ["openstax_uid", -527468622], ["updated_at", "2016-04-19 17:22:45.883270"], ["username", "billy_43"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -767032649 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "698a2c7fb258d08458174042aa8a9206"], ["created_at", "2016-04-19 17:22:45.885297"], ["first_name", "Billy44"], ["last_name", "Bob_05"], ["openstax_uid", -767032649], ["updated_at", "2016-04-19 17:22:45.885297"], ["username", "billy_44"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -37089145 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "992c788b5ec931df34b2b3c4688c8d59"], ["created_at", "2016-04-19 17:22:45.887588"], ["first_name", "Billy45"], ["last_name", "Bob_04"], ["openstax_uid", -37089145], ["updated_at", "2016-04-19 17:22:45.887588"], ["username", "billy_45"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -649100578 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "1f76b59d5691c53b4cf4882675fb5bdd"], ["created_at", "2016-04-19 17:22:45.889353"], ["first_name", "Billy46"], ["last_name", "Bob_03"], ["openstax_uid", -649100578], ["updated_at", "2016-04-19 17:22:45.889353"], ["username", "billy_46"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1319932957 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "65e534475f85ed97f06896730d7db6c7"], ["created_at", "2016-04-19 17:22:45.890898"], ["first_name", "Billy47"], ["last_name", "Bob_02"], ["openstax_uid", -1319932957], ["updated_at", "2016-04-19 17:22:45.890898"], ["username", "billy_47"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1264776233 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "044d0ca8300f78120d72629dd9ac92ac"], ["created_at", "2016-04-19 17:22:45.892437"], ["first_name", "Billy48"], ["last_name", "Bob_01"], ["openstax_uid", -1264776233], ["updated_at", "2016-04-19 17:22:45.892437"], ["username", "billy_48"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -322398652 LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "b209b48b890e7f820fc5f38a066a83df"], ["created_at", "2016-04-19 17:22:45.893997"], ["first_name", "Billy49"], ["last_name", "Bob_00"], ["openstax_uid", -322398652], ["updated_at", "2016-04-19 17:22:45.893997"], ["username", "billy_49"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (((((("openstax_accounts_accounts"."username" LIKE 'billy%') OR ("openstax_accounts_accounts"."first_name" LIKE 'billy%')) OR ("openstax_accounts_accounts"."last_name" LIKE 'billy%')) OR ("openstax_accounts_accounts"."full_name" LIKE 'billy%')) OR ("openstax_accounts_accounts"."openstax_uid" = 0)))
+ [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -167781336 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a25614bc4d781e3c39e777bcd00edb81"], ["created_at", "2016-04-19 17:22:45.901709"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -167781336], ["updated_at", "2016-04-19 17:22:45.901709"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1433047412 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "d93aa2e7b66c9b0543cdb0117c0878bd"], ["created_at", "2016-04-19 17:22:45.903742"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -1433047412], ["updated_at", "2016-04-19 17:22:45.903742"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -301950699 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a6bbbd25ceaf075fc7f961ce3b2ac562"], ["created_at", "2016-04-19 17:22:45.905729"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -301950699], ["updated_at", "2016-04-19 17:22:45.905729"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -708516015 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c2834067fcac614ca2106011828a63ca"], ["created_at", "2016-04-19 17:22:45.907291"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -708516015], ["updated_at", "2016-04-19 17:22:45.907291"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -14255504 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7450ec39c17bb3fce6e03dc91934c04e"], ["created_at", "2016-04-19 17:22:45.909242"], ["first_name", "Billy00"], ["last_name", "Bob_49"], ["openstax_uid", -14255504], ["updated_at", "2016-04-19 17:22:45.909242"], ["username", "billy_00"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1018121974 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b3e273d17469625f53592c43b8d9bb9b"], ["created_at", "2016-04-19 17:22:45.910925"], ["first_name", "Billy01"], ["last_name", "Bob_48"], ["openstax_uid", -1018121974], ["updated_at", "2016-04-19 17:22:45.910925"], ["username", "billy_01"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1200283803 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d6c21ce08d1f0e979a7de120b41e136a"], ["created_at", "2016-04-19 17:22:45.912506"], ["first_name", "Billy02"], ["last_name", "Bob_47"], ["openstax_uid", -1200283803], ["updated_at", "2016-04-19 17:22:45.912506"], ["username", "billy_02"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -441303479 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "cf0b752179519541c493f45174d9a528"], ["created_at", "2016-04-19 17:22:45.914031"], ["first_name", "Billy03"], ["last_name", "Bob_46"], ["openstax_uid", -441303479], ["updated_at", "2016-04-19 17:22:45.914031"], ["username", "billy_03"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -421896232 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "612c025877287f03678bfd78a81989bd"], ["created_at", "2016-04-19 17:22:45.916501"], ["first_name", "Billy04"], ["last_name", "Bob_45"], ["openstax_uid", -421896232], ["updated_at", "2016-04-19 17:22:45.916501"], ["username", "billy_04"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1884279192 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2d08af63c9fab445a6be3d9974c4284c"], ["created_at", "2016-04-19 17:22:45.918191"], ["first_name", "Billy05"], ["last_name", "Bob_44"], ["openstax_uid", -1884279192], ["updated_at", "2016-04-19 17:22:45.918191"], ["username", "billy_05"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1738411657 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "950dfdba8ee4c83abb758f1ceb2b374d"], ["created_at", "2016-04-19 17:22:45.919829"], ["first_name", "Billy06"], ["last_name", "Bob_43"], ["openstax_uid", -1738411657], ["updated_at", "2016-04-19 17:22:45.919829"], ["username", "billy_06"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1885506390 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "bb0639a6a685aadbd4a72a77fd4d0d5f"], ["created_at", "2016-04-19 17:22:45.921466"], ["first_name", "Billy07"], ["last_name", "Bob_42"], ["openstax_uid", -1885506390], ["updated_at", "2016-04-19 17:22:45.921466"], ["username", "billy_07"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2136055236 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "43031e18bd25494b35617a52b049928f"], ["created_at", "2016-04-19 17:22:45.923067"], ["first_name", "Billy08"], ["last_name", "Bob_41"], ["openstax_uid", -2136055236], ["updated_at", "2016-04-19 17:22:45.923067"], ["username", "billy_08"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1382951410 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "25f07d994a5bcecc3569e5f54e25d129"], ["created_at", "2016-04-19 17:22:45.924651"], ["first_name", "Billy09"], ["last_name", "Bob_40"], ["openstax_uid", -1382951410], ["updated_at", "2016-04-19 17:22:45.924651"], ["username", "billy_09"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -26818430 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d599b6759a7ca1912b502a3d99885c15"], ["created_at", "2016-04-19 17:22:45.926160"], ["first_name", "Billy10"], ["last_name", "Bob_39"], ["openstax_uid", -26818430], ["updated_at", "2016-04-19 17:22:45.926160"], ["username", "billy_10"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1538237777 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "6046336064023744e04d6501f95dd1b4"], ["created_at", "2016-04-19 17:22:45.927731"], ["first_name", "Billy11"], ["last_name", "Bob_38"], ["openstax_uid", -1538237777], ["updated_at", "2016-04-19 17:22:45.927731"], ["username", "billy_11"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1511689873 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "97d0bccc15516be9b984cd81ee809466"], ["created_at", "2016-04-19 17:22:45.929479"], ["first_name", "Billy12"], ["last_name", "Bob_37"], ["openstax_uid", -1511689873], ["updated_at", "2016-04-19 17:22:45.929479"], ["username", "billy_12"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1065156781 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "83c3d6b27e2a96d3c639da6e810e8873"], ["created_at", "2016-04-19 17:22:45.931117"], ["first_name", "Billy13"], ["last_name", "Bob_36"], ["openstax_uid", -1065156781], ["updated_at", "2016-04-19 17:22:45.931117"], ["username", "billy_13"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -894261699 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1c5d25cb98c4e2733963f2ead3ae72aa"], ["created_at", "2016-04-19 17:22:45.932706"], ["first_name", "Billy14"], ["last_name", "Bob_35"], ["openstax_uid", -894261699], ["updated_at", "2016-04-19 17:22:45.932706"], ["username", "billy_14"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -179332043 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3d50b54cc74a5735b879f38cfbfb3dba"], ["created_at", "2016-04-19 17:22:45.935326"], ["first_name", "Billy15"], ["last_name", "Bob_34"], ["openstax_uid", -179332043], ["updated_at", "2016-04-19 17:22:45.935326"], ["username", "billy_15"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1004031988 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ad622a0ebd13ea9669da3b31fa74819e"], ["created_at", "2016-04-19 17:22:45.937743"], ["first_name", "Billy16"], ["last_name", "Bob_33"], ["openstax_uid", -1004031988], ["updated_at", "2016-04-19 17:22:45.937743"], ["username", "billy_16"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1331726205 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c34a6a5d293936f66ddb2c293259ff0e"], ["created_at", "2016-04-19 17:22:45.939620"], ["first_name", "Billy17"], ["last_name", "Bob_32"], ["openstax_uid", -1331726205], ["updated_at", "2016-04-19 17:22:45.939620"], ["username", "billy_17"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -274885005 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5010f362d302aa1789c5a2ffa327e52c"], ["created_at", "2016-04-19 17:22:45.941101"], ["first_name", "Billy18"], ["last_name", "Bob_31"], ["openstax_uid", -274885005], ["updated_at", "2016-04-19 17:22:45.941101"], ["username", "billy_18"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2000098822 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fd8c8ad9e21754482686d8eaac29ba44"], ["created_at", "2016-04-19 17:22:45.942560"], ["first_name", "Billy19"], ["last_name", "Bob_30"], ["openstax_uid", -2000098822], ["updated_at", "2016-04-19 17:22:45.942560"], ["username", "billy_19"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -676555530 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c32ea300b7ba0f0b790f33b0c1e0f80f"], ["created_at", "2016-04-19 17:22:45.944074"], ["first_name", "Billy20"], ["last_name", "Bob_29"], ["openstax_uid", -676555530], ["updated_at", "2016-04-19 17:22:45.944074"], ["username", "billy_20"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -57256514 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fbc98250db6de3963fae3daa077c5c13"], ["created_at", "2016-04-19 17:22:45.945685"], ["first_name", "Billy21"], ["last_name", "Bob_28"], ["openstax_uid", -57256514], ["updated_at", "2016-04-19 17:22:45.945685"], ["username", "billy_21"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2085100431 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "72aaf0cd10bdbc5489234ec09731254e"], ["created_at", "2016-04-19 17:22:45.947121"], ["first_name", "Billy22"], ["last_name", "Bob_27"], ["openstax_uid", -2085100431], ["updated_at", "2016-04-19 17:22:45.947121"], ["username", "billy_22"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1414694807 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d57c268d77aacbb9cd51383d96bba1ec"], ["created_at", "2016-04-19 17:22:45.948647"], ["first_name", "Billy23"], ["last_name", "Bob_26"], ["openstax_uid", -1414694807], ["updated_at", "2016-04-19 17:22:45.948647"], ["username", "billy_23"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1196945809 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "74fe26a76c583260882c386ee0726e6b"], ["created_at", "2016-04-19 17:22:45.950344"], ["first_name", "Billy24"], ["last_name", "Bob_25"], ["openstax_uid", -1196945809], ["updated_at", "2016-04-19 17:22:45.950344"], ["username", "billy_24"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1474687343 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "6128c2a75189947d8a5c1c703537692a"], ["created_at", "2016-04-19 17:22:45.951876"], ["first_name", "Billy25"], ["last_name", "Bob_24"], ["openstax_uid", -1474687343], ["updated_at", "2016-04-19 17:22:45.951876"], ["username", "billy_25"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2096720541 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "aebdd91358ffb23b1d2a8e8b30813979"], ["created_at", "2016-04-19 17:22:45.953379"], ["first_name", "Billy26"], ["last_name", "Bob_23"], ["openstax_uid", -2096720541], ["updated_at", "2016-04-19 17:22:45.953379"], ["username", "billy_26"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2034190928 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e40bbb096922fe278d6be66d03f6f134"], ["created_at", "2016-04-19 17:22:45.955642"], ["first_name", "Billy27"], ["last_name", "Bob_22"], ["openstax_uid", -2034190928], ["updated_at", "2016-04-19 17:22:45.955642"], ["username", "billy_27"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1332640998 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "10e8650ffc82cbdedd5873bc69c7e417"], ["created_at", "2016-04-19 17:22:45.957833"], ["first_name", "Billy28"], ["last_name", "Bob_21"], ["openstax_uid", -1332640998], ["updated_at", "2016-04-19 17:22:45.957833"], ["username", "billy_28"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -252246154 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b21c87d1391d94d940f41cc67d2abc1d"], ["created_at", "2016-04-19 17:22:45.960145"], ["first_name", "Billy29"], ["last_name", "Bob_20"], ["openstax_uid", -252246154], ["updated_at", "2016-04-19 17:22:45.960145"], ["username", "billy_29"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -647730396 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e2aa4ba14beb7f464018863d26f7fdbe"], ["created_at", "2016-04-19 17:22:45.961962"], ["first_name", "Billy30"], ["last_name", "Bob_19"], ["openstax_uid", -647730396], ["updated_at", "2016-04-19 17:22:45.961962"], ["username", "billy_30"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -23584570 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c04787d2bacc36ee44689f6f00c3a0df"], ["created_at", "2016-04-19 17:22:45.963527"], ["first_name", "Billy31"], ["last_name", "Bob_18"], ["openstax_uid", -23584570], ["updated_at", "2016-04-19 17:22:45.963527"], ["username", "billy_31"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1968171092 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7ebf1dac2a1ab0bf8120382d5dd9c49e"], ["created_at", "2016-04-19 17:22:45.965110"], ["first_name", "Billy32"], ["last_name", "Bob_17"], ["openstax_uid", -1968171092], ["updated_at", "2016-04-19 17:22:45.965110"], ["username", "billy_32"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -530655504 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fa5b220761105d6e6006bb8e3f3ce742"], ["created_at", "2016-04-19 17:22:45.966621"], ["first_name", "Billy33"], ["last_name", "Bob_16"], ["openstax_uid", -530655504], ["updated_at", "2016-04-19 17:22:45.966621"], ["username", "billy_33"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1161662745 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8bc85e531956a1e775d804da24e9e4af"], ["created_at", "2016-04-19 17:22:45.968171"], ["first_name", "Billy34"], ["last_name", "Bob_15"], ["openstax_uid", -1161662745], ["updated_at", "2016-04-19 17:22:45.968171"], ["username", "billy_34"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -234283191 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "793217127e251e1f47e7989c655feaa9"], ["created_at", "2016-04-19 17:22:45.969745"], ["first_name", "Billy35"], ["last_name", "Bob_14"], ["openstax_uid", -234283191], ["updated_at", "2016-04-19 17:22:45.969745"], ["username", "billy_35"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -557950174 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b32786f329e6c2f59cc96f686109fad2"], ["created_at", "2016-04-19 17:22:45.971352"], ["first_name", "Billy36"], ["last_name", "Bob_13"], ["openstax_uid", -557950174], ["updated_at", "2016-04-19 17:22:45.971352"], ["username", "billy_36"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2083649493 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "070b470cd736324e8f6d2530b49bcf09"], ["created_at", "2016-04-19 17:22:45.972958"], ["first_name", "Billy37"], ["last_name", "Bob_12"], ["openstax_uid", -2083649493], ["updated_at", "2016-04-19 17:22:45.972958"], ["username", "billy_37"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -509444290 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c3bd02245181569f6dde43eb78dd8325"], ["created_at", "2016-04-19 17:22:45.974759"], ["first_name", "Billy38"], ["last_name", "Bob_11"], ["openstax_uid", -509444290], ["updated_at", "2016-04-19 17:22:45.974759"], ["username", "billy_38"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -948495594 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fe1e92685037a80036f588635817913e"], ["created_at", "2016-04-19 17:22:45.976501"], ["first_name", "Billy39"], ["last_name", "Bob_10"], ["openstax_uid", -948495594], ["updated_at", "2016-04-19 17:22:45.976501"], ["username", "billy_39"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1283272831 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b5e877d92009896c04acb6e6a8a0e549"], ["created_at", "2016-04-19 17:22:45.978155"], ["first_name", "Billy40"], ["last_name", "Bob_09"], ["openstax_uid", -1283272831], ["updated_at", "2016-04-19 17:22:45.978155"], ["username", "billy_40"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -624290917 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "370ece1c7c29ef62d9957a5c2d724a48"], ["created_at", "2016-04-19 17:22:45.979722"], ["first_name", "Billy41"], ["last_name", "Bob_08"], ["openstax_uid", -624290917], ["updated_at", "2016-04-19 17:22:45.979722"], ["username", "billy_41"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -729290886 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "76204cffd5d9ed449837af3a7ef91d02"], ["created_at", "2016-04-19 17:22:45.981390"], ["first_name", "Billy42"], ["last_name", "Bob_07"], ["openstax_uid", -729290886], ["updated_at", "2016-04-19 17:22:45.981390"], ["username", "billy_42"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -718463016 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "627ca79fc309377374803d6fda15390e"], ["created_at", "2016-04-19 17:22:45.982929"], ["first_name", "Billy43"], ["last_name", "Bob_06"], ["openstax_uid", -718463016], ["updated_at", "2016-04-19 17:22:45.982929"], ["username", "billy_43"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1487585389 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "15f72ba75e4cb28c4ccd92d42bb33a88"], ["created_at", "2016-04-19 17:22:45.984477"], ["first_name", "Billy44"], ["last_name", "Bob_05"], ["openstax_uid", -1487585389], ["updated_at", "2016-04-19 17:22:45.984477"], ["username", "billy_44"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1272128530 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fb98bea6748876df20551a0fd4f50050"], ["created_at", "2016-04-19 17:22:45.985996"], ["first_name", "Billy45"], ["last_name", "Bob_04"], ["openstax_uid", -1272128530], ["updated_at", "2016-04-19 17:22:45.985996"], ["username", "billy_45"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1209692192 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "82d6c5149312d92ddb02fc05a5e9be06"], ["created_at", "2016-04-19 17:22:45.987637"], ["first_name", "Billy46"], ["last_name", "Bob_03"], ["openstax_uid", -1209692192], ["updated_at", "2016-04-19 17:22:45.987637"], ["username", "billy_46"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1740204021 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "799fe368b1c41716a271ce40249fb47b"], ["created_at", "2016-04-19 17:22:45.989243"], ["first_name", "Billy47"], ["last_name", "Bob_02"], ["openstax_uid", -1740204021], ["updated_at", "2016-04-19 17:22:45.989243"], ["username", "billy_47"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1284420115 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ee76da76d85f391c0430aaa96d6349a8"], ["created_at", "2016-04-19 17:22:45.990812"], ["first_name", "Billy48"], ["last_name", "Bob_01"], ["openstax_uid", -1284420115], ["updated_at", "2016-04-19 17:22:45.990812"], ["username", "billy_48"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1709143756 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2439feeed6a413618ddeefb82e198c8d"], ["created_at", "2016-04-19 17:22:45.992312"], ["first_name", "Billy49"], ["last_name", "Bob_00"], ["openstax_uid", -1709143756], ["updated_at", "2016-04-19 17:22:45.992312"], ["username", "billy_49"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%'))[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%')) ORDER BY "openstax_accounts_accounts"."username" ASC
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -225594510 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c6128cf26646ba7b3fd975aa399ba252"], ["created_at", "2016-04-19 17:22:46.000239"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -225594510], ["updated_at", "2016-04-19 17:22:46.000239"], ["username", "jstrav"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -554429456 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "c892a72fba689eac3a401fd7712c34c4"], ["created_at", "2016-04-19 17:22:46.002112"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -554429456], ["updated_at", "2016-04-19 17:22:46.002112"], ["username", "mary"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1328075004 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0d1df07b5c7f4523af2776b4e49b448b"], ["created_at", "2016-04-19 17:22:46.004067"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -1328075004], ["updated_at", "2016-04-19 17:22:46.004067"], ["username", "jstead"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2063517275 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "bbd2b7007b1a2aae17c354db51c86198"], ["created_at", "2016-04-19 17:22:46.005664"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -2063517275], ["updated_at", "2016-04-19 17:22:46.005664"], ["username", "bigbear"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1535180697 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f40172268c37bff9932b17b62f7342e3"], ["created_at", "2016-04-19 17:22:46.007579"], ["first_name", "Billy00"], ["last_name", "Bob_49"], ["openstax_uid", -1535180697], ["updated_at", "2016-04-19 17:22:46.007579"], ["username", "billy_00"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1855313950 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f6651d532b5cb95a1ab9589925f2b5dc"], ["created_at", "2016-04-19 17:22:46.009229"], ["first_name", "Billy01"], ["last_name", "Bob_48"], ["openstax_uid", -1855313950], ["updated_at", "2016-04-19 17:22:46.009229"], ["username", "billy_01"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -28489550 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "df0edcb8c5c4f7649d7d3423984fbb54"], ["created_at", "2016-04-19 17:22:46.010779"], ["first_name", "Billy02"], ["last_name", "Bob_47"], ["openstax_uid", -28489550], ["updated_at", "2016-04-19 17:22:46.010779"], ["username", "billy_02"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -181047494 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1f420d8ae1aece382fb290a90fe473bd"], ["created_at", "2016-04-19 17:22:46.012363"], ["first_name", "Billy03"], ["last_name", "Bob_46"], ["openstax_uid", -181047494], ["updated_at", "2016-04-19 17:22:46.012363"], ["username", "billy_03"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1157064303 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "cf540aa9196205a69dc909da84d82699"], ["created_at", "2016-04-19 17:22:46.013933"], ["first_name", "Billy04"], ["last_name", "Bob_45"], ["openstax_uid", -1157064303], ["updated_at", "2016-04-19 17:22:46.013933"], ["username", "billy_04"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1484362265 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "95672396f6c62a2108f6980889ae70e5"], ["created_at", "2016-04-19 17:22:46.015799"], ["first_name", "Billy05"], ["last_name", "Bob_44"], ["openstax_uid", -1484362265], ["updated_at", "2016-04-19 17:22:46.015799"], ["username", "billy_05"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1656561436 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "29a7c8dc2b217c93d498e3c21bca79c9"], ["created_at", "2016-04-19 17:22:46.017644"], ["first_name", "Billy06"], ["last_name", "Bob_43"], ["openstax_uid", -1656561436], ["updated_at", "2016-04-19 17:22:46.017644"], ["username", "billy_06"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -611295063 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b685bd10b493af2fe4ef5b2d5b9a8867"], ["created_at", "2016-04-19 17:22:46.019284"], ["first_name", "Billy07"], ["last_name", "Bob_42"], ["openstax_uid", -611295063], ["updated_at", "2016-04-19 17:22:46.019284"], ["username", "billy_07"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -446656978 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "23c3bd045d553be4abd62c0c8f3d112b"], ["created_at", "2016-04-19 17:22:46.021186"], ["first_name", "Billy08"], ["last_name", "Bob_41"], ["openstax_uid", -446656978], ["updated_at", "2016-04-19 17:22:46.021186"], ["username", "billy_08"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2060641731 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "32f81c7a32f17327cc2d0867d69f60ae"], ["created_at", "2016-04-19 17:22:46.022860"], ["first_name", "Billy09"], ["last_name", "Bob_40"], ["openstax_uid", -2060641731], ["updated_at", "2016-04-19 17:22:46.022860"], ["username", "billy_09"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -35382702 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "82db9db22a73cf7f56fba5f5afcdcbe0"], ["created_at", "2016-04-19 17:22:46.024526"], ["first_name", "Billy10"], ["last_name", "Bob_39"], ["openstax_uid", -35382702], ["updated_at", "2016-04-19 17:22:46.024526"], ["username", "billy_10"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1979555564 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5d5245a184c7d251d37afa7672f0166d"], ["created_at", "2016-04-19 17:22:46.031405"], ["first_name", "Billy11"], ["last_name", "Bob_38"], ["openstax_uid", -1979555564], ["updated_at", "2016-04-19 17:22:46.031405"], ["username", "billy_11"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -124305194 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "dee7e740c7ce1b295bed6fd6e9e467c3"], ["created_at", "2016-04-19 17:22:46.033319"], ["first_name", "Billy12"], ["last_name", "Bob_37"], ["openstax_uid", -124305194], ["updated_at", "2016-04-19 17:22:46.033319"], ["username", "billy_12"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1959202440 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "299b2b3286fcd75d77f8bcef800c5ebd"], ["created_at", "2016-04-19 17:22:46.035708"], ["first_name", "Billy13"], ["last_name", "Bob_36"], ["openstax_uid", -1959202440], ["updated_at", "2016-04-19 17:22:46.035708"], ["username", "billy_13"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -467553148 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5e12cee29a2ce1b721a422a661bcdd73"], ["created_at", "2016-04-19 17:22:46.038150"], ["first_name", "Billy14"], ["last_name", "Bob_35"], ["openstax_uid", -467553148], ["updated_at", "2016-04-19 17:22:46.038150"], ["username", "billy_14"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -497697873 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1023598d0409c0facc131252c4a7af20"], ["created_at", "2016-04-19 17:22:46.039916"], ["first_name", "Billy15"], ["last_name", "Bob_34"], ["openstax_uid", -497697873], ["updated_at", "2016-04-19 17:22:46.039916"], ["username", "billy_15"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -791696959 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ab964ac9d65040789fb3634a741f1194"], ["created_at", "2016-04-19 17:22:46.041486"], ["first_name", "Billy16"], ["last_name", "Bob_33"], ["openstax_uid", -791696959], ["updated_at", "2016-04-19 17:22:46.041486"], ["username", "billy_16"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2091512533 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ebbeb0fa728646db65a09a9927b099a9"], ["created_at", "2016-04-19 17:22:46.042987"], ["first_name", "Billy17"], ["last_name", "Bob_32"], ["openstax_uid", -2091512533], ["updated_at", "2016-04-19 17:22:46.042987"], ["username", "billy_17"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2069948492 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d990d52a6c459efb1ad81c38aee8b709"], ["created_at", "2016-04-19 17:22:46.044466"], ["first_name", "Billy18"], ["last_name", "Bob_31"], ["openstax_uid", -2069948492], ["updated_at", "2016-04-19 17:22:46.044466"], ["username", "billy_18"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -637402179 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "88598ac279510489d0149cc2457e2e65"], ["created_at", "2016-04-19 17:22:46.047211"], ["first_name", "Billy19"], ["last_name", "Bob_30"], ["openstax_uid", -637402179], ["updated_at", "2016-04-19 17:22:46.047211"], ["username", "billy_19"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1322455903 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "cb14d092dc5252189ba9fe9cb9d4f475"], ["created_at", "2016-04-19 17:22:46.049673"], ["first_name", "Billy20"], ["last_name", "Bob_29"], ["openstax_uid", -1322455903], ["updated_at", "2016-04-19 17:22:46.049673"], ["username", "billy_20"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2102208228 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9a0e587b4cd3bfca125418e49f8e6284"], ["created_at", "2016-04-19 17:22:46.051720"], ["first_name", "Billy21"], ["last_name", "Bob_28"], ["openstax_uid", -2102208228], ["updated_at", "2016-04-19 17:22:46.051720"], ["username", "billy_21"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -485293267 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "af25bf6c13a9dd436d4f590bfbdfe8dd"], ["created_at", "2016-04-19 17:22:46.053714"], ["first_name", "Billy22"], ["last_name", "Bob_27"], ["openstax_uid", -485293267], ["updated_at", "2016-04-19 17:22:46.053714"], ["username", "billy_22"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1563948509 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2bf431d2b5592176c29d9b9d814c108a"], ["created_at", "2016-04-19 17:22:46.056344"], ["first_name", "Billy23"], ["last_name", "Bob_26"], ["openstax_uid", -1563948509], ["updated_at", "2016-04-19 17:22:46.056344"], ["username", "billy_23"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1901341967 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4ce6042f82f0aed6f27264908b930bf6"], ["created_at", "2016-04-19 17:22:46.058505"], ["first_name", "Billy24"], ["last_name", "Bob_25"], ["openstax_uid", -1901341967], ["updated_at", "2016-04-19 17:22:46.058505"], ["username", "billy_24"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1203940135 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "491073be1ae6c14956ca97f7a83a95b9"], ["created_at", "2016-04-19 17:22:46.060391"], ["first_name", "Billy25"], ["last_name", "Bob_24"], ["openstax_uid", -1203940135], ["updated_at", "2016-04-19 17:22:46.060391"], ["username", "billy_25"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1382321810 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "efd0ec1db91a17af35c6fff4de4174ff"], ["created_at", "2016-04-19 17:22:46.062269"], ["first_name", "Billy26"], ["last_name", "Bob_23"], ["openstax_uid", -1382321810], ["updated_at", "2016-04-19 17:22:46.062269"], ["username", "billy_26"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1159802571 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2641f66cc8d28a0604e401757ab2cceb"], ["created_at", "2016-04-19 17:22:46.063999"], ["first_name", "Billy27"], ["last_name", "Bob_22"], ["openstax_uid", -1159802571], ["updated_at", "2016-04-19 17:22:46.063999"], ["username", "billy_27"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1756104486 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3959b0f434a901c0fd183acf43420fe7"], ["created_at", "2016-04-19 17:22:46.065714"], ["first_name", "Billy28"], ["last_name", "Bob_21"], ["openstax_uid", -1756104486], ["updated_at", "2016-04-19 17:22:46.065714"], ["username", "billy_28"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -339618936 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f3bc101fcb5e3a0e8842919a9e3ee6b8"], ["created_at", "2016-04-19 17:22:46.067237"], ["first_name", "Billy29"], ["last_name", "Bob_20"], ["openstax_uid", -339618936], ["updated_at", "2016-04-19 17:22:46.067237"], ["username", "billy_29"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -128456109 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "765379272f2cbc6f14592806de738e97"], ["created_at", "2016-04-19 17:22:46.068788"], ["first_name", "Billy30"], ["last_name", "Bob_19"], ["openstax_uid", -128456109], ["updated_at", "2016-04-19 17:22:46.068788"], ["username", "billy_30"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1142433766 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2899a486c292f11f6c093777d4723cfe"], ["created_at", "2016-04-19 17:22:46.070469"], ["first_name", "Billy31"], ["last_name", "Bob_18"], ["openstax_uid", -1142433766], ["updated_at", "2016-04-19 17:22:46.070469"], ["username", "billy_31"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1303644133 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1db22498127d6d3bf758df294da54df4"], ["created_at", "2016-04-19 17:22:46.072153"], ["first_name", "Billy32"], ["last_name", "Bob_17"], ["openstax_uid", -1303644133], ["updated_at", "2016-04-19 17:22:46.072153"], ["username", "billy_32"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1650973635 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "94ee97cd28a0d8d54aec0a9712d3b890"], ["created_at", "2016-04-19 17:22:46.073710"], ["first_name", "Billy33"], ["last_name", "Bob_16"], ["openstax_uid", -1650973635], ["updated_at", "2016-04-19 17:22:46.073710"], ["username", "billy_33"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -813377229 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8ded3d2117ba2cb780bfa4ad3769fcb6"], ["created_at", "2016-04-19 17:22:46.075424"], ["first_name", "Billy34"], ["last_name", "Bob_15"], ["openstax_uid", -813377229], ["updated_at", "2016-04-19 17:22:46.075424"], ["username", "billy_34"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -974746649 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d686ad54354b489d5fb4115192d44fa9"], ["created_at", "2016-04-19 17:22:46.077158"], ["first_name", "Billy35"], ["last_name", "Bob_14"], ["openstax_uid", -974746649], ["updated_at", "2016-04-19 17:22:46.077158"], ["username", "billy_35"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1700153379 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f115932b907a8c378b88b06d83429be3"], ["created_at", "2016-04-19 17:22:46.078789"], ["first_name", "Billy36"], ["last_name", "Bob_13"], ["openstax_uid", -1700153379], ["updated_at", "2016-04-19 17:22:46.078789"], ["username", "billy_36"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1610824053 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "6a17b1a091f9ff599b26a3c6896c511b"], ["created_at", "2016-04-19 17:22:46.080363"], ["first_name", "Billy37"], ["last_name", "Bob_12"], ["openstax_uid", -1610824053], ["updated_at", "2016-04-19 17:22:46.080363"], ["username", "billy_37"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -172579688 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "73f0605c97cd36b33881a725cb9ee57b"], ["created_at", "2016-04-19 17:22:46.081908"], ["first_name", "Billy38"], ["last_name", "Bob_11"], ["openstax_uid", -172579688], ["updated_at", "2016-04-19 17:22:46.081908"], ["username", "billy_38"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1031826543 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5c59c3b607758585ead41a257311c441"], ["created_at", "2016-04-19 17:22:46.083415"], ["first_name", "Billy39"], ["last_name", "Bob_10"], ["openstax_uid", -1031826543], ["updated_at", "2016-04-19 17:22:46.083415"], ["username", "billy_39"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2128696454 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f2918e794469d50f3017663559688d2e"], ["created_at", "2016-04-19 17:22:46.084924"], ["first_name", "Billy40"], ["last_name", "Bob_09"], ["openstax_uid", -2128696454], ["updated_at", "2016-04-19 17:22:46.084924"], ["username", "billy_40"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -475123607 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9a032a575ace0427c6f463f3ee045fb2"], ["created_at", "2016-04-19 17:22:46.086511"], ["first_name", "Billy41"], ["last_name", "Bob_08"], ["openstax_uid", -475123607], ["updated_at", "2016-04-19 17:22:46.086511"], ["username", "billy_41"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -28131569 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0327f8184b971cf1f774a32989173428"], ["created_at", "2016-04-19 17:22:46.088138"], ["first_name", "Billy42"], ["last_name", "Bob_07"], ["openstax_uid", -28131569], ["updated_at", "2016-04-19 17:22:46.088138"], ["username", "billy_42"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -869022502 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e8ee88baab098e5d54142daf5985e817"], ["created_at", "2016-04-19 17:22:46.089751"], ["first_name", "Billy43"], ["last_name", "Bob_06"], ["openstax_uid", -869022502], ["updated_at", "2016-04-19 17:22:46.089751"], ["username", "billy_43"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -74558353 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0fdcb32361472a27c6784f507cfb99ea"], ["created_at", "2016-04-19 17:22:46.091331"], ["first_name", "Billy44"], ["last_name", "Bob_05"], ["openstax_uid", -74558353], ["updated_at", "2016-04-19 17:22:46.091331"], ["username", "billy_44"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2078692654 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4c6ec5f40995e85cee83fd72bc94839c"], ["created_at", "2016-04-19 17:22:46.092824"], ["first_name", "Billy45"], ["last_name", "Bob_04"], ["openstax_uid", -2078692654], ["updated_at", "2016-04-19 17:22:46.092824"], ["username", "billy_45"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1217060375 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3567e4dcd1f2d8445e9df232f3eedc00"], ["created_at", "2016-04-19 17:22:46.094714"], ["first_name", "Billy46"], ["last_name", "Bob_03"], ["openstax_uid", -1217060375], ["updated_at", "2016-04-19 17:22:46.094714"], ["username", "billy_46"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1298837281 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c65dd49a96ad1f530f9ff528651dd377"], ["created_at", "2016-04-19 17:22:46.096702"], ["first_name", "Billy47"], ["last_name", "Bob_02"], ["openstax_uid", -1298837281], ["updated_at", "2016-04-19 17:22:46.096702"], ["username", "billy_47"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -54574865 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "502da45598c39a9ddda404a614e8d643"], ["created_at", "2016-04-19 17:22:46.098620"], ["first_name", "Billy48"], ["last_name", "Bob_01"], ["openstax_uid", -54574865], ["updated_at", "2016-04-19 17:22:46.098620"], ["username", "billy_48"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1657373505 LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "41b158ae88c2b5bbd2a841127b7203f6"], ["created_at", "2016-04-19 17:22:46.100637"], ["first_name", "Billy49"], ["last_name", "Bob_00"], ["openstax_uid", -1657373505], ["updated_at", "2016-04-19 17:22:46.100637"], ["username", "billy_49"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (1.9ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" IS NULL LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "624f6baadbcecc48360e24bbf76b0abc"], ["created_at", "2016-04-19 17:22:46.118512"], ["openstax_uid", 1], ["updated_at", "2016-04-19 17:22:46.118512"], ["username", "23a65c1df50764cbd57fd0920ca3c114"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35m (0.5ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", "2016-04-19 17:22:46.126629"], ["openstax_uid", 2], ["updated_at", "2016-04-19 17:22:46.126629"], ["username", "u"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts"
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:46 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_users/updates" for 127.0.0.1 at 2016-04-19 10:22:46 -0700
+Processing by Api::ApplicationUsersController#updates as application/vnd.accounts.openstax.v1
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE ("openstax_accounts_accounts"."openstax_uid" = 2 AND "openstax_accounts_accounts"."id" != 1) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m UPDATE "openstax_accounts_accounts" SET "updated_at" = ?, "username" = ? WHERE "openstax_accounts_accounts"."id" = 1 [["updated_at", "2016-04-19 17:22:46.151994"], ["username", "user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", "2016-04-19 17:22:46.154305"], ["openstax_uid", 4], ["updated_at", "2016-04-19 17:22:46.154305"], ["username", "fuego"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:46 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started PUT "/api/application_users/updated" for 127.0.0.1 at 2016-04-19 10:22:46 -0700
+Processing by Api::ApplicationUsersController#updated as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"user_id\":2,\"read_updates\":1},{\"user_id\":4,\"read_updates\":2}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_accounts_accounts"[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1[0m
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:46 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started GET "/api/application_users/updates" for 127.0.0.1 at 2016-04-19 10:22:46 -0700
+Processing by Api::ApplicationUsersController#updates as application/vnd.accounts.openstax.v1
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE ("openstax_accounts_accounts"."openstax_uid" = 2 AND "openstax_accounts_accounts"."id" != 1) LIMIT 1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE ("openstax_accounts_accounts"."openstax_uid" = 4 AND "openstax_accounts_accounts"."id" != 2) LIMIT 1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Started POST "/oauth/token" for 127.0.0.1 at 2016-04-19 10:22:46 -0700
+Processing by OauthController#token as */*
+ Parameters: {"grant_type"=>"client_credentials"}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Started PUT "/api/application_users/updated" for 127.0.0.1 at 2016-04-19 10:22:46 -0700
+Processing by Api::ApplicationUsersController#updated as application/vnd.accounts.openstax.v1
+ Parameters: {"{\"user_id\":2,\"read_updates\":1},{\"user_id\":4,\"read_updates\":2}"=>nil}
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_accounts_accounts"
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mOpenStax::Accounts::Account Load (0.1ms)[0m [1mSELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1
+ [1m[36m (1.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "400941dc6c92fc6cd6d37d37b2a2937a"], ["created_at", "2016-04-19 17:22:46.221268"], ["openstax_uid", 1], ["updated_at", "2016-04-19 17:22:46.221268"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 1], ["created_at", "2016-04-19 17:22:46.222659"], ["updated_at", "2016-04-19 17:22:46.222659"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
+ [1m[36m (1.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "b697ea73b9d4f19e83ec75635285db10"], ["created_at", "2016-04-19 17:22:46.637248"], ["openstax_uid", 1], ["updated_at", "2016-04-19 17:22:46.637248"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 1], ["created_at", "2016-04-19 17:22:46.638578"], ["updated_at", "2016-04-19 17:22:46.638578"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
+ [1m[36m (2.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "015f70a0201355d69a3520e20bf3719c"], ["created_at", "2016-04-19 17:22:47.039395"], ["openstax_uid", 1], ["updated_at", "2016-04-19 17:22:47.039395"], ["username", "some_user"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 1], ["created_at", "2016-04-19 17:22:47.040728"], ["updated_at", "2016-04-19 17:22:47.040728"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.2ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "691cccd1630c52ab01a73b2b6d1b1788"], ["created_at", "2016-04-19 17:22:47.431085"], ["openstax_uid", 1], ["updated_at", "2016-04-19 17:22:47.431085"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["account_id", 1], ["created_at", "2016-04-19 17:22:47.432463"], ["updated_at", "2016-04-19 17:22:47.432463"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."id" = 1 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."id" = 1 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+ [1m[35m (2.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "847a4ddd8c689d3d8f340f6c4bf2cf86"], ["created_at", "2016-04-19 17:22:47.840656"], ["openstax_uid", 1], ["updated_at", "2016-04-19 17:22:47.840656"], ["username", "some_user"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["account_id", 1], ["created_at", "2016-04-19 17:22:47.841984"], ["updated_at", "2016-04-19 17:22:47.841984"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Load (0.1ms)[0m SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."id" = 1 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
+ [1m[35m (2.2ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IS NULL LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 1 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:48.245354"], ["name", "MyGroup"], ["openstax_uid", 1], ["updated_at", "2016-04-19 17:22:48.245354"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Group Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 1 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1096229054 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = '9e7df1e64ee9fd07b1a70923568290e5' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "afb71dfefc305fd2f8243833b07e5d4b"], ["created_at", "2016-04-19 17:22:48.249921"], ["openstax_uid", -1096229054], ["updated_at", "2016-04-19 17:22:48.249921"], ["username", "9e7df1e64ee9fd07b1a70923568290e5"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -2041803440 LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."name" = 'MyGroup' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:48.252715"], ["name", "MyGroup"], ["openstax_uid", -2041803440], ["updated_at", "2016-04-19 17:22:48.252715"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -1009359155 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'c239473fc3726ca77772732d03e34829' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "6b17dedf8e561816cf5dc0cf4e0e0c93"], ["created_at", "2016-04-19 17:22:48.256567"], ["openstax_uid", -1009359155], ["updated_at", "2016-04-19 17:22:48.256567"], ["username", "c239473fc3726ca77772732d03e34829"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mOpenStax::Accounts::Group Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -2067598604 LIMIT 1
+ [1m[36mOpenStax::Accounts::Group Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."name" = 'MyGroup' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_accounts_groups" ("cached_subtree_group_ids", "cached_supertree_group_ids", "created_at", "name", "openstax_uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["created_at", "2016-04-19 17:22:48.259311"], ["name", "MyGroup"], ["openstax_uid", -2067598604], ["updated_at", "2016-04-19 17:22:48.259311"]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mOpenStax::Accounts::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -742356662 LIMIT 1[0m
+ [1m[35mOpenStax::Accounts::Account Exists (0.0ms)[0m SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = '15d0ee6f5367ef2d330d6037607e6821' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["access_token", "e8d0750acb4245421b98b9afde13f3b2"], ["created_at", "2016-04-19 17:22:48.263213"], ["openstax_uid", -742356662], ["updated_at", "2016-04-19 17:22:48.263213"], ["username", "15d0ee6f5367ef2d330d6037607e6821"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m