openstax_accounts 2.0.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +1 -0
  3. data/Rakefile +6 -6
  4. data/app/models/openstax/accounts/account.rb +34 -24
  5. data/app/models/openstax/accounts/application_group.rb +7 -0
  6. data/app/models/openstax/accounts/group.rb +132 -0
  7. data/app/models/openstax/accounts/group_member.rb +40 -0
  8. data/app/models/openstax/accounts/group_nesting.rb +62 -0
  9. data/app/models/openstax/accounts/group_owner.rb +40 -0
  10. data/app/representers/openstax/accounts/api/v1/application_group_representer.rb +25 -0
  11. data/app/representers/openstax/accounts/api/v1/application_groups_representer.rb +16 -0
  12. data/app/representers/openstax/accounts/api/v1/group_nesting_representer.rb +18 -0
  13. data/app/representers/openstax/accounts/api/v1/group_representer.rb +50 -0
  14. data/app/representers/openstax/accounts/api/v1/group_user_representer.rb +21 -0
  15. data/app/routines/openstax/accounts/search_accounts.rb +7 -14
  16. data/app/routines/openstax/accounts/sync_accounts.rb +32 -18
  17. data/app/routines/openstax/accounts/sync_groups.rb +61 -0
  18. data/app/routines/openstax/accounts/update_group_caches.rb +27 -0
  19. data/app/views/openstax/accounts/shared/accounts/_index.html.erb +0 -3
  20. data/config/initializers/action_interceptor.rb +1 -1
  21. data/db/migrate/20140811182433_create_openstax_accounts_groups.rb +16 -0
  22. data/db/migrate/20140811182505_create_openstax_accounts_group_members.rb +13 -0
  23. data/db/migrate/20140811182527_create_openstax_accounts_group_owners.rb +13 -0
  24. data/db/migrate/20140811182553_create_openstax_accounts_group_nestings.rb +13 -0
  25. data/lib/generators/openstax/accounts/schedule/templates/schedule.rb +1 -0
  26. data/lib/openstax/accounts/current_user_manager.rb +2 -2
  27. data/lib/openstax/accounts/has_many_through_groups.rb +45 -0
  28. data/lib/openstax/accounts/version.rb +1 -1
  29. data/lib/openstax_accounts.rb +165 -11
  30. data/spec/controllers/openstax/accounts/dev/accounts_controller_spec.rb +1 -1
  31. data/spec/controllers/openstax/accounts/sessions_controller_spec.rb +1 -1
  32. data/spec/dummy/app/controllers/api/application_groups_controller.rb +11 -0
  33. data/spec/dummy/app/controllers/api/dummy_controller.rb +2 -1
  34. data/spec/dummy/app/controllers/api/group_members_controller.rb +11 -0
  35. data/spec/dummy/app/controllers/api/group_nestings_controller.rb +11 -0
  36. data/spec/dummy/app/controllers/api/group_owners_controller.rb +11 -0
  37. data/spec/dummy/app/controllers/api/groups_controller.rb +15 -0
  38. data/spec/dummy/app/controllers/api/users_controller.rb +4 -0
  39. data/spec/dummy/app/models/ownership.rb +7 -0
  40. data/spec/dummy/app/models/user.rb +11 -8
  41. data/spec/dummy/config/application.rb +0 -33
  42. data/spec/dummy/config/boot.rb +4 -9
  43. data/spec/dummy/config/database.yml +8 -8
  44. data/spec/dummy/config/environment.rb +3 -3
  45. data/spec/dummy/config/environments/development.rb +20 -12
  46. data/spec/dummy/config/environments/production.rb +42 -29
  47. data/spec/dummy/config/environments/test.rb +16 -12
  48. data/spec/dummy/config/initializers/assets.rb +8 -0
  49. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  50. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  51. data/spec/dummy/config/initializers/inflections.rb +6 -5
  52. data/spec/dummy/config/initializers/mime_types.rb +0 -1
  53. data/spec/dummy/config/initializers/session_store.rb +1 -6
  54. data/spec/dummy/config/initializers/wrap_parameters.rb +6 -6
  55. data/spec/dummy/config/routes.rb +23 -0
  56. data/spec/dummy/config/secrets.yml +8 -0
  57. data/spec/dummy/db/migrate/1_create_users.rb +2 -2
  58. data/spec/dummy/db/migrate/2_create_ownerships.rb +11 -0
  59. data/spec/dummy/db/schema.rb +72 -20
  60. data/spec/dummy/db/test.sqlite3 +0 -0
  61. data/spec/dummy/log/development.log +186 -0
  62. data/spec/dummy/log/test.log +2078 -0
  63. data/spec/factories/openstax_accounts_account.rb +3 -2
  64. data/spec/factories/openstax_accounts_group.rb +7 -0
  65. data/spec/factories/openstax_accounts_group_member.rb +6 -0
  66. data/spec/factories/openstax_accounts_group_nesting.rb +6 -0
  67. data/spec/factories/openstax_accounts_group_owner.rb +6 -0
  68. data/spec/lib/openstax/accounts/current_user_manager_spec.rb +9 -3
  69. data/spec/lib/openstax/accounts/has_many_through_groups_spec.rb +53 -0
  70. data/spec/lib/openstax_accounts_spec.rb +189 -25
  71. data/spec/models/openstax/accounts/account_spec.rb +16 -1
  72. data/spec/models/openstax/accounts/anonymous_account_spec.rb +1 -1
  73. data/spec/models/openstax/accounts/group_spec.rb +20 -0
  74. data/spec/routines/openstax/accounts/sync_accounts_spec.rb +70 -0
  75. data/spec/routines/openstax/accounts/sync_groups_spec.rb +125 -0
  76. metadata +73 -56
  77. data/spec/dummy/config/initializers/secret_token.rb +0 -7
Binary file
@@ -0,0 +1,186 @@
1
+  (2.2ms) CREATE 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) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (0.8ms) CREATE UNIQUE INDEX "index_openstax_accounts_accounts_on_access_token" ON "openstax_accounts_accounts" ("access_token")
4
+  (0.1ms) SELECT sql
5
+ FROM sqlite_master
6
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
7
+ UNION ALL
8
+ SELECT sql
9
+ FROM sqlite_temp_master
10
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
11
+
12
+  (0.8ms) CREATE INDEX "index_openstax_accounts_accounts_on_first_name" ON "openstax_accounts_accounts" ("first_name")
13
+  (0.1ms) SELECT sql
14
+ FROM sqlite_master
15
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
16
+ UNION ALL
17
+ SELECT sql
18
+ FROM sqlite_temp_master
19
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
20
+
21
+  (0.1ms)  SELECT sql
22
+ FROM sqlite_master
23
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
24
+ UNION ALL
25
+ SELECT sql
26
+ FROM sqlite_temp_master
27
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
28
+ 
29
+  (0.7ms) CREATE INDEX "index_openstax_accounts_accounts_on_full_name" ON "openstax_accounts_accounts" ("full_name")
30
+  (0.1ms)  SELECT sql
31
+ FROM sqlite_master
32
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
33
+ UNION ALL
34
+ SELECT sql
35
+ FROM sqlite_temp_master
36
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
37
+ 
38
+  (0.1ms) SELECT sql
39
+ FROM sqlite_master
40
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
41
+ UNION ALL
42
+ SELECT sql
43
+ FROM sqlite_temp_master
44
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
45
+
46
+  (0.1ms)  SELECT sql
47
+ FROM sqlite_master
48
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
49
+ UNION ALL
50
+ SELECT sql
51
+ FROM sqlite_temp_master
52
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
53
+ 
54
+  (0.7ms) CREATE INDEX "index_openstax_accounts_accounts_on_last_name" ON "openstax_accounts_accounts" ("last_name")
55
+  (0.1ms)  SELECT sql
56
+ FROM sqlite_master
57
+ WHERE name='index_openstax_accounts_accounts_on_last_name' AND type='index'
58
+ UNION ALL
59
+ SELECT sql
60
+ FROM sqlite_temp_master
61
+ WHERE name='index_openstax_accounts_accounts_on_last_name' AND type='index'
62
+ 
63
+  (0.1ms) SELECT sql
64
+ FROM sqlite_master
65
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
66
+ UNION ALL
67
+ SELECT sql
68
+ FROM sqlite_temp_master
69
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
70
+
71
+  (0.1ms)  SELECT sql
72
+ FROM sqlite_master
73
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
74
+ UNION ALL
75
+ SELECT sql
76
+ FROM sqlite_temp_master
77
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
78
+ 
79
+  (0.1ms) SELECT sql
80
+ FROM sqlite_master
81
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
82
+ UNION ALL
83
+ SELECT sql
84
+ FROM sqlite_temp_master
85
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
86
+
87
+  (0.8ms) CREATE UNIQUE INDEX "index_openstax_accounts_accounts_on_openstax_uid" ON "openstax_accounts_accounts" ("openstax_uid")
88
+  (0.1ms) SELECT sql
89
+ FROM sqlite_master
90
+ WHERE name='index_openstax_accounts_accounts_on_openstax_uid' AND type='index'
91
+ UNION ALL
92
+ SELECT sql
93
+ FROM sqlite_temp_master
94
+ WHERE name='index_openstax_accounts_accounts_on_openstax_uid' AND type='index'
95
+
96
+  (0.1ms)  SELECT sql
97
+ FROM sqlite_master
98
+ WHERE name='index_openstax_accounts_accounts_on_last_name' AND type='index'
99
+ UNION ALL
100
+ SELECT sql
101
+ FROM sqlite_temp_master
102
+ WHERE name='index_openstax_accounts_accounts_on_last_name' AND type='index'
103
+ 
104
+  (0.1ms) SELECT sql
105
+ FROM sqlite_master
106
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
107
+ UNION ALL
108
+ SELECT sql
109
+ FROM sqlite_temp_master
110
+ WHERE name='index_openstax_accounts_accounts_on_full_name' AND type='index'
111
+
112
+  (0.1ms)  SELECT sql
113
+ FROM sqlite_master
114
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
115
+ UNION ALL
116
+ SELECT sql
117
+ FROM sqlite_temp_master
118
+ WHERE name='index_openstax_accounts_accounts_on_first_name' AND type='index'
119
+ 
120
+  (0.1ms) SELECT sql
121
+ FROM sqlite_master
122
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
123
+ UNION ALL
124
+ SELECT sql
125
+ FROM sqlite_temp_master
126
+ WHERE name='index_openstax_accounts_accounts_on_access_token' AND type='index'
127
+
128
+  (0.8ms) CREATE UNIQUE INDEX "index_openstax_accounts_accounts_on_username" ON "openstax_accounts_accounts" ("username")
129
+  (1.0ms) 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)
130
+  (0.8ms) CREATE UNIQUE INDEX "index_openstax_accounts_group_members_on_group_id_and_user_id" ON "openstax_accounts_group_members" ("group_id", "user_id")
131
+  (0.1ms) SELECT sql
132
+ FROM sqlite_master
133
+ WHERE name='index_openstax_accounts_group_members_on_group_id_and_user_id' AND type='index'
134
+ UNION ALL
135
+ SELECT sql
136
+ FROM sqlite_temp_master
137
+ WHERE name='index_openstax_accounts_group_members_on_group_id_and_user_id' AND type='index'
138
+
139
+  (0.9ms) CREATE INDEX "index_openstax_accounts_group_members_on_user_id" ON "openstax_accounts_group_members" ("user_id")
140
+  (1.3ms) 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)
141
+  (0.7ms) CREATE INDEX "index_openstax_accounts_group_nestings_on_container_group_id" ON "openstax_accounts_group_nestings" ("container_group_id")
142
+  (0.1ms) SELECT sql
143
+ FROM sqlite_master
144
+ WHERE name='index_openstax_accounts_group_nestings_on_container_group_id' AND type='index'
145
+ UNION ALL
146
+ SELECT sql
147
+ FROM sqlite_temp_master
148
+ WHERE name='index_openstax_accounts_group_nestings_on_container_group_id' AND type='index'
149
+
150
+  (1.0ms) CREATE UNIQUE INDEX "index_openstax_accounts_group_nestings_on_member_group_id" ON "openstax_accounts_group_nestings" ("member_group_id")
151
+  (0.8ms) 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)
152
+  (0.9ms) CREATE UNIQUE INDEX "index_openstax_accounts_group_owners_on_group_id_and_user_id" ON "openstax_accounts_group_owners" ("group_id", "user_id")
153
+  (0.1ms) SELECT sql
154
+ FROM sqlite_master
155
+ WHERE name='index_openstax_accounts_group_owners_on_group_id_and_user_id' AND type='index'
156
+ UNION ALL
157
+ SELECT sql
158
+ FROM sqlite_temp_master
159
+ WHERE name='index_openstax_accounts_group_owners_on_group_id_and_user_id' AND type='index'
160
+
161
+  (0.7ms) CREATE INDEX "index_openstax_accounts_group_owners_on_user_id" ON "openstax_accounts_group_owners" ("user_id")
162
+  (1.1ms) 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)
163
+  (1.0ms) CREATE INDEX "index_openstax_accounts_groups_on_is_public" ON "openstax_accounts_groups" ("is_public")
164
+  (0.1ms) SELECT sql
165
+ FROM sqlite_master
166
+ WHERE name='index_openstax_accounts_groups_on_is_public' AND type='index'
167
+ UNION ALL
168
+ SELECT sql
169
+ FROM sqlite_temp_master
170
+ WHERE name='index_openstax_accounts_groups_on_is_public' AND type='index'
171
+
172
+  (0.9ms) CREATE UNIQUE INDEX "index_openstax_accounts_groups_on_openstax_uid" ON "openstax_accounts_groups" ("openstax_uid")
173
+  (0.7ms) 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)
174
+  (0.9ms) CREATE UNIQUE INDEX "index_ownerships_on_owner_id_and_owner_type" ON "ownerships" ("owner_id", "owner_type")
175
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
176
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_account_id" ON "users" ("account_id")
177
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
178
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
179
+  (0.1ms) SELECT version FROM "schema_migrations"
180
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811182553')
181
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
182
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('2')
183
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
184
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811182433')
185
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811182505')
186
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140811182527')
@@ -0,0 +1,2078 @@
1
+  (0.5ms) begin transaction
2
+  (0.1ms) SAVEPOINT active_record_1
3
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
4
+ Binary data inserted for `string` type on column `access_token`
5
+ SQL (0.6ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "e4e0b4cdedacd13299c06a6131565c1b"], ["created_at", "2014-09-22 21:53:32.934001"], ["openstax_uid", 1], ["updated_at", "2014-09-22 21:53:32.934001"], ["username", "some_user"]]
6
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7
+  (0.1ms) SAVEPOINT active_record_1
8
+ SQL (0.3ms) INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 1], ["created_at", "2014-09-22 21:53:32.942974"], ["updated_at", "2014-09-22 21:53:32.942974"]]
9
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
11
+  (2.2ms) rollback transaction
12
+  (0.0ms) begin transaction
13
+  (0.0ms) SAVEPOINT active_record_1
14
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
15
+ Binary data inserted for `string` type on column `access_token`
16
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "1f6748a1035a91856e4deda0bf6b27aa"], ["created_at", "2014-09-22 21:53:33.378918"], ["openstax_uid", 1], ["updated_at", "2014-09-22 21:53:33.378918"], ["username", "some_user"]]
17
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18
+  (0.0ms) SAVEPOINT active_record_1
19
+ SQL (0.2ms) INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 1], ["created_at", "2014-09-22 21:53:33.380608"], ["updated_at", "2014-09-22 21:53:33.380608"]]
20
+  (0.0ms) RELEASE SAVEPOINT active_record_1
21
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
22
+  (1.6ms) rollback transaction
23
+  (0.0ms) begin transaction
24
+  (0.0ms) SAVEPOINT active_record_1
25
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
26
+ Binary data inserted for `string` type on column `access_token`
27
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "b9f1dc72a74486268c4d3e6c1b088774"], ["created_at", "2014-09-22 21:53:33.793538"], ["openstax_uid", 1], ["updated_at", "2014-09-22 21:53:33.793538"], ["username", "some_user"]]
28
+  (0.0ms) RELEASE SAVEPOINT active_record_1
29
+  (0.0ms) SAVEPOINT active_record_1
30
+ SQL (0.3ms) INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 1], ["created_at", "2014-09-22 21:53:33.795140"], ["updated_at", "2014-09-22 21:53:33.795140"]]
31
+  (0.0ms) RELEASE SAVEPOINT active_record_1
32
+  (1.4ms) rollback transaction
33
+  (0.0ms) begin transaction
34
+  (0.0ms) SAVEPOINT active_record_1
35
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
36
+ Binary data inserted for `string` type on column `access_token`
37
+ SQL (0.6ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "fb98b627326a445969b8c25d9bfaccc7"], ["created_at", "2014-09-22 21:53:34.206049"], ["openstax_uid", 1], ["updated_at", "2014-09-22 21:53:34.206049"], ["username", "some_user"]]
38
+  (0.0ms) RELEASE SAVEPOINT active_record_1
39
+  (0.0ms) SAVEPOINT active_record_1
40
+ SQL (0.3ms) INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 1], ["created_at", "2014-09-22 21:53:34.207933"], ["updated_at", "2014-09-22 21:53:34.207933"]]
41
+  (0.0ms) RELEASE SAVEPOINT active_record_1
42
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
43
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."id" = 1 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
44
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
45
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."id" = 1 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
46
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
47
+  (1.7ms) rollback transaction
48
+  (0.0ms) begin transaction
49
+  (0.0ms) SAVEPOINT active_record_1
50
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
51
+ Binary data inserted for `string` type on column `access_token`
52
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "be6e40a20817967932f9afaae18237af"], ["created_at", "2014-09-22 21:53:34.625873"], ["openstax_uid", 1], ["updated_at", "2014-09-22 21:53:34.625873"], ["username", "some_user"]]
53
+  (0.0ms) RELEASE SAVEPOINT active_record_1
54
+  (0.0ms) SAVEPOINT active_record_1
55
+ SQL (0.2ms) INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 1], ["created_at", "2014-09-22 21:53:34.627689"], ["updated_at", "2014-09-22 21:53:34.627689"]]
56
+  (0.0ms) RELEASE SAVEPOINT active_record_1
57
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
58
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."id" = 1 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
59
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
60
+  (1.7ms) rollback transaction
61
+  (0.0ms) begin transaction
62
+  (0.0ms) SAVEPOINT active_record_1
63
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -310623414099872817823249440011963512950 LIMIT 1
64
+ Binary data inserted for `string` type on column `access_token`
65
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5a878589960285cc541166aab2a3ab8b"], ["created_at", "2014-09-22 21:53:35.043245"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -310623414099872817823249440011963512950], ["updated_at", "2014-09-22 21:53:35.043245"], ["username", "jstrav"]]
66
+  (0.0ms) RELEASE SAVEPOINT active_record_1
67
+  (0.0ms) SAVEPOINT active_record_1
68
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -182940893508079825293006219985557583875 LIMIT 1
69
+ Binary data inserted for `string` type on column `access_token`
70
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "1ebdbac215cf5a6e8f4524564989354c"], ["created_at", "2014-09-22 21:53:35.045947"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -182940893508079825293006219985557583875], ["updated_at", "2014-09-22 21:53:35.045947"], ["username", "mary"]]
71
+  (0.0ms) RELEASE SAVEPOINT active_record_1
72
+  (0.0ms) SAVEPOINT active_record_1
73
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -65924142591384374891025886006662249395 LIMIT 1
74
+ Binary data inserted for `string` type on column `access_token`
75
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "11a362aa93616697c6b94b935be7b985"], ["created_at", "2014-09-22 21:53:35.048527"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -65924142591384374891025886006662249395], ["updated_at", "2014-09-22 21:53:35.048527"], ["username", "jstead"]]
76
+  (0.0ms) RELEASE SAVEPOINT active_record_1
77
+  (0.0ms) SAVEPOINT active_record_1
78
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -261150312010706699134475473717633231941 LIMIT 1
79
+ Binary data inserted for `string` type on column `access_token`
80
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e4c77217ad877a8a333aa617c4abfdf9"], ["created_at", "2014-09-22 21:53:35.050880"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -261150312010706699134475473717633231941], ["updated_at", "2014-09-22 21:53:35.050880"], ["username", "bigbear"]]
81
+  (0.0ms) RELEASE SAVEPOINT active_record_1
82
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE ((lower("openstax_accounts_accounts"."first_name") LIKE 'john%'))
83
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE ((lower("openstax_accounts_accounts"."first_name") LIKE 'john%')) ORDER BY username ASC LIMIT 20 OFFSET 0
84
+  (0.6ms) rollback transaction
85
+  (0.0ms) begin transaction
86
+  (0.0ms) SAVEPOINT active_record_1
87
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -287626619622591207105920788207501653383 LIMIT 1
88
+ Binary data inserted for `string` type on column `access_token`
89
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b5b487425a7bc38ac5a6835b4a887169"], ["created_at", "2014-09-22 21:53:35.057762"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -287626619622591207105920788207501653383], ["updated_at", "2014-09-22 21:53:35.057762"], ["username", "jstrav"]]
90
+  (0.0ms) RELEASE SAVEPOINT active_record_1
91
+  (0.0ms) SAVEPOINT active_record_1
92
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -227097174225578004736889983951229215294 LIMIT 1
93
+ Binary data inserted for `string` type on column `access_token`
94
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "db13d363240e312562269d8eb686ffca"], ["created_at", "2014-09-22 21:53:35.060406"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -227097174225578004736889983951229215294], ["updated_at", "2014-09-22 21:53:35.060406"], ["username", "mary"]]
95
+  (0.0ms) RELEASE SAVEPOINT active_record_1
96
+  (0.0ms) SAVEPOINT active_record_1
97
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -69405363379545542038843801217247117588 LIMIT 1
98
+ Binary data inserted for `string` type on column `access_token`
99
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4a3229e3c66781a5dc42ad5e4934ec4a"], ["created_at", "2014-09-22 21:53:35.062874"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -69405363379545542038843801217247117588], ["updated_at", "2014-09-22 21:53:35.062874"], ["username", "jstead"]]
100
+  (0.0ms) RELEASE SAVEPOINT active_record_1
101
+  (0.0ms) SAVEPOINT active_record_1
102
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -266326299928467869480199801682401775689 LIMIT 1
103
+ Binary data inserted for `string` type on column `access_token`
104
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "db0c21e52f789668f497b86f81169c27"], ["created_at", "2014-09-22 21:53:35.065007"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -266326299928467869480199801682401775689], ["updated_at", "2014-09-22 21:53:35.065007"], ["username", "bigbear"]]
105
+  (0.0ms) RELEASE SAVEPOINT active_record_1
106
+  (0.2ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE ((((((lower("openstax_accounts_accounts"."username") LIKE 'john%' OR lower("openstax_accounts_accounts"."username") LIKE 'mighty%') OR (lower("openstax_accounts_accounts"."first_name") LIKE 'john%' OR lower("openstax_accounts_accounts"."first_name") LIKE 'mighty%')) OR (lower("openstax_accounts_accounts"."last_name") LIKE 'john%' OR lower("openstax_accounts_accounts"."last_name") LIKE 'mighty%')) OR (lower("openstax_accounts_accounts"."full_name") LIKE 'john%' OR lower("openstax_accounts_accounts"."full_name") LIKE 'mighty%')) OR "openstax_accounts_accounts"."id" IN (0, 0)))
107
+ OpenStax::Accounts::Account Load (0.2ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE ((((((lower("openstax_accounts_accounts"."username") LIKE 'john%' OR lower("openstax_accounts_accounts"."username") LIKE 'mighty%') OR (lower("openstax_accounts_accounts"."first_name") LIKE 'john%' OR lower("openstax_accounts_accounts"."first_name") LIKE 'mighty%')) OR (lower("openstax_accounts_accounts"."last_name") LIKE 'john%' OR lower("openstax_accounts_accounts"."last_name") LIKE 'mighty%')) OR (lower("openstax_accounts_accounts"."full_name") LIKE 'john%' OR lower("openstax_accounts_accounts"."full_name") LIKE 'mighty%')) OR "openstax_accounts_accounts"."id" IN (0, 0))) ORDER BY username ASC LIMIT 20 OFFSET 0
108
+  (0.5ms) rollback transaction
109
+  (0.0ms) begin transaction
110
+  (0.0ms) SAVEPOINT active_record_1
111
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -319670869777126205061253152377331126286 LIMIT 1
112
+ Binary data inserted for `string` type on column `access_token`
113
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4a166fd67de7048b1e32bd54c01c507e"], ["created_at", "2014-09-22 21:53:35.072116"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -319670869777126205061253152377331126286], ["updated_at", "2014-09-22 21:53:35.072116"], ["username", "jstrav"]]
114
+  (0.0ms) RELEASE SAVEPOINT active_record_1
115
+  (0.1ms) SAVEPOINT active_record_1
116
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -27000031978144220315489472226144411203 LIMIT 1
117
+ Binary data inserted for `string` type on column `access_token`
118
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "f87253c77c9364801fde5f5c81cfe7cc"], ["created_at", "2014-09-22 21:53:35.074814"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -27000031978144220315489472226144411203], ["updated_at", "2014-09-22 21:53:35.074814"], ["username", "mary"]]
119
+  (0.0ms) RELEASE SAVEPOINT active_record_1
120
+  (0.0ms) SAVEPOINT active_record_1
121
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -90245614636780175877720985050687440967 LIMIT 1
122
+ Binary data inserted for `string` type on column `access_token`
123
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4ec3afd764f9a8b60f615cf88b55d54d"], ["created_at", "2014-09-22 21:53:35.077254"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -90245614636780175877720985050687440967], ["updated_at", "2014-09-22 21:53:35.077254"], ["username", "jstead"]]
124
+  (0.0ms) RELEASE SAVEPOINT active_record_1
125
+  (0.0ms) SAVEPOINT active_record_1
126
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -319331644490894174326520441453809833992 LIMIT 1
127
+ Binary data inserted for `string` type on column `access_token`
128
+ SQL (0.2ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5216ec289f499bf4ddaee4f19a6813ff"], ["created_at", "2014-09-22 21:53:35.079422"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -319331644490894174326520441453809833992], ["updated_at", "2014-09-22 21:53:35.079422"], ["username", "bigbear"]]
129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
130
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'rav%'))
131
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'rav%')) ORDER BY username ASC LIMIT 20 OFFSET 0
132
+  (0.5ms) rollback transaction
133
+  (0.0ms) begin transaction
134
+  (0.0ms) SAVEPOINT active_record_1
135
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -586080999824229959944916145444656703 LIMIT 1
136
+ Binary data inserted for `string` type on column `access_token`
137
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f90b8d48878ff13d096b63a723be3eda"], ["created_at", "2014-09-22 21:53:35.085119"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -586080999824229959944916145444656703], ["updated_at", "2014-09-22 21:53:35.085119"], ["username", "jstrav"]]
138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
139
+  (0.0ms) SAVEPOINT active_record_1
140
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -246715668201347506921690217516220771258 LIMIT 1
141
+ Binary data inserted for `string` type on column `access_token`
142
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "d0a1539067ff9925f5426160c0059e47"], ["created_at", "2014-09-22 21:53:35.087838"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -246715668201347506921690217516220771258], ["updated_at", "2014-09-22 21:53:35.087838"], ["username", "mary"]]
143
+  (0.0ms) RELEASE SAVEPOINT active_record_1
144
+  (0.0ms) SAVEPOINT active_record_1
145
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -177367211530984189570727024984118075573 LIMIT 1
146
+ Binary data inserted for `string` type on column `access_token`
147
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "6895690b44b793e1a9fca7881f517da0"], ["created_at", "2014-09-22 21:53:35.090365"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -177367211530984189570727024984118075573], ["updated_at", "2014-09-22 21:53:35.090365"], ["username", "jstead"]]
148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149
+  (0.0ms) SAVEPOINT active_record_1
150
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -198882399934778259124547127276722380986 LIMIT 1
151
+ Binary data inserted for `string` type on column `access_token`
152
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "6f424a6d9384763707fcf2031aaafa4c"], ["created_at", "2014-09-22 21:53:35.092520"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -198882399934778259124547127276722380986], ["updated_at", "2014-09-22 21:53:35.092520"], ["username", "bigbear"]]
153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
154
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE ((lower("openstax_accounts_accounts"."full_name") LIKE 'mary mighty%'))
155
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE ((lower("openstax_accounts_accounts"."full_name") LIKE 'mary mighty%')) ORDER BY username ASC LIMIT 20 OFFSET 0
156
+  (0.6ms) rollback transaction
157
+  (0.0ms) begin transaction
158
+  (0.0ms) SAVEPOINT active_record_1
159
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -326936910409464387486633787404333777395 LIMIT 1
160
+ Binary data inserted for `string` type on column `access_token`
161
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d3b0d00e336bbd13d52c149aa4e8b392"], ["created_at", "2014-09-22 21:53:35.098117"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -326936910409464387486633787404333777395], ["updated_at", "2014-09-22 21:53:35.098117"], ["username", "jstrav"]]
162
+  (0.0ms) RELEASE SAVEPOINT active_record_1
163
+  (0.0ms) SAVEPOINT active_record_1
164
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -260820094033736359363845773488892281710 LIMIT 1
165
+ Binary data inserted for `string` type on column `access_token`
166
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "739a1b35ec881593ff226474ba901d84"], ["created_at", "2014-09-22 21:53:35.100750"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -260820094033736359363845773488892281710], ["updated_at", "2014-09-22 21:53:35.100750"], ["username", "mary"]]
167
+  (0.0ms) RELEASE SAVEPOINT active_record_1
168
+  (0.0ms) SAVEPOINT active_record_1
169
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -175035177067066509562987166480576316897 LIMIT 1
170
+ Binary data inserted for `string` type on column `access_token`
171
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c60347624b54457d056ed5040bd11a5c"], ["created_at", "2014-09-22 21:53:35.103273"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -175035177067066509562987166480576316897], ["updated_at", "2014-09-22 21:53:35.103273"], ["username", "jstead"]]
172
+  (0.0ms) RELEASE SAVEPOINT active_record_1
173
+  (0.0ms) SAVEPOINT active_record_1
174
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -327188046960227852786600823938389176823 LIMIT 1
175
+ Binary data inserted for `string` type on column `access_token`
176
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "79719f9903594738e02165a7bb86d5ac"], ["created_at", "2014-09-22 21:53:35.105508"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -327188046960227852786600823938389176823], ["updated_at", "2014-09-22 21:53:35.105508"], ["username", "bigbear"]]
177
+  (0.0ms) RELEASE SAVEPOINT active_record_1
178
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'ar%'))
179
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'ar%')) ORDER BY username ASC LIMIT 20 OFFSET 0
180
+  (0.5ms) rollback transaction
181
+  (0.0ms) begin transaction
182
+  (0.0ms) SAVEPOINT active_record_1
183
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -315560589822817997966398762017430330820 LIMIT 1
184
+ Binary data inserted for `string` type on column `access_token`
185
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "13fb2606ae0743052447975a56fad4fc"], ["created_at", "2014-09-22 21:53:35.110845"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -315560589822817997966398762017430330820], ["updated_at", "2014-09-22 21:53:35.110845"], ["username", "jstrav"]]
186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
187
+  (0.0ms) SAVEPOINT active_record_1
188
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -153265429472718386460110629768703621550 LIMIT 1
189
+ Binary data inserted for `string` type on column `access_token`
190
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "5f7268619db6716339ac411ce6b43b84"], ["created_at", "2014-09-22 21:53:35.113410"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -153265429472718386460110629768703621550], ["updated_at", "2014-09-22 21:53:35.113410"], ["username", "mary"]]
191
+  (0.0ms) RELEASE SAVEPOINT active_record_1
192
+  (0.0ms) SAVEPOINT active_record_1
193
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -8503683275684814444565110626534832482 LIMIT 1
194
+ Binary data inserted for `string` type on column `access_token`
195
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5e6f8caeb3892996c1f2a2a49e877557"], ["created_at", "2014-09-22 21:53:35.115898"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -8503683275684814444565110626534832482], ["updated_at", "2014-09-22 21:53:35.115898"], ["username", "jstead"]]
196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
197
+  (0.0ms) SAVEPOINT active_record_1
198
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -194164376184083337396898819932620725541 LIMIT 1
199
+ Binary data inserted for `string` type on column `access_token`
200
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f78f1b6f8be9723b8f9d5754a6e200d7"], ["created_at", "2014-09-22 21:53:35.147330"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -194164376184083337396898819932620725541], ["updated_at", "2014-09-22 21:53:35.147330"], ["username", "bigbear"]]
201
+  (0.0ms) RELEASE SAVEPOINT active_record_1
202
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE ((((((lower("openstax_accounts_accounts"."username") LIKE 'jst%') OR (lower("openstax_accounts_accounts"."first_name") LIKE 'jst%')) OR (lower("openstax_accounts_accounts"."last_name") LIKE 'jst%')) OR (lower("openstax_accounts_accounts"."full_name") LIKE 'jst%')) OR "openstax_accounts_accounts"."id" IN (0))) AND (("openstax_accounts_accounts"."username" LIKE 'jst%'))
203
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE ((((((lower("openstax_accounts_accounts"."username") LIKE 'jst%') OR (lower("openstax_accounts_accounts"."first_name") LIKE 'jst%')) OR (lower("openstax_accounts_accounts"."last_name") LIKE 'jst%')) OR (lower("openstax_accounts_accounts"."full_name") LIKE 'jst%')) OR "openstax_accounts_accounts"."id" IN (0))) AND (("openstax_accounts_accounts"."username" LIKE 'jst%')) ORDER BY username ASC LIMIT 20 OFFSET 0
204
+  (0.6ms) rollback transaction
205
+  (0.0ms) begin transaction
206
+  (0.0ms) SAVEPOINT active_record_1
207
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -28973713272715320392828555597219082706 LIMIT 1
208
+ Binary data inserted for `string` type on column `access_token`
209
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9a90f42b101ad365798d6b80761bd964"], ["created_at", "2014-09-22 21:53:35.154188"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -28973713272715320392828555597219082706], ["updated_at", "2014-09-22 21:53:35.154188"], ["username", "jstrav"]]
210
+  (0.0ms) RELEASE SAVEPOINT active_record_1
211
+  (0.0ms) SAVEPOINT active_record_1
212
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -9538659032131960290546780310922148902 LIMIT 1
213
+ Binary data inserted for `string` type on column `access_token`
214
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "18ebf4cae2303cf94f3c115d148b7c50"], ["created_at", "2014-09-22 21:53:35.156861"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -9538659032131960290546780310922148902], ["updated_at", "2014-09-22 21:53:35.156861"], ["username", "mary"]]
215
+  (0.0ms) RELEASE SAVEPOINT active_record_1
216
+  (0.0ms) SAVEPOINT active_record_1
217
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -124574336227302799869487687374248959884 LIMIT 1
218
+ Binary data inserted for `string` type on column `access_token`
219
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "010493774baf6e33fc72a3d2787e3a0d"], ["created_at", "2014-09-22 21:53:35.159201"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -124574336227302799869487687374248959884], ["updated_at", "2014-09-22 21:53:35.159201"], ["username", "jstead"]]
220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
221
+  (0.1ms) SAVEPOINT active_record_1
222
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -72600481818617442329570204759043747465 LIMIT 1
223
+ Binary data inserted for `string` type on column `access_token`
224
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "cb0fd46fb857d002a1077b83d82672e3"], ["created_at", "2014-09-22 21:53:35.161487"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -72600481818617442329570204759043747465], ["updated_at", "2014-09-22 21:53:35.161487"], ["username", "bigbear"]]
225
+  (0.1ms) RELEASE SAVEPOINT active_record_1
226
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE ((((((lower("openstax_accounts_accounts"."username") LIKE 'jst%') OR (lower("openstax_accounts_accounts"."first_name") LIKE 'jst%')) OR (lower("openstax_accounts_accounts"."last_name") LIKE 'jst%')) OR (lower("openstax_accounts_accounts"."full_name") LIKE 'jst%')) OR "openstax_accounts_accounts"."id" IN (0)))
227
+ OpenStax::Accounts::Account Load (0.2ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE ((((((lower("openstax_accounts_accounts"."username") LIKE 'jst%') OR (lower("openstax_accounts_accounts"."first_name") LIKE 'jst%')) OR (lower("openstax_accounts_accounts"."last_name") LIKE 'jst%')) OR (lower("openstax_accounts_accounts"."full_name") LIKE 'jst%')) OR "openstax_accounts_accounts"."id" IN (0))) ORDER BY username ASC LIMIT 20 OFFSET 0
228
+  (0.5ms) rollback transaction
229
+  (0.0ms) begin transaction
230
+  (0.1ms) SAVEPOINT active_record_1
231
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -189681576581949809567850998127454145288 LIMIT 1
232
+ Binary data inserted for `string` type on column `access_token`
233
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "17d1f8e3e220bcd399cb1e6879890e84"], ["created_at", "2014-09-22 21:53:35.168168"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -189681576581949809567850998127454145288], ["updated_at", "2014-09-22 21:53:35.168168"], ["username", "jstrav"]]
234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
235
+  (0.0ms) SAVEPOINT active_record_1
236
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -53531410142152516458554667783907459186 LIMIT 1
237
+ Binary data inserted for `string` type on column `access_token`
238
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "022d4f9bcf62f7e31e344c894997966f"], ["created_at", "2014-09-22 21:53:35.171177"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -53531410142152516458554667783907459186], ["updated_at", "2014-09-22 21:53:35.171177"], ["username", "mary"]]
239
+  (0.0ms) RELEASE SAVEPOINT active_record_1
240
+  (0.0ms) SAVEPOINT active_record_1
241
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -219380028112682278234741278873737692017 LIMIT 1
242
+ Binary data inserted for `string` type on column `access_token`
243
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3e2a04654270d62f0e3473efad828768"], ["created_at", "2014-09-22 21:53:35.173596"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -219380028112682278234741278873737692017], ["updated_at", "2014-09-22 21:53:35.173596"], ["username", "jstead"]]
244
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245
+  (0.0ms) SAVEPOINT active_record_1
246
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -174663286128497831239560993782298849904 LIMIT 1
247
+ Binary data inserted for `string` type on column `access_token`
248
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b660df7c1ae8372bac0a295d70e98b9c"], ["created_at", "2014-09-22 21:53:35.175813"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -174663286128497831239560993782298849904], ["updated_at", "2014-09-22 21:53:35.175813"], ["username", "bigbear"]]
249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts"
251
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY username ASC LIMIT 20 OFFSET 0
252
+  (0.7ms) rollback transaction
253
+  (0.0ms) begin transaction
254
+  (0.0ms) SAVEPOINT active_record_1
255
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -165775257733386308289628527128353581222 LIMIT 1
256
+ Binary data inserted for `string` type on column `access_token`
257
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a379f3288ec3cf1255f2412b463fabc5"], ["created_at", "2014-09-22 21:53:35.180833"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -165775257733386308289628527128353581222], ["updated_at", "2014-09-22 21:53:35.180833"], ["username", "jstrav"]]
258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
259
+  (0.0ms) SAVEPOINT active_record_1
260
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -46073676350898015427598281614818923418 LIMIT 1
261
+ Binary data inserted for `string` type on column `access_token`
262
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "137bb255b1e73d0cd91e791ce81f9c93"], ["created_at", "2014-09-22 21:53:35.183480"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -46073676350898015427598281614818923418], ["updated_at", "2014-09-22 21:53:35.183480"], ["username", "mary"]]
263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
264
+  (0.0ms) SAVEPOINT active_record_1
265
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -331877472593219077300508926725856672742 LIMIT 1
266
+ Binary data inserted for `string` type on column `access_token`
267
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "73d94ecec82b133586cc03cbab272e3d"], ["created_at", "2014-09-22 21:53:35.185897"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -331877472593219077300508926725856672742], ["updated_at", "2014-09-22 21:53:35.185897"], ["username", "jstead"]]
268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
269
+  (0.0ms) SAVEPOINT active_record_1
270
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -251051525630051775717316339912247484487 LIMIT 1
271
+ Binary data inserted for `string` type on column `access_token`
272
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4f985be60da685521da391dbce7fa972"], ["created_at", "2014-09-22 21:53:35.188004"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -251051525630051775717316339912247484487], ["updated_at", "2014-09-22 21:53:35.188004"], ["username", "bigbear"]]
273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
274
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%'))
275
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'jstra%')) ORDER BY username ASC LIMIT 20 OFFSET 0
276
+  (0.4ms) rollback transaction
277
+  (0.0ms) begin transaction
278
+  (0.0ms) SAVEPOINT active_record_1
279
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -102367811140309782429059707352542745690 LIMIT 1
280
+ Binary data inserted for `string` type on column `access_token`
281
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "959436611ef85d65914af1790c1bea59"], ["created_at", "2014-09-22 21:53:35.193506"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -102367811140309782429059707352542745690], ["updated_at", "2014-09-22 21:53:35.193506"], ["username", "jstrav"]]
282
+  (0.0ms) RELEASE SAVEPOINT active_record_1
283
+  (0.0ms) SAVEPOINT active_record_1
284
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -147550795071526075159439757541511010206 LIMIT 1
285
+ Binary data inserted for `string` type on column `access_token`
286
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "728d55094c3cde5356b8224bce2b6d6b"], ["created_at", "2014-09-22 21:53:35.196087"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -147550795071526075159439757541511010206], ["updated_at", "2014-09-22 21:53:35.196087"], ["username", "mary"]]
287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
288
+  (0.0ms) SAVEPOINT active_record_1
289
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -82795077431108651633508108656836162146 LIMIT 1
290
+ Binary data inserted for `string` type on column `access_token`
291
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f96cacd1886d27f5eb5ad11ae87676c0"], ["created_at", "2014-09-22 21:53:35.198441"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -82795077431108651633508108656836162146], ["updated_at", "2014-09-22 21:53:35.198441"], ["username", "jstead"]]
292
+  (0.0ms) RELEASE SAVEPOINT active_record_1
293
+  (0.0ms) SAVEPOINT active_record_1
294
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -192315759491190144719605897104367558330 LIMIT 1
295
+ Binary data inserted for `string` type on column `access_token`
296
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "59eaa4a40112f4d2a5b499c81a32367e"], ["created_at", "2014-09-22 21:53:35.200548"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -192315759491190144719605897104367558330], ["updated_at", "2014-09-22 21:53:35.200548"], ["username", "bigbear"]]
297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
298
+  (0.0ms) SAVEPOINT active_record_1
299
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -81567431916080441694164390209737325921 LIMIT 1
300
+ Binary data inserted for `string` type on column `access_token`
301
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "223d15014b8516151d4fb8dba3047876"], ["created_at", "2014-09-22 21:53:35.202871"], ["first_name", "Billy00"], ["last_name", "Bob_45"], ["openstax_uid", -81567431916080441694164390209737325921], ["updated_at", "2014-09-22 21:53:35.202871"], ["username", "billy_00"]]
302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
303
+  (0.0ms) SAVEPOINT active_record_1
304
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -37055879261872424015375514199391603521 LIMIT 1
305
+ Binary data inserted for `string` type on column `access_token`
306
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c0181b4fb2146949d0c6a19ebca94a61"], ["created_at", "2014-09-22 21:53:35.205059"], ["first_name", "Billy01"], ["last_name", "Bob_44"], ["openstax_uid", -37055879261872424015375514199391603521], ["updated_at", "2014-09-22 21:53:35.205059"], ["username", "billy_01"]]
307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
308
+  (0.0ms) SAVEPOINT active_record_1
309
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -79731051096835257547194631387830286328 LIMIT 1
310
+ Binary data inserted for `string` type on column `access_token`
311
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3ddb0df1f18d9ddfdda10811e6565ddd"], ["created_at", "2014-09-22 21:53:35.207176"], ["first_name", "Billy02"], ["last_name", "Bob_43"], ["openstax_uid", -79731051096835257547194631387830286328], ["updated_at", "2014-09-22 21:53:35.207176"], ["username", "billy_02"]]
312
+  (0.0ms) RELEASE SAVEPOINT active_record_1
313
+  (0.0ms) SAVEPOINT active_record_1
314
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -173896547081178706106113030490469483078 LIMIT 1
315
+ Binary data inserted for `string` type on column `access_token`
316
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a8ff2316a407314dbaff723758c24513"], ["created_at", "2014-09-22 21:53:35.209291"], ["first_name", "Billy03"], ["last_name", "Bob_42"], ["openstax_uid", -173896547081178706106113030490469483078], ["updated_at", "2014-09-22 21:53:35.209291"], ["username", "billy_03"]]
317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
318
+  (0.0ms) SAVEPOINT active_record_1
319
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -328823533094745428060151275929950027882 LIMIT 1
320
+ Binary data inserted for `string` type on column `access_token`
321
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b0bdd74686113e88f0ab794de61f09cc"], ["created_at", "2014-09-22 21:53:35.211457"], ["first_name", "Billy04"], ["last_name", "Bob_41"], ["openstax_uid", -328823533094745428060151275929950027882], ["updated_at", "2014-09-22 21:53:35.211457"], ["username", "billy_04"]]
322
+  (0.0ms) RELEASE SAVEPOINT active_record_1
323
+  (0.0ms) SAVEPOINT active_record_1
324
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -221881139467372300887604847708980682457 LIMIT 1
325
+ Binary data inserted for `string` type on column `access_token`
326
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "db36e86eb8fe189a91a6f1e7a5518d96"], ["created_at", "2014-09-22 21:53:35.213607"], ["first_name", "Billy05"], ["last_name", "Bob_40"], ["openstax_uid", -221881139467372300887604847708980682457], ["updated_at", "2014-09-22 21:53:35.213607"], ["username", "billy_05"]]
327
+  (0.0ms) RELEASE SAVEPOINT active_record_1
328
+  (0.0ms) SAVEPOINT active_record_1
329
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -78797681150672879562340289018302418654 LIMIT 1
330
+ Binary data inserted for `string` type on column `access_token`
331
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3db07d5639753f51e28c4536c7ed390b"], ["created_at", "2014-09-22 21:53:35.215725"], ["first_name", "Billy06"], ["last_name", "Bob_39"], ["openstax_uid", -78797681150672879562340289018302418654], ["updated_at", "2014-09-22 21:53:35.215725"], ["username", "billy_06"]]
332
+  (0.0ms) RELEASE SAVEPOINT active_record_1
333
+  (0.0ms) SAVEPOINT active_record_1
334
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -139733216043830841416475963104445948162 LIMIT 1
335
+ Binary data inserted for `string` type on column `access_token`
336
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5d40f2ca0bc90681ff8e0e4379d3c36a"], ["created_at", "2014-09-22 21:53:35.217948"], ["first_name", "Billy07"], ["last_name", "Bob_38"], ["openstax_uid", -139733216043830841416475963104445948162], ["updated_at", "2014-09-22 21:53:35.217948"], ["username", "billy_07"]]
337
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338
+  (0.0ms) SAVEPOINT active_record_1
339
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -10087726250043237847101677935125416455 LIMIT 1
340
+ Binary data inserted for `string` type on column `access_token`
341
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "222db61fe923eee35bb2712a26f03b5a"], ["created_at", "2014-09-22 21:53:35.220149"], ["first_name", "Billy08"], ["last_name", "Bob_37"], ["openstax_uid", -10087726250043237847101677935125416455], ["updated_at", "2014-09-22 21:53:35.220149"], ["username", "billy_08"]]
342
+  (0.0ms) RELEASE SAVEPOINT active_record_1
343
+  (0.0ms) SAVEPOINT active_record_1
344
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -228530529306563353857623881973963798831 LIMIT 1
345
+ Binary data inserted for `string` type on column `access_token`
346
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f63298e33de5dd4583eff205f5fde4b9"], ["created_at", "2014-09-22 21:53:35.222340"], ["first_name", "Billy09"], ["last_name", "Bob_36"], ["openstax_uid", -228530529306563353857623881973963798831], ["updated_at", "2014-09-22 21:53:35.222340"], ["username", "billy_09"]]
347
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348
+  (0.0ms) SAVEPOINT active_record_1
349
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -338042575273141418627524772882779250393 LIMIT 1
350
+ Binary data inserted for `string` type on column `access_token`
351
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9a080deed8e306d0982b8a3fc6ead494"], ["created_at", "2014-09-22 21:53:35.224466"], ["first_name", "Billy10"], ["last_name", "Bob_35"], ["openstax_uid", -338042575273141418627524772882779250393], ["updated_at", "2014-09-22 21:53:35.224466"], ["username", "billy_10"]]
352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
353
+  (0.0ms) SAVEPOINT active_record_1
354
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -211281338323485142170508761090573954595 LIMIT 1
355
+ Binary data inserted for `string` type on column `access_token`
356
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b0b82d930372261cfbeec09d6cfd2f95"], ["created_at", "2014-09-22 21:53:35.226888"], ["first_name", "Billy11"], ["last_name", "Bob_34"], ["openstax_uid", -211281338323485142170508761090573954595], ["updated_at", "2014-09-22 21:53:35.226888"], ["username", "billy_11"]]
357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
358
+  (0.0ms) SAVEPOINT active_record_1
359
+ OpenStax::Accounts::Account Exists (0.3ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -137229744982158377881784196673185086206 LIMIT 1
360
+ Binary data inserted for `string` type on column `access_token`
361
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2cdec2936d2dccec7c0a474e2ad7529b"], ["created_at", "2014-09-22 21:53:35.229388"], ["first_name", "Billy12"], ["last_name", "Bob_33"], ["openstax_uid", -137229744982158377881784196673185086206], ["updated_at", "2014-09-22 21:53:35.229388"], ["username", "billy_12"]]
362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
363
+  (0.0ms) SAVEPOINT active_record_1
364
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -45547464830233189436372777239988468670 LIMIT 1
365
+ Binary data inserted for `string` type on column `access_token`
366
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "59cccc4abdc0f9aaa262bb46066b41c3"], ["created_at", "2014-09-22 21:53:35.231564"], ["first_name", "Billy13"], ["last_name", "Bob_32"], ["openstax_uid", -45547464830233189436372777239988468670], ["updated_at", "2014-09-22 21:53:35.231564"], ["username", "billy_13"]]
367
+  (0.0ms) RELEASE SAVEPOINT active_record_1
368
+  (0.0ms) SAVEPOINT active_record_1
369
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -25847308460862693651149993565221300455 LIMIT 1
370
+ Binary data inserted for `string` type on column `access_token`
371
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d157d441b19ac6c5d201fba04653bedf"], ["created_at", "2014-09-22 21:53:35.233789"], ["first_name", "Billy14"], ["last_name", "Bob_31"], ["openstax_uid", -25847308460862693651149993565221300455], ["updated_at", "2014-09-22 21:53:35.233789"], ["username", "billy_14"]]
372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
373
+  (0.0ms) SAVEPOINT active_record_1
374
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -138115005557019551346896720371155397711 LIMIT 1
375
+ Binary data inserted for `string` type on column `access_token`
376
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "521e3a0ed42cc78a89ea98ef8c5a0592"], ["created_at", "2014-09-22 21:53:35.235975"], ["first_name", "Billy15"], ["last_name", "Bob_30"], ["openstax_uid", -138115005557019551346896720371155397711], ["updated_at", "2014-09-22 21:53:35.235975"], ["username", "billy_15"]]
377
+  (0.0ms) RELEASE SAVEPOINT active_record_1
378
+  (0.0ms) SAVEPOINT active_record_1
379
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -107529140418978483822531331394151587750 LIMIT 1
380
+ Binary data inserted for `string` type on column `access_token`
381
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8d2f062e7edd763fb8c800101085a159"], ["created_at", "2014-09-22 21:53:35.238038"], ["first_name", "Billy16"], ["last_name", "Bob_29"], ["openstax_uid", -107529140418978483822531331394151587750], ["updated_at", "2014-09-22 21:53:35.238038"], ["username", "billy_16"]]
382
+  (0.0ms) RELEASE SAVEPOINT active_record_1
383
+  (0.0ms) SAVEPOINT active_record_1
384
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -204653598324145959054556086795087968891 LIMIT 1
385
+ Binary data inserted for `string` type on column `access_token`
386
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "bdfa1539d238a44522d44fad64d877f7"], ["created_at", "2014-09-22 21:53:35.240149"], ["first_name", "Billy17"], ["last_name", "Bob_28"], ["openstax_uid", -204653598324145959054556086795087968891], ["updated_at", "2014-09-22 21:53:35.240149"], ["username", "billy_17"]]
387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
388
+  (0.0ms) SAVEPOINT active_record_1
389
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -205495044340528945266939909797564568139 LIMIT 1
390
+ Binary data inserted for `string` type on column `access_token`
391
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3a5c5244c0ea72b143e8e21b1e5da425"], ["created_at", "2014-09-22 21:53:35.242291"], ["first_name", "Billy18"], ["last_name", "Bob_27"], ["openstax_uid", -205495044340528945266939909797564568139], ["updated_at", "2014-09-22 21:53:35.242291"], ["username", "billy_18"]]
392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
393
+  (0.0ms) SAVEPOINT active_record_1
394
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -239390193191407726754943820921034705490 LIMIT 1
395
+ Binary data inserted for `string` type on column `access_token`
396
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f60c7123a2de4adb8d2b528b5a79727a"], ["created_at", "2014-09-22 21:53:35.244398"], ["first_name", "Billy19"], ["last_name", "Bob_26"], ["openstax_uid", -239390193191407726754943820921034705490], ["updated_at", "2014-09-22 21:53:35.244398"], ["username", "billy_19"]]
397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
398
+  (0.0ms) SAVEPOINT active_record_1
399
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -303454014669330677092923953398918529044 LIMIT 1
400
+ Binary data inserted for `string` type on column `access_token`
401
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b1fef9a84310f0025e66f35522cc96ef"], ["created_at", "2014-09-22 21:53:35.246461"], ["first_name", "Billy20"], ["last_name", "Bob_25"], ["openstax_uid", -303454014669330677092923953398918529044], ["updated_at", "2014-09-22 21:53:35.246461"], ["username", "billy_20"]]
402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
403
+  (0.0ms) SAVEPOINT active_record_1
404
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -48213314412824045221358385795383930099 LIMIT 1
405
+ Binary data inserted for `string` type on column `access_token`
406
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0b63b7c2addd095cc7a3680d40bcf603"], ["created_at", "2014-09-22 21:53:35.248508"], ["first_name", "Billy21"], ["last_name", "Bob_24"], ["openstax_uid", -48213314412824045221358385795383930099], ["updated_at", "2014-09-22 21:53:35.248508"], ["username", "billy_21"]]
407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
408
+  (0.0ms) SAVEPOINT active_record_1
409
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -265646514479783097398831868839629981156 LIMIT 1
410
+ Binary data inserted for `string` type on column `access_token`
411
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "04c3da979521d3b899cbeac9d0a010c5"], ["created_at", "2014-09-22 21:53:35.250552"], ["first_name", "Billy22"], ["last_name", "Bob_23"], ["openstax_uid", -265646514479783097398831868839629981156], ["updated_at", "2014-09-22 21:53:35.250552"], ["username", "billy_22"]]
412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
413
+  (0.0ms) SAVEPOINT active_record_1
414
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -997940278595786766412630869130930248 LIMIT 1
415
+ Binary data inserted for `string` type on column `access_token`
416
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4893cc13cb31026cd6d74b97157743d9"], ["created_at", "2014-09-22 21:53:35.252682"], ["first_name", "Billy23"], ["last_name", "Bob_22"], ["openstax_uid", -997940278595786766412630869130930248], ["updated_at", "2014-09-22 21:53:35.252682"], ["username", "billy_23"]]
417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
418
+  (0.0ms) SAVEPOINT active_record_1
419
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -326515735873472620961840413781973582566 LIMIT 1
420
+ Binary data inserted for `string` type on column `access_token`
421
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0a7f8e26fb04331e9723cb6c91684cb0"], ["created_at", "2014-09-22 21:53:35.254764"], ["first_name", "Billy24"], ["last_name", "Bob_21"], ["openstax_uid", -326515735873472620961840413781973582566], ["updated_at", "2014-09-22 21:53:35.254764"], ["username", "billy_24"]]
422
+  (0.0ms) RELEASE SAVEPOINT active_record_1
423
+  (0.0ms) SAVEPOINT active_record_1
424
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -241134643243397862741835164402657364463 LIMIT 1
425
+ Binary data inserted for `string` type on column `access_token`
426
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "25b77cf67416698883ba78035717fd89"], ["created_at", "2014-09-22 21:53:35.256796"], ["first_name", "Billy25"], ["last_name", "Bob_20"], ["openstax_uid", -241134643243397862741835164402657364463], ["updated_at", "2014-09-22 21:53:35.256796"], ["username", "billy_25"]]
427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
428
+  (0.0ms) SAVEPOINT active_record_1
429
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -278377578518196734302354532155001318581 LIMIT 1
430
+ Binary data inserted for `string` type on column `access_token`
431
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "74e37a84b6d6fa2e45011fe4c846de9d"], ["created_at", "2014-09-22 21:53:35.258931"], ["first_name", "Billy26"], ["last_name", "Bob_19"], ["openstax_uid", -278377578518196734302354532155001318581], ["updated_at", "2014-09-22 21:53:35.258931"], ["username", "billy_26"]]
432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
433
+  (0.0ms) SAVEPOINT active_record_1
434
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -143458420230180867310259522382009991331 LIMIT 1
435
+ Binary data inserted for `string` type on column `access_token`
436
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f7877ad15c6a838de3281483c22160f5"], ["created_at", "2014-09-22 21:53:35.261114"], ["first_name", "Billy27"], ["last_name", "Bob_18"], ["openstax_uid", -143458420230180867310259522382009991331], ["updated_at", "2014-09-22 21:53:35.261114"], ["username", "billy_27"]]
437
+  (0.0ms) RELEASE SAVEPOINT active_record_1
438
+  (0.0ms) SAVEPOINT active_record_1
439
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -222073321241885830688695432633805117259 LIMIT 1
440
+ Binary data inserted for `string` type on column `access_token`
441
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d417471ecf465b46bee69235455d004c"], ["created_at", "2014-09-22 21:53:35.263267"], ["first_name", "Billy28"], ["last_name", "Bob_17"], ["openstax_uid", -222073321241885830688695432633805117259], ["updated_at", "2014-09-22 21:53:35.263267"], ["username", "billy_28"]]
442
+  (0.0ms) RELEASE SAVEPOINT active_record_1
443
+  (0.1ms) SAVEPOINT active_record_1
444
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -206817252264838567774392267326404107363 LIMIT 1
445
+ Binary data inserted for `string` type on column `access_token`
446
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a89ee7b26db777af818ca6c418c369da"], ["created_at", "2014-09-22 21:53:35.265645"], ["first_name", "Billy29"], ["last_name", "Bob_16"], ["openstax_uid", -206817252264838567774392267326404107363], ["updated_at", "2014-09-22 21:53:35.265645"], ["username", "billy_29"]]
447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
448
+  (0.0ms) SAVEPOINT active_record_1
449
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -228235396669853775989508966341256497234 LIMIT 1
450
+ Binary data inserted for `string` type on column `access_token`
451
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3a9c72f01e19c211236c0fe2c0f4f198"], ["created_at", "2014-09-22 21:53:35.267951"], ["first_name", "Billy30"], ["last_name", "Bob_15"], ["openstax_uid", -228235396669853775989508966341256497234], ["updated_at", "2014-09-22 21:53:35.267951"], ["username", "billy_30"]]
452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
453
+  (0.0ms) SAVEPOINT active_record_1
454
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -38497071384920644646640852619975819979 LIMIT 1
455
+ Binary data inserted for `string` type on column `access_token`
456
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f2a1b3d911454553b8d414ad961c1183"], ["created_at", "2014-09-22 21:53:35.270141"], ["first_name", "Billy31"], ["last_name", "Bob_14"], ["openstax_uid", -38497071384920644646640852619975819979], ["updated_at", "2014-09-22 21:53:35.270141"], ["username", "billy_31"]]
457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
458
+  (0.0ms) SAVEPOINT active_record_1
459
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -287875093539151196081210755327384424237 LIMIT 1
460
+ Binary data inserted for `string` type on column `access_token`
461
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "df710658d2916b8c1072f86458747e19"], ["created_at", "2014-09-22 21:53:35.272386"], ["first_name", "Billy32"], ["last_name", "Bob_13"], ["openstax_uid", -287875093539151196081210755327384424237], ["updated_at", "2014-09-22 21:53:35.272386"], ["username", "billy_32"]]
462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
463
+  (0.0ms) SAVEPOINT active_record_1
464
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -228191476912897095439489448540996928821 LIMIT 1
465
+ Binary data inserted for `string` type on column `access_token`
466
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3a3876ecb6fc0113ae11c487788dcd2e"], ["created_at", "2014-09-22 21:53:35.274597"], ["first_name", "Billy33"], ["last_name", "Bob_12"], ["openstax_uid", -228191476912897095439489448540996928821], ["updated_at", "2014-09-22 21:53:35.274597"], ["username", "billy_33"]]
467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
468
+  (0.0ms) SAVEPOINT active_record_1
469
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -131857744547537554138695179047932835748 LIMIT 1
470
+ Binary data inserted for `string` type on column `access_token`
471
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f91f30e94794ba986ccd90ac711ede4d"], ["created_at", "2014-09-22 21:53:35.277053"], ["first_name", "Billy34"], ["last_name", "Bob_11"], ["openstax_uid", -131857744547537554138695179047932835748], ["updated_at", "2014-09-22 21:53:35.277053"], ["username", "billy_34"]]
472
+  (0.0ms) RELEASE SAVEPOINT active_record_1
473
+  (0.0ms) SAVEPOINT active_record_1
474
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -290274644268063344035758410076255292153 LIMIT 1
475
+ Binary data inserted for `string` type on column `access_token`
476
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a9d660da4d8666e4760ff57c41e8d2cd"], ["created_at", "2014-09-22 21:53:35.279279"], ["first_name", "Billy35"], ["last_name", "Bob_10"], ["openstax_uid", -290274644268063344035758410076255292153], ["updated_at", "2014-09-22 21:53:35.279279"], ["username", "billy_35"]]
477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
478
+  (0.0ms) SAVEPOINT active_record_1
479
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -136336993334603351827279182855047286603 LIMIT 1
480
+ Binary data inserted for `string` type on column `access_token`
481
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "94325cf25055ebea6d360159278af11f"], ["created_at", "2014-09-22 21:53:35.281384"], ["first_name", "Billy36"], ["last_name", "Bob_09"], ["openstax_uid", -136336993334603351827279182855047286603], ["updated_at", "2014-09-22 21:53:35.281384"], ["username", "billy_36"]]
482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
483
+  (0.0ms) SAVEPOINT active_record_1
484
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -85105041097623673812873276145786102829 LIMIT 1
485
+ Binary data inserted for `string` type on column `access_token`
486
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f130a388c3f772a441de197e3b9870d1"], ["created_at", "2014-09-22 21:53:35.283766"], ["first_name", "Billy37"], ["last_name", "Bob_08"], ["openstax_uid", -85105041097623673812873276145786102829], ["updated_at", "2014-09-22 21:53:35.283766"], ["username", "billy_37"]]
487
+  (0.0ms) RELEASE SAVEPOINT active_record_1
488
+  (0.0ms) SAVEPOINT active_record_1
489
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -149675824007383227494903317191662654864 LIMIT 1
490
+ Binary data inserted for `string` type on column `access_token`
491
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7c24c6cab7b44691887ac9beeb27194a"], ["created_at", "2014-09-22 21:53:35.285862"], ["first_name", "Billy38"], ["last_name", "Bob_07"], ["openstax_uid", -149675824007383227494903317191662654864], ["updated_at", "2014-09-22 21:53:35.285862"], ["username", "billy_38"]]
492
+  (0.0ms) RELEASE SAVEPOINT active_record_1
493
+  (0.0ms) SAVEPOINT active_record_1
494
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -185885403809467280422520046710534652662 LIMIT 1
495
+ Binary data inserted for `string` type on column `access_token`
496
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2e3b32d4d7649e1ea20fbfe1fab0afd1"], ["created_at", "2014-09-22 21:53:35.287911"], ["first_name", "Billy39"], ["last_name", "Bob_06"], ["openstax_uid", -185885403809467280422520046710534652662], ["updated_at", "2014-09-22 21:53:35.287911"], ["username", "billy_39"]]
497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
498
+  (0.0ms) SAVEPOINT active_record_1
499
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -101440418388749999713597993962667343557 LIMIT 1
500
+ Binary data inserted for `string` type on column `access_token`
501
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f5209d8d53de340897ebdf0e50a3e21b"], ["created_at", "2014-09-22 21:53:35.290040"], ["first_name", "Billy40"], ["last_name", "Bob_05"], ["openstax_uid", -101440418388749999713597993962667343557], ["updated_at", "2014-09-22 21:53:35.290040"], ["username", "billy_40"]]
502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
503
+  (0.0ms) SAVEPOINT active_record_1
504
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -321438625391874413638049705781641302313 LIMIT 1
505
+ Binary data inserted for `string` type on column `access_token`
506
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fff83878d26c83c2ba2316b54ffcc9ed"], ["created_at", "2014-09-22 21:53:35.292126"], ["first_name", "Billy41"], ["last_name", "Bob_04"], ["openstax_uid", -321438625391874413638049705781641302313], ["updated_at", "2014-09-22 21:53:35.292126"], ["username", "billy_41"]]
507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
508
+  (0.0ms) SAVEPOINT active_record_1
509
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -30190967127023209076683513292310265487 LIMIT 1
510
+ Binary data inserted for `string` type on column `access_token`
511
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f5f8d3e04e53fe107774750d974a49f3"], ["created_at", "2014-09-22 21:53:35.294279"], ["first_name", "Billy42"], ["last_name", "Bob_03"], ["openstax_uid", -30190967127023209076683513292310265487], ["updated_at", "2014-09-22 21:53:35.294279"], ["username", "billy_42"]]
512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
513
+  (0.0ms) SAVEPOINT active_record_1
514
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -471777362843271739062655681311112195 LIMIT 1
515
+ Binary data inserted for `string` type on column `access_token`
516
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8b4b795a5535768074823b0348714fc7"], ["created_at", "2014-09-22 21:53:35.296350"], ["first_name", "Billy43"], ["last_name", "Bob_02"], ["openstax_uid", -471777362843271739062655681311112195], ["updated_at", "2014-09-22 21:53:35.296350"], ["username", "billy_43"]]
517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
518
+  (0.0ms) SAVEPOINT active_record_1
519
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -271322765841094765629176647949115784723 LIMIT 1
520
+ Binary data inserted for `string` type on column `access_token`
521
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "10e87350900012d90d0b1384b33806a6"], ["created_at", "2014-09-22 21:53:35.298403"], ["first_name", "Billy44"], ["last_name", "Bob_01"], ["openstax_uid", -271322765841094765629176647949115784723], ["updated_at", "2014-09-22 21:53:35.298403"], ["username", "billy_44"]]
522
+  (0.0ms) RELEASE SAVEPOINT active_record_1
523
+  (0.0ms) SAVEPOINT active_record_1
524
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -141311209471646728030130336049665371428 LIMIT 1
525
+ Binary data inserted for `string` type on column `access_token`
526
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fde591794f00139b399368eeb15aef0b"], ["created_at", "2014-09-22 21:53:35.300508"], ["first_name", "Billy45"], ["last_name", "Bob_00"], ["openstax_uid", -141311209471646728030130336049665371428], ["updated_at", "2014-09-22 21:53:35.300508"], ["username", "billy_45"]]
527
+  (0.1ms) RELEASE SAVEPOINT active_record_1
528
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%'))
529
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%')) ORDER BY username ASC LIMIT 20 OFFSET 40
530
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_45' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
531
+  (0.5ms) rollback transaction
532
+  (0.0ms) begin transaction
533
+  (0.0ms) SAVEPOINT active_record_1
534
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -311945955039527016259511226501701125447 LIMIT 1
535
+ Binary data inserted for `string` type on column `access_token`
536
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5cd6e2552cc12bd62524a4b46bb2dcb8"], ["created_at", "2014-09-22 21:53:35.308397"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -311945955039527016259511226501701125447], ["updated_at", "2014-09-22 21:53:35.308397"], ["username", "jstrav"]]
537
+  (0.0ms) RELEASE SAVEPOINT active_record_1
538
+  (0.0ms) SAVEPOINT active_record_1
539
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -326939740171976030874947828705588380416 LIMIT 1
540
+ Binary data inserted for `string` type on column `access_token`
541
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "5cdd066cb0ecef1374b10d318befa4fd"], ["created_at", "2014-09-22 21:53:35.342248"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -326939740171976030874947828705588380416], ["updated_at", "2014-09-22 21:53:35.342248"], ["username", "mary"]]
542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
543
+  (0.0ms) SAVEPOINT active_record_1
544
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -209800621300852107577374779452145940055 LIMIT 1
545
+ Binary data inserted for `string` type on column `access_token`
546
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "71577864d9478c09556680e0dff70f4f"], ["created_at", "2014-09-22 21:53:35.345221"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -209800621300852107577374779452145940055], ["updated_at", "2014-09-22 21:53:35.345221"], ["username", "jstead"]]
547
+  (0.0ms) RELEASE SAVEPOINT active_record_1
548
+  (0.0ms) SAVEPOINT active_record_1
549
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -332652202131818863727165239277044150733 LIMIT 1
550
+ Binary data inserted for `string` type on column `access_token`
551
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "97fffaf65802a6f31268615ec3b22763"], ["created_at", "2014-09-22 21:53:35.347354"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -332652202131818863727165239277044150733], ["updated_at", "2014-09-22 21:53:35.347354"], ["username", "bigbear"]]
552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
553
+  (0.0ms) SAVEPOINT active_record_1
554
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -19991231597100476294240248268013234131 LIMIT 1
555
+ Binary data inserted for `string` type on column `access_token`
556
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "357cd6ae6d4924f2709254ad4482df92"], ["created_at", "2014-09-22 21:53:35.349494"], ["first_name", "Billy00"], ["last_name", "Bob_45"], ["openstax_uid", -19991231597100476294240248268013234131], ["updated_at", "2014-09-22 21:53:35.349494"], ["username", "billy_00"]]
557
+  (0.0ms) RELEASE SAVEPOINT active_record_1
558
+  (0.0ms) SAVEPOINT active_record_1
559
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -325525612354660593678329918301855672131 LIMIT 1
560
+ Binary data inserted for `string` type on column `access_token`
561
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8f348d47f7ff97c06cb410f9694cbab7"], ["created_at", "2014-09-22 21:53:35.351737"], ["first_name", "Billy01"], ["last_name", "Bob_44"], ["openstax_uid", -325525612354660593678329918301855672131], ["updated_at", "2014-09-22 21:53:35.351737"], ["username", "billy_01"]]
562
+  (0.0ms) RELEASE SAVEPOINT active_record_1
563
+  (0.0ms) SAVEPOINT active_record_1
564
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -275130799711529177795191954300311154482 LIMIT 1
565
+ Binary data inserted for `string` type on column `access_token`
566
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7953f10f4807acc1ccee4e3d9fe7368e"], ["created_at", "2014-09-22 21:53:35.353927"], ["first_name", "Billy02"], ["last_name", "Bob_43"], ["openstax_uid", -275130799711529177795191954300311154482], ["updated_at", "2014-09-22 21:53:35.353927"], ["username", "billy_02"]]
567
+  (0.0ms) RELEASE SAVEPOINT active_record_1
568
+  (0.0ms) SAVEPOINT active_record_1
569
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -326150765514183002548430858757277676370 LIMIT 1
570
+ Binary data inserted for `string` type on column `access_token`
571
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "832478d6d971342cd46a2c2c44471f23"], ["created_at", "2014-09-22 21:53:35.356126"], ["first_name", "Billy03"], ["last_name", "Bob_42"], ["openstax_uid", -326150765514183002548430858757277676370], ["updated_at", "2014-09-22 21:53:35.356126"], ["username", "billy_03"]]
572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
573
+  (0.0ms) SAVEPOINT active_record_1
574
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -84987770052229071623167730594078695539 LIMIT 1
575
+ Binary data inserted for `string` type on column `access_token`
576
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e1faf7d979d9cadcef02a21b95ffb1e1"], ["created_at", "2014-09-22 21:53:35.358260"], ["first_name", "Billy04"], ["last_name", "Bob_41"], ["openstax_uid", -84987770052229071623167730594078695539], ["updated_at", "2014-09-22 21:53:35.358260"], ["username", "billy_04"]]
577
+  (0.0ms) RELEASE SAVEPOINT active_record_1
578
+  (0.0ms) SAVEPOINT active_record_1
579
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -138989495280198757019293855156590755849 LIMIT 1
580
+ Binary data inserted for `string` type on column `access_token`
581
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "02a89f9ca3924139cae6fcc9e43651c2"], ["created_at", "2014-09-22 21:53:35.360363"], ["first_name", "Billy05"], ["last_name", "Bob_40"], ["openstax_uid", -138989495280198757019293855156590755849], ["updated_at", "2014-09-22 21:53:35.360363"], ["username", "billy_05"]]
582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
583
+  (0.0ms) SAVEPOINT active_record_1
584
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -80292723752977991222925725142102993777 LIMIT 1
585
+ Binary data inserted for `string` type on column `access_token`
586
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e953f7376cc454bb8bfc45c221c88171"], ["created_at", "2014-09-22 21:53:35.362466"], ["first_name", "Billy06"], ["last_name", "Bob_39"], ["openstax_uid", -80292723752977991222925725142102993777], ["updated_at", "2014-09-22 21:53:35.362466"], ["username", "billy_06"]]
587
+  (0.0ms) RELEASE SAVEPOINT active_record_1
588
+  (0.0ms) SAVEPOINT active_record_1
589
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -282802829147302214213686377351619327667 LIMIT 1
590
+ Binary data inserted for `string` type on column `access_token`
591
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "903fa5dd49ba7979274975bb9c031ee2"], ["created_at", "2014-09-22 21:53:35.364554"], ["first_name", "Billy07"], ["last_name", "Bob_38"], ["openstax_uid", -282802829147302214213686377351619327667], ["updated_at", "2014-09-22 21:53:35.364554"], ["username", "billy_07"]]
592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
593
+  (0.0ms) SAVEPOINT active_record_1
594
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -57845774818880166826625127238426737823 LIMIT 1
595
+ Binary data inserted for `string` type on column `access_token`
596
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "82f636889aebbd3b0ccd93361d8f65b4"], ["created_at", "2014-09-22 21:53:35.366713"], ["first_name", "Billy08"], ["last_name", "Bob_37"], ["openstax_uid", -57845774818880166826625127238426737823], ["updated_at", "2014-09-22 21:53:35.366713"], ["username", "billy_08"]]
597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
598
+  (0.0ms) SAVEPOINT active_record_1
599
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -154766525627905953036363106385593570414 LIMIT 1
600
+ Binary data inserted for `string` type on column `access_token`
601
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "811c8b7f86c4eaea3aedea3f1020dfda"], ["created_at", "2014-09-22 21:53:35.368968"], ["first_name", "Billy09"], ["last_name", "Bob_36"], ["openstax_uid", -154766525627905953036363106385593570414], ["updated_at", "2014-09-22 21:53:35.368968"], ["username", "billy_09"]]
602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
603
+  (0.0ms) SAVEPOINT active_record_1
604
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -326433368992729693866583305032606218230 LIMIT 1
605
+ Binary data inserted for `string` type on column `access_token`
606
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5ea6ab2ce9570bc67a897705e114376c"], ["created_at", "2014-09-22 21:53:35.371140"], ["first_name", "Billy10"], ["last_name", "Bob_35"], ["openstax_uid", -326433368992729693866583305032606218230], ["updated_at", "2014-09-22 21:53:35.371140"], ["username", "billy_10"]]
607
+  (0.0ms) RELEASE SAVEPOINT active_record_1
608
+  (0.0ms) SAVEPOINT active_record_1
609
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -244019529212886562404093040806500301018 LIMIT 1
610
+ Binary data inserted for `string` type on column `access_token`
611
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "41fc1c5bd06c7a22677395f04ee42b79"], ["created_at", "2014-09-22 21:53:35.373353"], ["first_name", "Billy11"], ["last_name", "Bob_34"], ["openstax_uid", -244019529212886562404093040806500301018], ["updated_at", "2014-09-22 21:53:35.373353"], ["username", "billy_11"]]
612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
613
+  (0.0ms) SAVEPOINT active_record_1
614
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -101690449163330540901474822364495790730 LIMIT 1
615
+ Binary data inserted for `string` type on column `access_token`
616
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e5e8f17c999809f9ab72d5648b0d7265"], ["created_at", "2014-09-22 21:53:35.375488"], ["first_name", "Billy12"], ["last_name", "Bob_33"], ["openstax_uid", -101690449163330540901474822364495790730], ["updated_at", "2014-09-22 21:53:35.375488"], ["username", "billy_12"]]
617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
618
+  (0.0ms) SAVEPOINT active_record_1
619
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -266760945619826365608828609313331742719 LIMIT 1
620
+ Binary data inserted for `string` type on column `access_token`
621
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c56a1eaf99a089a2d19caec984632420"], ["created_at", "2014-09-22 21:53:35.377598"], ["first_name", "Billy13"], ["last_name", "Bob_32"], ["openstax_uid", -266760945619826365608828609313331742719], ["updated_at", "2014-09-22 21:53:35.377598"], ["username", "billy_13"]]
622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
623
+  (0.0ms) SAVEPOINT active_record_1
624
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -217631172340116486587496652771716862726 LIMIT 1
625
+ Binary data inserted for `string` type on column `access_token`
626
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5f3be1e40cb4221ab2152fa0e81c56c4"], ["created_at", "2014-09-22 21:53:35.379679"], ["first_name", "Billy14"], ["last_name", "Bob_31"], ["openstax_uid", -217631172340116486587496652771716862726], ["updated_at", "2014-09-22 21:53:35.379679"], ["username", "billy_14"]]
627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
628
+  (0.0ms) SAVEPOINT active_record_1
629
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -25837019108135778958846283285967080121 LIMIT 1
630
+ Binary data inserted for `string` type on column `access_token`
631
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1a4c05e772f1fa4751473a7e462766a9"], ["created_at", "2014-09-22 21:53:35.381818"], ["first_name", "Billy15"], ["last_name", "Bob_30"], ["openstax_uid", -25837019108135778958846283285967080121], ["updated_at", "2014-09-22 21:53:35.381818"], ["username", "billy_15"]]
632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
633
+  (0.0ms) SAVEPOINT active_record_1
634
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -94424348035887281031899238494325760493 LIMIT 1
635
+ Binary data inserted for `string` type on column `access_token`
636
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7d18817bf5472273c60f3fd35d764bdc"], ["created_at", "2014-09-22 21:53:35.383907"], ["first_name", "Billy16"], ["last_name", "Bob_29"], ["openstax_uid", -94424348035887281031899238494325760493], ["updated_at", "2014-09-22 21:53:35.383907"], ["username", "billy_16"]]
637
+  (0.0ms) RELEASE SAVEPOINT active_record_1
638
+  (0.0ms) SAVEPOINT active_record_1
639
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -135067307470526038081464722686641961763 LIMIT 1
640
+ Binary data inserted for `string` type on column `access_token`
641
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "89bd6bf48e95f352e9a3cbfcd64ea8c3"], ["created_at", "2014-09-22 21:53:35.386079"], ["first_name", "Billy17"], ["last_name", "Bob_28"], ["openstax_uid", -135067307470526038081464722686641961763], ["updated_at", "2014-09-22 21:53:35.386079"], ["username", "billy_17"]]
642
+  (0.0ms) RELEASE SAVEPOINT active_record_1
643
+  (0.0ms) SAVEPOINT active_record_1
644
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -20359190146102429167842198620311696682 LIMIT 1
645
+ Binary data inserted for `string` type on column `access_token`
646
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a5bd519d4c88c9129db4f5224eb964c9"], ["created_at", "2014-09-22 21:53:35.388178"], ["first_name", "Billy18"], ["last_name", "Bob_27"], ["openstax_uid", -20359190146102429167842198620311696682], ["updated_at", "2014-09-22 21:53:35.388178"], ["username", "billy_18"]]
647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
648
+  (0.0ms) SAVEPOINT active_record_1
649
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -33988263859780884716178355893951448498 LIMIT 1
650
+ Binary data inserted for `string` type on column `access_token`
651
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "374fb14eb0d5763a79c4dbed7a3f7036"], ["created_at", "2014-09-22 21:53:35.390257"], ["first_name", "Billy19"], ["last_name", "Bob_26"], ["openstax_uid", -33988263859780884716178355893951448498], ["updated_at", "2014-09-22 21:53:35.390257"], ["username", "billy_19"]]
652
+  (0.0ms) RELEASE SAVEPOINT active_record_1
653
+  (0.0ms) SAVEPOINT active_record_1
654
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -246259571895290001466166989634694378150 LIMIT 1
655
+ Binary data inserted for `string` type on column `access_token`
656
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "bc01e0dc0efe2a7aef1c15bd4d81f199"], ["created_at", "2014-09-22 21:53:35.392729"], ["first_name", "Billy20"], ["last_name", "Bob_25"], ["openstax_uid", -246259571895290001466166989634694378150], ["updated_at", "2014-09-22 21:53:35.392729"], ["username", "billy_20"]]
657
+  (0.0ms) RELEASE SAVEPOINT active_record_1
658
+  (0.0ms) SAVEPOINT active_record_1
659
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -81131951436684460066734220638418279860 LIMIT 1
660
+ Binary data inserted for `string` type on column `access_token`
661
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "74a69a45e0f323ac804c783b3ca71cd4"], ["created_at", "2014-09-22 21:53:35.394816"], ["first_name", "Billy21"], ["last_name", "Bob_24"], ["openstax_uid", -81131951436684460066734220638418279860], ["updated_at", "2014-09-22 21:53:35.394816"], ["username", "billy_21"]]
662
+  (0.0ms) RELEASE SAVEPOINT active_record_1
663
+  (0.0ms) SAVEPOINT active_record_1
664
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -129556391391897901209668946264862829079 LIMIT 1
665
+ Binary data inserted for `string` type on column `access_token`
666
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4f53c4caf318b3961968dfd9bfe13240"], ["created_at", "2014-09-22 21:53:35.396939"], ["first_name", "Billy22"], ["last_name", "Bob_23"], ["openstax_uid", -129556391391897901209668946264862829079], ["updated_at", "2014-09-22 21:53:35.396939"], ["username", "billy_22"]]
667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
668
+  (0.0ms) SAVEPOINT active_record_1
669
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -76633404219716283444030643525670291733 LIMIT 1
670
+ Binary data inserted for `string` type on column `access_token`
671
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "6b3879415da82e45d4dc2967b8248d72"], ["created_at", "2014-09-22 21:53:35.399042"], ["first_name", "Billy23"], ["last_name", "Bob_22"], ["openstax_uid", -76633404219716283444030643525670291733], ["updated_at", "2014-09-22 21:53:35.399042"], ["username", "billy_23"]]
672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
673
+  (0.1ms) SAVEPOINT active_record_1
674
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -54418807894921967570888504023346071655 LIMIT 1
675
+ Binary data inserted for `string` type on column `access_token`
676
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7ebe8c917ac53ef27d4c60b3cad6d537"], ["created_at", "2014-09-22 21:53:35.401160"], ["first_name", "Billy24"], ["last_name", "Bob_21"], ["openstax_uid", -54418807894921967570888504023346071655], ["updated_at", "2014-09-22 21:53:35.401160"], ["username", "billy_24"]]
677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
678
+  (0.0ms) SAVEPOINT active_record_1
679
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -39735152576668066854223420319409767246 LIMIT 1
680
+ Binary data inserted for `string` type on column `access_token`
681
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fd7c52cc5cbabcb4b5cb6812221509c4"], ["created_at", "2014-09-22 21:53:35.403242"], ["first_name", "Billy25"], ["last_name", "Bob_20"], ["openstax_uid", -39735152576668066854223420319409767246], ["updated_at", "2014-09-22 21:53:35.403242"], ["username", "billy_25"]]
682
+  (0.0ms) RELEASE SAVEPOINT active_record_1
683
+  (0.0ms) SAVEPOINT active_record_1
684
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -151809716461165294061827534717698638300 LIMIT 1
685
+ Binary data inserted for `string` type on column `access_token`
686
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "eefec1c46f6f013711afac7ba74a413a"], ["created_at", "2014-09-22 21:53:35.405357"], ["first_name", "Billy26"], ["last_name", "Bob_19"], ["openstax_uid", -151809716461165294061827534717698638300], ["updated_at", "2014-09-22 21:53:35.405357"], ["username", "billy_26"]]
687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
688
+  (0.0ms) SAVEPOINT active_record_1
689
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -232777005664030185755992093882554656312 LIMIT 1
690
+ Binary data inserted for `string` type on column `access_token`
691
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "801df22c0519f1e084eabe2e00ad05b7"], ["created_at", "2014-09-22 21:53:35.407592"], ["first_name", "Billy27"], ["last_name", "Bob_18"], ["openstax_uid", -232777005664030185755992093882554656312], ["updated_at", "2014-09-22 21:53:35.407592"], ["username", "billy_27"]]
692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
693
+  (0.0ms) SAVEPOINT active_record_1
694
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -190284338139150185640832886142576427626 LIMIT 1
695
+ Binary data inserted for `string` type on column `access_token`
696
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e4c78c9dd51c6b6174d6f1fcee1b7ea4"], ["created_at", "2014-09-22 21:53:35.409810"], ["first_name", "Billy28"], ["last_name", "Bob_17"], ["openstax_uid", -190284338139150185640832886142576427626], ["updated_at", "2014-09-22 21:53:35.409810"], ["username", "billy_28"]]
697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
698
+  (0.0ms) SAVEPOINT active_record_1
699
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -93669853447584934967134893769703009566 LIMIT 1
700
+ Binary data inserted for `string` type on column `access_token`
701
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "47dd24c84917bbe68fe042604e7fe628"], ["created_at", "2014-09-22 21:53:35.411980"], ["first_name", "Billy29"], ["last_name", "Bob_16"], ["openstax_uid", -93669853447584934967134893769703009566], ["updated_at", "2014-09-22 21:53:35.411980"], ["username", "billy_29"]]
702
+  (0.0ms) RELEASE SAVEPOINT active_record_1
703
+  (0.0ms) SAVEPOINT active_record_1
704
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -293818373280533415320665977423242387527 LIMIT 1
705
+ Binary data inserted for `string` type on column `access_token`
706
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4bc979953ba525932db80da8cf5d6461"], ["created_at", "2014-09-22 21:53:35.414097"], ["first_name", "Billy30"], ["last_name", "Bob_15"], ["openstax_uid", -293818373280533415320665977423242387527], ["updated_at", "2014-09-22 21:53:35.414097"], ["username", "billy_30"]]
707
+  (0.0ms) RELEASE SAVEPOINT active_record_1
708
+  (0.0ms) SAVEPOINT active_record_1
709
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -238458530961072442424102360411645417831 LIMIT 1
710
+ Binary data inserted for `string` type on column `access_token`
711
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "819911cd3610f9a4c742ed159581b2c9"], ["created_at", "2014-09-22 21:53:35.416214"], ["first_name", "Billy31"], ["last_name", "Bob_14"], ["openstax_uid", -238458530961072442424102360411645417831], ["updated_at", "2014-09-22 21:53:35.416214"], ["username", "billy_31"]]
712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
713
+  (0.0ms) SAVEPOINT active_record_1
714
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -137984052921843986411518448047074611216 LIMIT 1
715
+ Binary data inserted for `string` type on column `access_token`
716
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "504258b67af341b673e66e462052c16c"], ["created_at", "2014-09-22 21:53:35.418311"], ["first_name", "Billy32"], ["last_name", "Bob_13"], ["openstax_uid", -137984052921843986411518448047074611216], ["updated_at", "2014-09-22 21:53:35.418311"], ["username", "billy_32"]]
717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
718
+  (0.0ms) SAVEPOINT active_record_1
719
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -142698877685094549020975826625688334050 LIMIT 1
720
+ Binary data inserted for `string` type on column `access_token`
721
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "19e54d11920e3db19be9a1943de44175"], ["created_at", "2014-09-22 21:53:35.420479"], ["first_name", "Billy33"], ["last_name", "Bob_12"], ["openstax_uid", -142698877685094549020975826625688334050], ["updated_at", "2014-09-22 21:53:35.420479"], ["username", "billy_33"]]
722
+  (0.0ms) RELEASE SAVEPOINT active_record_1
723
+  (0.0ms) SAVEPOINT active_record_1
724
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -116738286172888269795897628085537274554 LIMIT 1
725
+ Binary data inserted for `string` type on column `access_token`
726
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "80666e37589b4e3616a5311d0f07d396"], ["created_at", "2014-09-22 21:53:35.422588"], ["first_name", "Billy34"], ["last_name", "Bob_11"], ["openstax_uid", -116738286172888269795897628085537274554], ["updated_at", "2014-09-22 21:53:35.422588"], ["username", "billy_34"]]
727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
728
+  (0.0ms) SAVEPOINT active_record_1
729
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -39521499291963281221843328327643098374 LIMIT 1
730
+ Binary data inserted for `string` type on column `access_token`
731
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2ecec3c372ef8489aface00b44e870ea"], ["created_at", "2014-09-22 21:53:35.424761"], ["first_name", "Billy35"], ["last_name", "Bob_10"], ["openstax_uid", -39521499291963281221843328327643098374], ["updated_at", "2014-09-22 21:53:35.424761"], ["username", "billy_35"]]
732
+  (0.0ms) RELEASE SAVEPOINT active_record_1
733
+  (0.0ms) SAVEPOINT active_record_1
734
+ OpenStax::Accounts::Account Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -255164592904375995292948175040347772537 LIMIT 1
735
+ Binary data inserted for `string` type on column `access_token`
736
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "dc7150529ac2cb3c71080575081504e1"], ["created_at", "2014-09-22 21:53:35.426868"], ["first_name", "Billy36"], ["last_name", "Bob_09"], ["openstax_uid", -255164592904375995292948175040347772537], ["updated_at", "2014-09-22 21:53:35.426868"], ["username", "billy_36"]]
737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
738
+  (0.1ms) SAVEPOINT active_record_1
739
+ OpenStax::Accounts::Account Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -136341315295457456861417381774273284091 LIMIT 1
740
+ Binary data inserted for `string` type on column `access_token`
741
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c804785c179b5c162ab8c584e992a85b"], ["created_at", "2014-09-22 21:53:35.428957"], ["first_name", "Billy37"], ["last_name", "Bob_08"], ["openstax_uid", -136341315295457456861417381774273284091], ["updated_at", "2014-09-22 21:53:35.428957"], ["username", "billy_37"]]
742
+  (0.0ms) RELEASE SAVEPOINT active_record_1
743
+  (0.0ms) SAVEPOINT active_record_1
744
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -192604431689754362531282808736966538597 LIMIT 1
745
+ Binary data inserted for `string` type on column `access_token`
746
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5513f74e556321003c3e186cdacd3bae"], ["created_at", "2014-09-22 21:53:35.431046"], ["first_name", "Billy38"], ["last_name", "Bob_07"], ["openstax_uid", -192604431689754362531282808736966538597], ["updated_at", "2014-09-22 21:53:35.431046"], ["username", "billy_38"]]
747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
748
+  (0.0ms) SAVEPOINT active_record_1
749
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -149286445838070813000569788731378627688 LIMIT 1
750
+ Binary data inserted for `string` type on column `access_token`
751
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ad21808d64f9a5d81abe7bff2b41095a"], ["created_at", "2014-09-22 21:53:35.433386"], ["first_name", "Billy39"], ["last_name", "Bob_06"], ["openstax_uid", -149286445838070813000569788731378627688], ["updated_at", "2014-09-22 21:53:35.433386"], ["username", "billy_39"]]
752
+  (0.0ms) RELEASE SAVEPOINT active_record_1
753
+  (0.0ms) SAVEPOINT active_record_1
754
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -149525445053354185491779266626950909557 LIMIT 1
755
+ Binary data inserted for `string` type on column `access_token`
756
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "20ddc3b09da197276f5b571c7b954c9f"], ["created_at", "2014-09-22 21:53:35.435809"], ["first_name", "Billy40"], ["last_name", "Bob_05"], ["openstax_uid", -149525445053354185491779266626950909557], ["updated_at", "2014-09-22 21:53:35.435809"], ["username", "billy_40"]]
757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
758
+  (0.0ms) SAVEPOINT active_record_1
759
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -167341496528503288700995437575079283019 LIMIT 1
760
+ Binary data inserted for `string` type on column `access_token`
761
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "de5a057a41082dfe9335e54fa42bbeb7"], ["created_at", "2014-09-22 21:53:35.437986"], ["first_name", "Billy41"], ["last_name", "Bob_04"], ["openstax_uid", -167341496528503288700995437575079283019], ["updated_at", "2014-09-22 21:53:35.437986"], ["username", "billy_41"]]
762
+  (0.0ms) RELEASE SAVEPOINT active_record_1
763
+  (0.0ms) SAVEPOINT active_record_1
764
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -231991820332031584794927151151717582515 LIMIT 1
765
+ Binary data inserted for `string` type on column `access_token`
766
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4a8ea9c8a6d9a40b9e88328d3acc336c"], ["created_at", "2014-09-22 21:53:35.440210"], ["first_name", "Billy42"], ["last_name", "Bob_03"], ["openstax_uid", -231991820332031584794927151151717582515], ["updated_at", "2014-09-22 21:53:35.440210"], ["username", "billy_42"]]
767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
768
+  (0.0ms) SAVEPOINT active_record_1
769
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -231472701260561235963660008856922050927 LIMIT 1
770
+ Binary data inserted for `string` type on column `access_token`
771
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3dc75ae5aec17554fd319d47fe89fd9c"], ["created_at", "2014-09-22 21:53:35.442381"], ["first_name", "Billy43"], ["last_name", "Bob_02"], ["openstax_uid", -231472701260561235963660008856922050927], ["updated_at", "2014-09-22 21:53:35.442381"], ["username", "billy_43"]]
772
+  (0.0ms) RELEASE SAVEPOINT active_record_1
773
+  (0.0ms) SAVEPOINT active_record_1
774
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -28803350420349026675523157218632264372 LIMIT 1
775
+ Binary data inserted for `string` type on column `access_token`
776
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "28aec3383dcdb8812d52004c5cd68962"], ["created_at", "2014-09-22 21:53:35.444534"], ["first_name", "Billy44"], ["last_name", "Bob_01"], ["openstax_uid", -28803350420349026675523157218632264372], ["updated_at", "2014-09-22 21:53:35.444534"], ["username", "billy_44"]]
777
+  (0.0ms) RELEASE SAVEPOINT active_record_1
778
+  (0.0ms) SAVEPOINT active_record_1
779
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -281568125659158242040566939631100752377 LIMIT 1
780
+ Binary data inserted for `string` type on column `access_token`
781
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "cd72f4736f6c67344036910d7d94984b"], ["created_at", "2014-09-22 21:53:35.446720"], ["first_name", "Billy45"], ["last_name", "Bob_00"], ["openstax_uid", -281568125659158242040566939631100752377], ["updated_at", "2014-09-22 21:53:35.446720"], ["username", "billy_45"]]
782
+  (0.0ms) RELEASE SAVEPOINT active_record_1
783
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts"
784
+  (1.5ms) rollback transaction
785
+  (0.0ms) begin transaction
786
+  (0.0ms) SAVEPOINT active_record_1
787
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -300946576976001063507050354470688781290 LIMIT 1
788
+ Binary data inserted for `string` type on column `access_token`
789
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c123390b4d1cc2039e663a12c3fa3b8f"], ["created_at", "2014-09-22 21:53:35.453944"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -300946576976001063507050354470688781290], ["updated_at", "2014-09-22 21:53:35.453944"], ["username", "jstrav"]]
790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
791
+  (0.0ms) SAVEPOINT active_record_1
792
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -148137328339401581772555974402683483839 LIMIT 1
793
+ Binary data inserted for `string` type on column `access_token`
794
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "740a6f4150fd08e27a3ee03afc3809a0"], ["created_at", "2014-09-22 21:53:35.456518"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -148137328339401581772555974402683483839], ["updated_at", "2014-09-22 21:53:35.456518"], ["username", "mary"]]
795
+  (0.0ms) RELEASE SAVEPOINT active_record_1
796
+  (0.0ms) SAVEPOINT active_record_1
797
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -47278212538766395199541918871189696952 LIMIT 1
798
+ Binary data inserted for `string` type on column `access_token`
799
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8d29aaa1f3ff43c7e4e61ae5fb4308a5"], ["created_at", "2014-09-22 21:53:35.458963"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -47278212538766395199541918871189696952], ["updated_at", "2014-09-22 21:53:35.458963"], ["username", "jstead"]]
800
+  (0.0ms) RELEASE SAVEPOINT active_record_1
801
+  (0.0ms) SAVEPOINT active_record_1
802
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -28480050768053064398951771836951731342 LIMIT 1
803
+ Binary data inserted for `string` type on column `access_token`
804
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c8e8ed8643082afa3d6750cb80798841"], ["created_at", "2014-09-22 21:53:35.461154"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -28480050768053064398951771836951731342], ["updated_at", "2014-09-22 21:53:35.461154"], ["username", "bigbear"]]
805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
806
+  (0.0ms) SAVEPOINT active_record_1
807
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -102501287966279774516445303735542524477 LIMIT 1
808
+ Binary data inserted for `string` type on column `access_token`
809
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f6e4bf143c26b8600b672c6739e8ace6"], ["created_at", "2014-09-22 21:53:35.463340"], ["first_name", "Billy00"], ["last_name", "Bob_45"], ["openstax_uid", -102501287966279774516445303735542524477], ["updated_at", "2014-09-22 21:53:35.463340"], ["username", "billy_00"]]
810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
811
+  (0.0ms) SAVEPOINT active_record_1
812
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -109499416787442146644725155965528952715 LIMIT 1
813
+ Binary data inserted for `string` type on column `access_token`
814
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "df9a53482031002a0ec78099033c9603"], ["created_at", "2014-09-22 21:53:35.465407"], ["first_name", "Billy01"], ["last_name", "Bob_44"], ["openstax_uid", -109499416787442146644725155965528952715], ["updated_at", "2014-09-22 21:53:35.465407"], ["username", "billy_01"]]
815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
816
+  (0.1ms) SAVEPOINT active_record_1
817
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -13662709909483732212054617408011696882 LIMIT 1
818
+ Binary data inserted for `string` type on column `access_token`
819
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ea683c9fa7a0b6c558d5c285a30528c1"], ["created_at", "2014-09-22 21:53:35.470256"], ["first_name", "Billy02"], ["last_name", "Bob_43"], ["openstax_uid", -13662709909483732212054617408011696882], ["updated_at", "2014-09-22 21:53:35.470256"], ["username", "billy_02"]]
820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
821
+  (0.1ms) SAVEPOINT active_record_1
822
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -304040974721765600476682604656142462694 LIMIT 1
823
+ Binary data inserted for `string` type on column `access_token`
824
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "965c5545cd461fbe15220ab36a203438"], ["created_at", "2014-09-22 21:53:35.474329"], ["first_name", "Billy03"], ["last_name", "Bob_42"], ["openstax_uid", -304040974721765600476682604656142462694], ["updated_at", "2014-09-22 21:53:35.474329"], ["username", "billy_03"]]
825
+  (0.1ms) RELEASE SAVEPOINT active_record_1
826
+  (0.1ms) SAVEPOINT active_record_1
827
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -315788774199576578686026259436560718328 LIMIT 1
828
+ Binary data inserted for `string` type on column `access_token`
829
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d2bc400cd2efe2dfd191d303f4f77c0f"], ["created_at", "2014-09-22 21:53:35.478322"], ["first_name", "Billy04"], ["last_name", "Bob_41"], ["openstax_uid", -315788774199576578686026259436560718328], ["updated_at", "2014-09-22 21:53:35.478322"], ["username", "billy_04"]]
830
+  (0.1ms) RELEASE SAVEPOINT active_record_1
831
+  (0.1ms) SAVEPOINT active_record_1
832
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -37943658012434241924372466795913075991 LIMIT 1
833
+ Binary data inserted for `string` type on column `access_token`
834
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a3f23b591007281bce765eb2ca206549"], ["created_at", "2014-09-22 21:53:35.481769"], ["first_name", "Billy05"], ["last_name", "Bob_40"], ["openstax_uid", -37943658012434241924372466795913075991], ["updated_at", "2014-09-22 21:53:35.481769"], ["username", "billy_05"]]
835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
836
+  (0.1ms) SAVEPOINT active_record_1
837
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -28533042879863831885192390695448973399 LIMIT 1
838
+ Binary data inserted for `string` type on column `access_token`
839
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "37de7f101603688fc7c78152e5c8b9e5"], ["created_at", "2014-09-22 21:53:35.485105"], ["first_name", "Billy06"], ["last_name", "Bob_39"], ["openstax_uid", -28533042879863831885192390695448973399], ["updated_at", "2014-09-22 21:53:35.485105"], ["username", "billy_06"]]
840
+  (0.0ms) RELEASE SAVEPOINT active_record_1
841
+  (0.0ms) SAVEPOINT active_record_1
842
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -108010202734114763668698807616420126621 LIMIT 1
843
+ Binary data inserted for `string` type on column `access_token`
844
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2d3de689ce83166e747789b30c4a7e46"], ["created_at", "2014-09-22 21:53:35.487589"], ["first_name", "Billy07"], ["last_name", "Bob_38"], ["openstax_uid", -108010202734114763668698807616420126621], ["updated_at", "2014-09-22 21:53:35.487589"], ["username", "billy_07"]]
845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
846
+  (0.0ms) SAVEPOINT active_record_1
847
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -55825143201433630901360150425970994656 LIMIT 1
848
+ Binary data inserted for `string` type on column `access_token`
849
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0f15cc18cfce4f8a95ff0fcdb5388b7e"], ["created_at", "2014-09-22 21:53:35.489719"], ["first_name", "Billy08"], ["last_name", "Bob_37"], ["openstax_uid", -55825143201433630901360150425970994656], ["updated_at", "2014-09-22 21:53:35.489719"], ["username", "billy_08"]]
850
+  (0.0ms) RELEASE SAVEPOINT active_record_1
851
+  (0.0ms) SAVEPOINT active_record_1
852
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -103264493871910822513106812104780036353 LIMIT 1
853
+ Binary data inserted for `string` type on column `access_token`
854
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b812f4a4dd16ef0bc174f1129e9892ac"], ["created_at", "2014-09-22 21:53:35.491797"], ["first_name", "Billy09"], ["last_name", "Bob_36"], ["openstax_uid", -103264493871910822513106812104780036353], ["updated_at", "2014-09-22 21:53:35.491797"], ["username", "billy_09"]]
855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
856
+  (0.0ms) SAVEPOINT active_record_1
857
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -216631414425246741501761073805506712011 LIMIT 1
858
+ Binary data inserted for `string` type on column `access_token`
859
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fb277ed7c1b49402651b30a177a834fe"], ["created_at", "2014-09-22 21:53:35.493962"], ["first_name", "Billy10"], ["last_name", "Bob_35"], ["openstax_uid", -216631414425246741501761073805506712011], ["updated_at", "2014-09-22 21:53:35.493962"], ["username", "billy_10"]]
860
+  (0.0ms) RELEASE SAVEPOINT active_record_1
861
+  (0.0ms) SAVEPOINT active_record_1
862
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -141382259175189611432985084247505306772 LIMIT 1
863
+ Binary data inserted for `string` type on column `access_token`
864
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5fb816ede46cbdf0a081389aabffce4b"], ["created_at", "2014-09-22 21:53:35.496067"], ["first_name", "Billy11"], ["last_name", "Bob_34"], ["openstax_uid", -141382259175189611432985084247505306772], ["updated_at", "2014-09-22 21:53:35.496067"], ["username", "billy_11"]]
865
+  (0.0ms) RELEASE SAVEPOINT active_record_1
866
+  (0.0ms) SAVEPOINT active_record_1
867
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -146999748846536931080493309460062482718 LIMIT 1
868
+ Binary data inserted for `string` type on column `access_token`
869
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "70b759424c6f221df4f11f692999d4ab"], ["created_at", "2014-09-22 21:53:35.498178"], ["first_name", "Billy12"], ["last_name", "Bob_33"], ["openstax_uid", -146999748846536931080493309460062482718], ["updated_at", "2014-09-22 21:53:35.498178"], ["username", "billy_12"]]
870
+  (0.0ms) RELEASE SAVEPOINT active_record_1
871
+  (0.0ms) SAVEPOINT active_record_1
872
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -104466689086290233732641958580392269571 LIMIT 1
873
+ Binary data inserted for `string` type on column `access_token`
874
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c4dcff9b1bb56d4d17bda0e255785223"], ["created_at", "2014-09-22 21:53:35.500309"], ["first_name", "Billy13"], ["last_name", "Bob_32"], ["openstax_uid", -104466689086290233732641958580392269571], ["updated_at", "2014-09-22 21:53:35.500309"], ["username", "billy_13"]]
875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
876
+  (0.0ms) SAVEPOINT active_record_1
877
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -212105605134344765199087885656165219650 LIMIT 1
878
+ Binary data inserted for `string` type on column `access_token`
879
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "bd839e3a0a35e9767bbe24f4b1ed8782"], ["created_at", "2014-09-22 21:53:35.502398"], ["first_name", "Billy14"], ["last_name", "Bob_31"], ["openstax_uid", -212105605134344765199087885656165219650], ["updated_at", "2014-09-22 21:53:35.502398"], ["username", "billy_14"]]
880
+  (0.0ms) RELEASE SAVEPOINT active_record_1
881
+  (0.0ms) SAVEPOINT active_record_1
882
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -323559971470373089838117328448147810705 LIMIT 1
883
+ Binary data inserted for `string` type on column `access_token`
884
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "37b9194631e7dfad36f1d687c31c54b5"], ["created_at", "2014-09-22 21:53:35.504541"], ["first_name", "Billy15"], ["last_name", "Bob_30"], ["openstax_uid", -323559971470373089838117328448147810705], ["updated_at", "2014-09-22 21:53:35.504541"], ["username", "billy_15"]]
885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
886
+  (0.0ms) SAVEPOINT active_record_1
887
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -273775396265800013892621579769200771764 LIMIT 1
888
+ Binary data inserted for `string` type on column `access_token`
889
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e6e5595af406b72f5e8347076a48f556"], ["created_at", "2014-09-22 21:53:35.506624"], ["first_name", "Billy16"], ["last_name", "Bob_29"], ["openstax_uid", -273775396265800013892621579769200771764], ["updated_at", "2014-09-22 21:53:35.506624"], ["username", "billy_16"]]
890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
891
+  (0.0ms) SAVEPOINT active_record_1
892
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -266749766547016958911191436690719073444 LIMIT 1
893
+ Binary data inserted for `string` type on column `access_token`
894
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5ec1be30c58cff22f99f27667b22cbd5"], ["created_at", "2014-09-22 21:53:35.508798"], ["first_name", "Billy17"], ["last_name", "Bob_28"], ["openstax_uid", -266749766547016958911191436690719073444], ["updated_at", "2014-09-22 21:53:35.508798"], ["username", "billy_17"]]
895
+  (0.0ms) RELEASE SAVEPOINT active_record_1
896
+  (0.0ms) SAVEPOINT active_record_1
897
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -156613863945996309015856374126003596837 LIMIT 1
898
+ Binary data inserted for `string` type on column `access_token`
899
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b5f495775279213d9756a378024479e4"], ["created_at", "2014-09-22 21:53:35.510933"], ["first_name", "Billy18"], ["last_name", "Bob_27"], ["openstax_uid", -156613863945996309015856374126003596837], ["updated_at", "2014-09-22 21:53:35.510933"], ["username", "billy_18"]]
900
+  (0.0ms) RELEASE SAVEPOINT active_record_1
901
+  (0.0ms) SAVEPOINT active_record_1
902
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -299429045016421335467947747389463347635 LIMIT 1
903
+ Binary data inserted for `string` type on column `access_token`
904
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "99a598bc6579a8b344cb7e442e3c7d07"], ["created_at", "2014-09-22 21:53:35.513120"], ["first_name", "Billy19"], ["last_name", "Bob_26"], ["openstax_uid", -299429045016421335467947747389463347635], ["updated_at", "2014-09-22 21:53:35.513120"], ["username", "billy_19"]]
905
+  (0.0ms) RELEASE SAVEPOINT active_record_1
906
+  (0.0ms) SAVEPOINT active_record_1
907
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -167482709619232343303701619196764703565 LIMIT 1
908
+ Binary data inserted for `string` type on column `access_token`
909
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "bc4d1bd297e3e8e61fa41062bf1527d0"], ["created_at", "2014-09-22 21:53:35.515294"], ["first_name", "Billy20"], ["last_name", "Bob_25"], ["openstax_uid", -167482709619232343303701619196764703565], ["updated_at", "2014-09-22 21:53:35.515294"], ["username", "billy_20"]]
910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
911
+  (0.0ms) SAVEPOINT active_record_1
912
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -222926518043273606634725519118762203520 LIMIT 1
913
+ Binary data inserted for `string` type on column `access_token`
914
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ced70c5bc4283455c9cd676b19918d9d"], ["created_at", "2014-09-22 21:53:35.517443"], ["first_name", "Billy21"], ["last_name", "Bob_24"], ["openstax_uid", -222926518043273606634725519118762203520], ["updated_at", "2014-09-22 21:53:35.517443"], ["username", "billy_21"]]
915
+  (0.0ms) RELEASE SAVEPOINT active_record_1
916
+  (0.0ms) SAVEPOINT active_record_1
917
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -237382752141771704910431362545574196075 LIMIT 1
918
+ Binary data inserted for `string` type on column `access_token`
919
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "48aa85eadfaaacd147f50848f4552752"], ["created_at", "2014-09-22 21:53:35.553328"], ["first_name", "Billy22"], ["last_name", "Bob_23"], ["openstax_uid", -237382752141771704910431362545574196075], ["updated_at", "2014-09-22 21:53:35.553328"], ["username", "billy_22"]]
920
+  (0.0ms) RELEASE SAVEPOINT active_record_1
921
+  (0.0ms) SAVEPOINT active_record_1
922
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -172457089518045488594276409674688747748 LIMIT 1
923
+ Binary data inserted for `string` type on column `access_token`
924
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3e3ac9468b43c8703a1607f3b280100e"], ["created_at", "2014-09-22 21:53:35.555910"], ["first_name", "Billy23"], ["last_name", "Bob_22"], ["openstax_uid", -172457089518045488594276409674688747748], ["updated_at", "2014-09-22 21:53:35.555910"], ["username", "billy_23"]]
925
+  (0.0ms) RELEASE SAVEPOINT active_record_1
926
+  (0.0ms) SAVEPOINT active_record_1
927
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -229271403562801580300666281280418700887 LIMIT 1
928
+ Binary data inserted for `string` type on column `access_token`
929
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "cd8115363fdba90b8c7529b70c4d3288"], ["created_at", "2014-09-22 21:53:35.558044"], ["first_name", "Billy24"], ["last_name", "Bob_21"], ["openstax_uid", -229271403562801580300666281280418700887], ["updated_at", "2014-09-22 21:53:35.558044"], ["username", "billy_24"]]
930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
931
+  (0.0ms) SAVEPOINT active_record_1
932
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -237943905147441065067061793015907689264 LIMIT 1
933
+ Binary data inserted for `string` type on column `access_token`
934
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "50f3c0998d34440137499f34dbc2fbd5"], ["created_at", "2014-09-22 21:53:35.560172"], ["first_name", "Billy25"], ["last_name", "Bob_20"], ["openstax_uid", -237943905147441065067061793015907689264], ["updated_at", "2014-09-22 21:53:35.560172"], ["username", "billy_25"]]
935
+  (0.0ms) RELEASE SAVEPOINT active_record_1
936
+  (0.0ms) SAVEPOINT active_record_1
937
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -105128926600897589928286862412518915258 LIMIT 1
938
+ Binary data inserted for `string` type on column `access_token`
939
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f6ec475efb491f8eb6eb0125543f3a7f"], ["created_at", "2014-09-22 21:53:35.562270"], ["first_name", "Billy26"], ["last_name", "Bob_19"], ["openstax_uid", -105128926600897589928286862412518915258], ["updated_at", "2014-09-22 21:53:35.562270"], ["username", "billy_26"]]
940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
941
+  (0.0ms) SAVEPOINT active_record_1
942
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -18899261278268364337275732213934612940 LIMIT 1
943
+ Binary data inserted for `string` type on column `access_token`
944
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "99b7c038e25d19657d60997bde0395dd"], ["created_at", "2014-09-22 21:53:35.564548"], ["first_name", "Billy27"], ["last_name", "Bob_18"], ["openstax_uid", -18899261278268364337275732213934612940], ["updated_at", "2014-09-22 21:53:35.564548"], ["username", "billy_27"]]
945
+  (0.0ms) RELEASE SAVEPOINT active_record_1
946
+  (0.0ms) SAVEPOINT active_record_1
947
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -320504148700976539406470504017052460392 LIMIT 1
948
+ Binary data inserted for `string` type on column `access_token`
949
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c0cea62adc22a5cabe6d96a74b3deda6"], ["created_at", "2014-09-22 21:53:35.566632"], ["first_name", "Billy28"], ["last_name", "Bob_17"], ["openstax_uid", -320504148700976539406470504017052460392], ["updated_at", "2014-09-22 21:53:35.566632"], ["username", "billy_28"]]
950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
951
+  (0.0ms) SAVEPOINT active_record_1
952
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -45183337760159014860982668952781522565 LIMIT 1
953
+ Binary data inserted for `string` type on column `access_token`
954
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "09e61c39a71bceb5cf8911ba373132c0"], ["created_at", "2014-09-22 21:53:35.568855"], ["first_name", "Billy29"], ["last_name", "Bob_16"], ["openstax_uid", -45183337760159014860982668952781522565], ["updated_at", "2014-09-22 21:53:35.568855"], ["username", "billy_29"]]
955
+  (0.0ms) RELEASE SAVEPOINT active_record_1
956
+  (0.0ms) SAVEPOINT active_record_1
957
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -93560400595161879944932882439558113263 LIMIT 1
958
+ Binary data inserted for `string` type on column `access_token`
959
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "88f0958ca40570a89e82aa7e6ad98c06"], ["created_at", "2014-09-22 21:53:35.570945"], ["first_name", "Billy30"], ["last_name", "Bob_15"], ["openstax_uid", -93560400595161879944932882439558113263], ["updated_at", "2014-09-22 21:53:35.570945"], ["username", "billy_30"]]
960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
961
+  (0.0ms) SAVEPOINT active_record_1
962
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -31275872139756043025277027824667629946 LIMIT 1
963
+ Binary data inserted for `string` type on column `access_token`
964
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ccb317c44ebab736d7032e3d82570c87"], ["created_at", "2014-09-22 21:53:35.573059"], ["first_name", "Billy31"], ["last_name", "Bob_14"], ["openstax_uid", -31275872139756043025277027824667629946], ["updated_at", "2014-09-22 21:53:35.573059"], ["username", "billy_31"]]
965
+  (0.0ms) RELEASE SAVEPOINT active_record_1
966
+  (0.0ms) SAVEPOINT active_record_1
967
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -238536943241716413416157676480710389605 LIMIT 1
968
+ Binary data inserted for `string` type on column `access_token`
969
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "dce286c51e2b99008e48467f80928439"], ["created_at", "2014-09-22 21:53:35.575273"], ["first_name", "Billy32"], ["last_name", "Bob_13"], ["openstax_uid", -238536943241716413416157676480710389605], ["updated_at", "2014-09-22 21:53:35.575273"], ["username", "billy_32"]]
970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
971
+  (0.0ms) SAVEPOINT active_record_1
972
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -257771292572604777624724942366733713712 LIMIT 1
973
+ Binary data inserted for `string` type on column `access_token`
974
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "85c0ea887c662dcff27b1e8805fcea34"], ["created_at", "2014-09-22 21:53:35.577458"], ["first_name", "Billy33"], ["last_name", "Bob_12"], ["openstax_uid", -257771292572604777624724942366733713712], ["updated_at", "2014-09-22 21:53:35.577458"], ["username", "billy_33"]]
975
+  (0.0ms) RELEASE SAVEPOINT active_record_1
976
+  (0.0ms) SAVEPOINT active_record_1
977
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -188298940444492894531629688595969310050 LIMIT 1
978
+ Binary data inserted for `string` type on column `access_token`
979
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3d6ead057fe1c08143fb4c32bace8a5c"], ["created_at", "2014-09-22 21:53:35.579662"], ["first_name", "Billy34"], ["last_name", "Bob_11"], ["openstax_uid", -188298940444492894531629688595969310050], ["updated_at", "2014-09-22 21:53:35.579662"], ["username", "billy_34"]]
980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
981
+  (0.0ms) SAVEPOINT active_record_1
982
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -146967432854230933653649392932710773297 LIMIT 1
983
+ Binary data inserted for `string` type on column `access_token`
984
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "13fe4afbd1ed50d9742262598f780d44"], ["created_at", "2014-09-22 21:53:35.581938"], ["first_name", "Billy35"], ["last_name", "Bob_10"], ["openstax_uid", -146967432854230933653649392932710773297], ["updated_at", "2014-09-22 21:53:35.581938"], ["username", "billy_35"]]
985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
986
+  (0.0ms) SAVEPOINT active_record_1
987
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -189653822295350127394291956750924647383 LIMIT 1
988
+ Binary data inserted for `string` type on column `access_token`
989
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ab1f38e8a3717ec806c2ba52dca610e6"], ["created_at", "2014-09-22 21:53:35.584012"], ["first_name", "Billy36"], ["last_name", "Bob_09"], ["openstax_uid", -189653822295350127394291956750924647383], ["updated_at", "2014-09-22 21:53:35.584012"], ["username", "billy_36"]]
990
+  (0.0ms) RELEASE SAVEPOINT active_record_1
991
+  (0.0ms) SAVEPOINT active_record_1
992
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -9435084739606373715565120109263137274 LIMIT 1
993
+ Binary data inserted for `string` type on column `access_token`
994
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2e5983963b4fdc84e5bf1ee06278c05c"], ["created_at", "2014-09-22 21:53:35.586171"], ["first_name", "Billy37"], ["last_name", "Bob_08"], ["openstax_uid", -9435084739606373715565120109263137274], ["updated_at", "2014-09-22 21:53:35.586171"], ["username", "billy_37"]]
995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
996
+  (0.0ms) SAVEPOINT active_record_1
997
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -222353792048804651501884915708079250662 LIMIT 1
998
+ Binary data inserted for `string` type on column `access_token`
999
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c1623c0f5d0b54d628e65729aeebe8ae"], ["created_at", "2014-09-22 21:53:35.588295"], ["first_name", "Billy38"], ["last_name", "Bob_07"], ["openstax_uid", -222353792048804651501884915708079250662], ["updated_at", "2014-09-22 21:53:35.588295"], ["username", "billy_38"]]
1000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1001
+  (0.0ms) SAVEPOINT active_record_1
1002
+ OpenStax::Accounts::Account Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -254392703798035037595890095047514128076 LIMIT 1
1003
+ Binary data inserted for `string` type on column `access_token`
1004
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f4f81b4d01906f928d14ef1d3340db26"], ["created_at", "2014-09-22 21:53:35.590311"], ["first_name", "Billy39"], ["last_name", "Bob_06"], ["openstax_uid", -254392703798035037595890095047514128076], ["updated_at", "2014-09-22 21:53:35.590311"], ["username", "billy_39"]]
1005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1006
+  (0.0ms) SAVEPOINT active_record_1
1007
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -173569269793260322348916150774946851409 LIMIT 1
1008
+ Binary data inserted for `string` type on column `access_token`
1009
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8cba65c241a647e8880e883d9b8e8748"], ["created_at", "2014-09-22 21:53:35.592449"], ["first_name", "Billy40"], ["last_name", "Bob_05"], ["openstax_uid", -173569269793260322348916150774946851409], ["updated_at", "2014-09-22 21:53:35.592449"], ["username", "billy_40"]]
1010
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1011
+  (0.0ms) SAVEPOINT active_record_1
1012
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -67870045106021109817482399547284256777 LIMIT 1
1013
+ Binary data inserted for `string` type on column `access_token`
1014
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3ca05ee535522b8a7e09b96859d15627"], ["created_at", "2014-09-22 21:53:35.594499"], ["first_name", "Billy41"], ["last_name", "Bob_04"], ["openstax_uid", -67870045106021109817482399547284256777], ["updated_at", "2014-09-22 21:53:35.594499"], ["username", "billy_41"]]
1015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1016
+  (0.0ms) SAVEPOINT active_record_1
1017
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -294331854808325126509244795011843233783 LIMIT 1
1018
+ Binary data inserted for `string` type on column `access_token`
1019
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0200212688d2b0bd9150d9af2fcc0f87"], ["created_at", "2014-09-22 21:53:35.596643"], ["first_name", "Billy42"], ["last_name", "Bob_03"], ["openstax_uid", -294331854808325126509244795011843233783], ["updated_at", "2014-09-22 21:53:35.596643"], ["username", "billy_42"]]
1020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1021
+  (0.0ms) SAVEPOINT active_record_1
1022
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -222970429440600746743372598759324642629 LIMIT 1
1023
+ Binary data inserted for `string` type on column `access_token`
1024
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "459f346601acb7062c3854490530f97d"], ["created_at", "2014-09-22 21:53:35.598708"], ["first_name", "Billy43"], ["last_name", "Bob_02"], ["openstax_uid", -222970429440600746743372598759324642629], ["updated_at", "2014-09-22 21:53:35.598708"], ["username", "billy_43"]]
1025
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1026
+  (0.0ms) SAVEPOINT active_record_1
1027
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -292690596454722790745097891872135039330 LIMIT 1
1028
+ Binary data inserted for `string` type on column `access_token`
1029
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "73d0c2deb58efa592eb0b580644a80e7"], ["created_at", "2014-09-22 21:53:35.601226"], ["first_name", "Billy44"], ["last_name", "Bob_01"], ["openstax_uid", -292690596454722790745097891872135039330], ["updated_at", "2014-09-22 21:53:35.601226"], ["username", "billy_44"]]
1030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1031
+  (0.0ms) SAVEPOINT active_record_1
1032
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -326443378244271396251231574670372701504 LIMIT 1
1033
+ Binary data inserted for `string` type on column `access_token`
1034
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "09c61d06f7c8747b5377ba2c274e5e8b"], ["created_at", "2014-09-22 21:53:35.603613"], ["first_name", "Billy45"], ["last_name", "Bob_00"], ["openstax_uid", -326443378244271396251231574670372701504], ["updated_at", "2014-09-22 21:53:35.603613"], ["username", "billy_45"]]
1035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1036
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%'))
1037
+ OpenStax::Accounts::Account Load (0.2ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%')) ORDER BY username ASC LIMIT 20 OFFSET 0
1038
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_00' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1039
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_19' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1040
+  (1.5ms) rollback transaction
1041
+  (0.0ms) begin transaction
1042
+  (0.0ms) SAVEPOINT active_record_1
1043
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -223370572327836436916406773770450833042 LIMIT 1
1044
+ Binary data inserted for `string` type on column `access_token`
1045
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "45f5ca457a491c2621ab71930168a535"], ["created_at", "2014-09-22 21:53:35.612861"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -223370572327836436916406773770450833042], ["updated_at", "2014-09-22 21:53:35.612861"], ["username", "jstrav"]]
1046
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1047
+  (0.0ms) SAVEPOINT active_record_1
1048
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -18672987572609875613055825750551122063 LIMIT 1
1049
+ Binary data inserted for `string` type on column `access_token`
1050
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "3c404faaf6238bd462e7fc7cfb76d834"], ["created_at", "2014-09-22 21:53:35.615366"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -18672987572609875613055825750551122063], ["updated_at", "2014-09-22 21:53:35.615366"], ["username", "mary"]]
1051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1052
+  (0.0ms) SAVEPOINT active_record_1
1053
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -221335859788951295370017502534589912789 LIMIT 1
1054
+ Binary data inserted for `string` type on column `access_token`
1055
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "24c623bf36e81b5cf386e660aaae65cf"], ["created_at", "2014-09-22 21:53:35.618073"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -221335859788951295370017502534589912789], ["updated_at", "2014-09-22 21:53:35.618073"], ["username", "jstead"]]
1056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1057
+  (0.0ms) SAVEPOINT active_record_1
1058
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -226435543346937451129369708963253139113 LIMIT 1
1059
+ Binary data inserted for `string` type on column `access_token`
1060
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2e9d201a6f7f317fcabcd5b32ec47397"], ["created_at", "2014-09-22 21:53:35.620338"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -226435543346937451129369708963253139113], ["updated_at", "2014-09-22 21:53:35.620338"], ["username", "bigbear"]]
1061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1062
+  (0.0ms) SAVEPOINT active_record_1
1063
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -113895503592519028504278794213148734193 LIMIT 1
1064
+ Binary data inserted for `string` type on column `access_token`
1065
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7cafcb442e99134ef05698e544963b09"], ["created_at", "2014-09-22 21:53:35.622515"], ["first_name", "Billy00"], ["last_name", "Bob_45"], ["openstax_uid", -113895503592519028504278794213148734193], ["updated_at", "2014-09-22 21:53:35.622515"], ["username", "billy_00"]]
1066
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1067
+  (0.0ms) SAVEPOINT active_record_1
1068
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -67384840520032071935511423347059854726 LIMIT 1
1069
+ Binary data inserted for `string` type on column `access_token`
1070
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ee24241445f50a8c863e245326de1e6e"], ["created_at", "2014-09-22 21:53:35.624610"], ["first_name", "Billy01"], ["last_name", "Bob_44"], ["openstax_uid", -67384840520032071935511423347059854726], ["updated_at", "2014-09-22 21:53:35.624610"], ["username", "billy_01"]]
1071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1072
+  (0.0ms) SAVEPOINT active_record_1
1073
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -18362979542029726886760639408387340614 LIMIT 1
1074
+ Binary data inserted for `string` type on column `access_token`
1075
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "796eaf1fc70e58e43e69c9b9db7d4dec"], ["created_at", "2014-09-22 21:53:35.626708"], ["first_name", "Billy02"], ["last_name", "Bob_43"], ["openstax_uid", -18362979542029726886760639408387340614], ["updated_at", "2014-09-22 21:53:35.626708"], ["username", "billy_02"]]
1076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1077
+  (0.0ms) SAVEPOINT active_record_1
1078
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -170114006479600655536706414386636808662 LIMIT 1
1079
+ Binary data inserted for `string` type on column `access_token`
1080
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "51945e9b5326f44a9561c283a8b16022"], ["created_at", "2014-09-22 21:53:35.628797"], ["first_name", "Billy03"], ["last_name", "Bob_42"], ["openstax_uid", -170114006479600655536706414386636808662], ["updated_at", "2014-09-22 21:53:35.628797"], ["username", "billy_03"]]
1081
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1082
+  (0.0ms) SAVEPOINT active_record_1
1083
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -338085989632752260520708068676836855454 LIMIT 1
1084
+ Binary data inserted for `string` type on column `access_token`
1085
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9de254fb6ad3dcdaf4b2674c67296dde"], ["created_at", "2014-09-22 21:53:35.630870"], ["first_name", "Billy04"], ["last_name", "Bob_41"], ["openstax_uid", -338085989632752260520708068676836855454], ["updated_at", "2014-09-22 21:53:35.630870"], ["username", "billy_04"]]
1086
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1087
+  (0.0ms) SAVEPOINT active_record_1
1088
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -295555995922105381976625153654859201195 LIMIT 1
1089
+ Binary data inserted for `string` type on column `access_token`
1090
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f2cdbc36040e9f04f588c749fecc7782"], ["created_at", "2014-09-22 21:53:35.633031"], ["first_name", "Billy05"], ["last_name", "Bob_40"], ["openstax_uid", -295555995922105381976625153654859201195], ["updated_at", "2014-09-22 21:53:35.633031"], ["username", "billy_05"]]
1091
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1092
+  (0.0ms) SAVEPOINT active_record_1
1093
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -234822656393429590006710113070059763007 LIMIT 1
1094
+ Binary data inserted for `string` type on column `access_token`
1095
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9a93dcdbc96fbb484fea0edb6691bd33"], ["created_at", "2014-09-22 21:53:35.635155"], ["first_name", "Billy06"], ["last_name", "Bob_39"], ["openstax_uid", -234822656393429590006710113070059763007], ["updated_at", "2014-09-22 21:53:35.635155"], ["username", "billy_06"]]
1096
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1097
+  (0.0ms) SAVEPOINT active_record_1
1098
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -156720009422660339244478473309636798059 LIMIT 1
1099
+ Binary data inserted for `string` type on column `access_token`
1100
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "17f042a0c1a65ea879e96a1cad5899b2"], ["created_at", "2014-09-22 21:53:35.637280"], ["first_name", "Billy07"], ["last_name", "Bob_38"], ["openstax_uid", -156720009422660339244478473309636798059], ["updated_at", "2014-09-22 21:53:35.637280"], ["username", "billy_07"]]
1101
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1102
+  (0.0ms) SAVEPOINT active_record_1
1103
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -218847910329407047648143122348016690827 LIMIT 1
1104
+ Binary data inserted for `string` type on column `access_token`
1105
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "129a10ae8b59bfcb6c6eb9265cbd404f"], ["created_at", "2014-09-22 21:53:35.639386"], ["first_name", "Billy08"], ["last_name", "Bob_37"], ["openstax_uid", -218847910329407047648143122348016690827], ["updated_at", "2014-09-22 21:53:35.639386"], ["username", "billy_08"]]
1106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1107
+  (0.0ms) SAVEPOINT active_record_1
1108
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -279898149530122690294601692915783182220 LIMIT 1
1109
+ Binary data inserted for `string` type on column `access_token`
1110
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2ec687131cadf570331e2d3444c529f4"], ["created_at", "2014-09-22 21:53:35.641519"], ["first_name", "Billy09"], ["last_name", "Bob_36"], ["openstax_uid", -279898149530122690294601692915783182220], ["updated_at", "2014-09-22 21:53:35.641519"], ["username", "billy_09"]]
1111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1112
+  (0.0ms) SAVEPOINT active_record_1
1113
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -65177833853110751065198032899623987780 LIMIT 1
1114
+ Binary data inserted for `string` type on column `access_token`
1115
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "67b80ed6ab7d384d23007093e2981213"], ["created_at", "2014-09-22 21:53:35.643649"], ["first_name", "Billy10"], ["last_name", "Bob_35"], ["openstax_uid", -65177833853110751065198032899623987780], ["updated_at", "2014-09-22 21:53:35.643649"], ["username", "billy_10"]]
1116
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1117
+  (0.0ms) SAVEPOINT active_record_1
1118
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -72051083182150848040837391797905395950 LIMIT 1
1119
+ Binary data inserted for `string` type on column `access_token`
1120
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d0d4dca82a5d5b76c230e8ce8370a883"], ["created_at", "2014-09-22 21:53:35.645793"], ["first_name", "Billy11"], ["last_name", "Bob_34"], ["openstax_uid", -72051083182150848040837391797905395950], ["updated_at", "2014-09-22 21:53:35.645793"], ["username", "billy_11"]]
1121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1122
+  (0.0ms) SAVEPOINT active_record_1
1123
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -191485050663096572041750264703785922197 LIMIT 1
1124
+ Binary data inserted for `string` type on column `access_token`
1125
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d5b4cf363f9be70ec0f010a1109172ad"], ["created_at", "2014-09-22 21:53:35.647919"], ["first_name", "Billy12"], ["last_name", "Bob_33"], ["openstax_uid", -191485050663096572041750264703785922197], ["updated_at", "2014-09-22 21:53:35.647919"], ["username", "billy_12"]]
1126
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1127
+  (0.0ms) SAVEPOINT active_record_1
1128
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -51140074002496869954896075167282255478 LIMIT 1
1129
+ Binary data inserted for `string` type on column `access_token`
1130
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ac8b69698b39815b220fc6ea6c4a43bf"], ["created_at", "2014-09-22 21:53:35.650002"], ["first_name", "Billy13"], ["last_name", "Bob_32"], ["openstax_uid", -51140074002496869954896075167282255478], ["updated_at", "2014-09-22 21:53:35.650002"], ["username", "billy_13"]]
1131
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1132
+  (0.0ms) SAVEPOINT active_record_1
1133
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -230082623019894291216891386623312868622 LIMIT 1
1134
+ Binary data inserted for `string` type on column `access_token`
1135
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "fd20357afe49d14315fdb718850b4b50"], ["created_at", "2014-09-22 21:53:35.652133"], ["first_name", "Billy14"], ["last_name", "Bob_31"], ["openstax_uid", -230082623019894291216891386623312868622], ["updated_at", "2014-09-22 21:53:35.652133"], ["username", "billy_14"]]
1136
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1137
+  (0.0ms) SAVEPOINT active_record_1
1138
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -99146835368328148089413326196158377435 LIMIT 1
1139
+ Binary data inserted for `string` type on column `access_token`
1140
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c5aa5b6a65e6dc4711e7561e85e23b57"], ["created_at", "2014-09-22 21:53:35.654199"], ["first_name", "Billy15"], ["last_name", "Bob_30"], ["openstax_uid", -99146835368328148089413326196158377435], ["updated_at", "2014-09-22 21:53:35.654199"], ["username", "billy_15"]]
1141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1142
+  (0.0ms) SAVEPOINT active_record_1
1143
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -296494611277277074527792166877527520396 LIMIT 1
1144
+ Binary data inserted for `string` type on column `access_token`
1145
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "02e2cf854c01d4d98dbb93b45d22442a"], ["created_at", "2014-09-22 21:53:35.656289"], ["first_name", "Billy16"], ["last_name", "Bob_29"], ["openstax_uid", -296494611277277074527792166877527520396], ["updated_at", "2014-09-22 21:53:35.656289"], ["username", "billy_16"]]
1146
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1147
+  (0.0ms) SAVEPOINT active_record_1
1148
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -176330978375402917504911514988840369798 LIMIT 1
1149
+ Binary data inserted for `string` type on column `access_token`
1150
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e48bb0dce817152d7c3078247f2bdf76"], ["created_at", "2014-09-22 21:53:35.658421"], ["first_name", "Billy17"], ["last_name", "Bob_28"], ["openstax_uid", -176330978375402917504911514988840369798], ["updated_at", "2014-09-22 21:53:35.658421"], ["username", "billy_17"]]
1151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1152
+  (0.0ms) SAVEPOINT active_record_1
1153
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -333038304114347894780047236130155846992 LIMIT 1
1154
+ Binary data inserted for `string` type on column `access_token`
1155
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5e4b2c93ddba1384fd98454b7a4b132b"], ["created_at", "2014-09-22 21:53:35.660494"], ["first_name", "Billy18"], ["last_name", "Bob_27"], ["openstax_uid", -333038304114347894780047236130155846992], ["updated_at", "2014-09-22 21:53:35.660494"], ["username", "billy_18"]]
1156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1157
+  (0.0ms) SAVEPOINT active_record_1
1158
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -206474263733591581037352191960088895908 LIMIT 1
1159
+ Binary data inserted for `string` type on column `access_token`
1160
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "40eb7f442ab932ea1429506e33ccfaa5"], ["created_at", "2014-09-22 21:53:35.662550"], ["first_name", "Billy19"], ["last_name", "Bob_26"], ["openstax_uid", -206474263733591581037352191960088895908], ["updated_at", "2014-09-22 21:53:35.662550"], ["username", "billy_19"]]
1161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1162
+  (0.0ms) SAVEPOINT active_record_1
1163
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -2491476666888582670190113380173463432 LIMIT 1
1164
+ Binary data inserted for `string` type on column `access_token`
1165
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "239314fa28fc3dd6f12c8527b8c4804a"], ["created_at", "2014-09-22 21:53:35.664596"], ["first_name", "Billy20"], ["last_name", "Bob_25"], ["openstax_uid", -2491476666888582670190113380173463432], ["updated_at", "2014-09-22 21:53:35.664596"], ["username", "billy_20"]]
1166
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1167
+  (0.0ms) SAVEPOINT active_record_1
1168
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -86630186398053082253135340552499257451 LIMIT 1
1169
+ Binary data inserted for `string` type on column `access_token`
1170
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c4ba29d3211ca1b89209c56de5585a22"], ["created_at", "2014-09-22 21:53:35.666737"], ["first_name", "Billy21"], ["last_name", "Bob_24"], ["openstax_uid", -86630186398053082253135340552499257451], ["updated_at", "2014-09-22 21:53:35.666737"], ["username", "billy_21"]]
1171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1172
+  (0.0ms) SAVEPOINT active_record_1
1173
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -285050458552720625501109638914507619373 LIMIT 1
1174
+ Binary data inserted for `string` type on column `access_token`
1175
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "bf6e18c0d7d7e944e1b039266c96125c"], ["created_at", "2014-09-22 21:53:35.668904"], ["first_name", "Billy22"], ["last_name", "Bob_23"], ["openstax_uid", -285050458552720625501109638914507619373], ["updated_at", "2014-09-22 21:53:35.668904"], ["username", "billy_22"]]
1176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1177
+  (0.0ms) SAVEPOINT active_record_1
1178
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -204455925848433692422411674511743493556 LIMIT 1
1179
+ Binary data inserted for `string` type on column `access_token`
1180
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "912da1721ee316a98f57ef42ad7793bb"], ["created_at", "2014-09-22 21:53:35.671113"], ["first_name", "Billy23"], ["last_name", "Bob_22"], ["openstax_uid", -204455925848433692422411674511743493556], ["updated_at", "2014-09-22 21:53:35.671113"], ["username", "billy_23"]]
1181
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1182
+  (0.0ms) SAVEPOINT active_record_1
1183
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -221447165659379134743107520517736336455 LIMIT 1
1184
+ Binary data inserted for `string` type on column `access_token`
1185
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "e44a55d19a31868e74c610e10cd39506"], ["created_at", "2014-09-22 21:53:35.673181"], ["first_name", "Billy24"], ["last_name", "Bob_21"], ["openstax_uid", -221447165659379134743107520517736336455], ["updated_at", "2014-09-22 21:53:35.673181"], ["username", "billy_24"]]
1186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1187
+  (0.0ms) SAVEPOINT active_record_1
1188
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -170984715817051993024201441940361012651 LIMIT 1
1189
+ Binary data inserted for `string` type on column `access_token`
1190
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f902eeb35b5313ec5148b5a1abd766c0"], ["created_at", "2014-09-22 21:53:35.675304"], ["first_name", "Billy25"], ["last_name", "Bob_20"], ["openstax_uid", -170984715817051993024201441940361012651], ["updated_at", "2014-09-22 21:53:35.675304"], ["username", "billy_25"]]
1191
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1192
+  (0.0ms) SAVEPOINT active_record_1
1193
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -119001340385943210500445422882961712312 LIMIT 1
1194
+ Binary data inserted for `string` type on column `access_token`
1195
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f3c548482dd8df592d82577b9f6983f4"], ["created_at", "2014-09-22 21:53:35.677349"], ["first_name", "Billy26"], ["last_name", "Bob_19"], ["openstax_uid", -119001340385943210500445422882961712312], ["updated_at", "2014-09-22 21:53:35.677349"], ["username", "billy_26"]]
1196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1197
+  (0.0ms) SAVEPOINT active_record_1
1198
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -100375220331672153081649933442124966735 LIMIT 1
1199
+ Binary data inserted for `string` type on column `access_token`
1200
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "ce9e24ee35433b5c295032229307556f"], ["created_at", "2014-09-22 21:53:35.679393"], ["first_name", "Billy27"], ["last_name", "Bob_18"], ["openstax_uid", -100375220331672153081649933442124966735], ["updated_at", "2014-09-22 21:53:35.679393"], ["username", "billy_27"]]
1201
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1202
+  (0.0ms) SAVEPOINT active_record_1
1203
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -30813707733007015506353693572748398142 LIMIT 1
1204
+ Binary data inserted for `string` type on column `access_token`
1205
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3905624c980a793b05513b1cd62c4234"], ["created_at", "2014-09-22 21:53:35.681541"], ["first_name", "Billy28"], ["last_name", "Bob_17"], ["openstax_uid", -30813707733007015506353693572748398142], ["updated_at", "2014-09-22 21:53:35.681541"], ["username", "billy_28"]]
1206
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1207
+  (0.0ms) SAVEPOINT active_record_1
1208
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -269265344672524896128337929276394781071 LIMIT 1
1209
+ Binary data inserted for `string` type on column `access_token`
1210
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "22c1703ae1bb5af3b7548a4da2d9aa37"], ["created_at", "2014-09-22 21:53:35.683999"], ["first_name", "Billy29"], ["last_name", "Bob_16"], ["openstax_uid", -269265344672524896128337929276394781071], ["updated_at", "2014-09-22 21:53:35.683999"], ["username", "billy_29"]]
1211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1212
+  (0.0ms) SAVEPOINT active_record_1
1213
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -334204389256120273011120183541643226799 LIMIT 1
1214
+ Binary data inserted for `string` type on column `access_token`
1215
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8e18129f130395618ab3ce831d9238d8"], ["created_at", "2014-09-22 21:53:35.686212"], ["first_name", "Billy30"], ["last_name", "Bob_15"], ["openstax_uid", -334204389256120273011120183541643226799], ["updated_at", "2014-09-22 21:53:35.686212"], ["username", "billy_30"]]
1216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1217
+  (0.0ms) SAVEPOINT active_record_1
1218
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -145788206161656232295454091538985706022 LIMIT 1
1219
+ Binary data inserted for `string` type on column `access_token`
1220
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3a4903496a386caba533501fcc0a3234"], ["created_at", "2014-09-22 21:53:35.688339"], ["first_name", "Billy31"], ["last_name", "Bob_14"], ["openstax_uid", -145788206161656232295454091538985706022], ["updated_at", "2014-09-22 21:53:35.688339"], ["username", "billy_31"]]
1221
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1222
+  (0.0ms) SAVEPOINT active_record_1
1223
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -307367698485239803107323896086883139536 LIMIT 1
1224
+ Binary data inserted for `string` type on column `access_token`
1225
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "55b355f55791c868dc234974fd4cb1c5"], ["created_at", "2014-09-22 21:53:35.690445"], ["first_name", "Billy32"], ["last_name", "Bob_13"], ["openstax_uid", -307367698485239803107323896086883139536], ["updated_at", "2014-09-22 21:53:35.690445"], ["username", "billy_32"]]
1226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1227
+  (0.0ms) SAVEPOINT active_record_1
1228
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -297913600224847465642955120954101748276 LIMIT 1
1229
+ Binary data inserted for `string` type on column `access_token`
1230
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "0eafcd82b57bb869470ce03004c1d188"], ["created_at", "2014-09-22 21:53:35.692552"], ["first_name", "Billy33"], ["last_name", "Bob_12"], ["openstax_uid", -297913600224847465642955120954101748276], ["updated_at", "2014-09-22 21:53:35.692552"], ["username", "billy_33"]]
1231
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1232
+  (0.0ms) SAVEPOINT active_record_1
1233
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -281446018843730322411433067933752263159 LIMIT 1
1234
+ Binary data inserted for `string` type on column `access_token`
1235
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "89a5067797dac3379873570a3030f55b"], ["created_at", "2014-09-22 21:53:35.694628"], ["first_name", "Billy34"], ["last_name", "Bob_11"], ["openstax_uid", -281446018843730322411433067933752263159], ["updated_at", "2014-09-22 21:53:35.694628"], ["username", "billy_34"]]
1236
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1237
+  (0.0ms) SAVEPOINT active_record_1
1238
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -326646490005991715475347041995296005889 LIMIT 1
1239
+ Binary data inserted for `string` type on column `access_token`
1240
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f3ae215c18c69b35023c68ef85813a24"], ["created_at", "2014-09-22 21:53:35.696774"], ["first_name", "Billy35"], ["last_name", "Bob_10"], ["openstax_uid", -326646490005991715475347041995296005889], ["updated_at", "2014-09-22 21:53:35.696774"], ["username", "billy_35"]]
1241
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1242
+  (0.0ms) SAVEPOINT active_record_1
1243
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -336439575677585703041935477559784893035 LIMIT 1
1244
+ Binary data inserted for `string` type on column `access_token`
1245
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "3f809b6e8f01d7c1bdcdfd9e9a147c3f"], ["created_at", "2014-09-22 21:53:35.698859"], ["first_name", "Billy36"], ["last_name", "Bob_09"], ["openstax_uid", -336439575677585703041935477559784893035], ["updated_at", "2014-09-22 21:53:35.698859"], ["username", "billy_36"]]
1246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1247
+  (0.0ms) SAVEPOINT active_record_1
1248
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -142107742308828603972121294580197848711 LIMIT 1
1249
+ Binary data inserted for `string` type on column `access_token`
1250
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "5e146600b570a702e06b2cd439aed591"], ["created_at", "2014-09-22 21:53:35.700998"], ["first_name", "Billy37"], ["last_name", "Bob_08"], ["openstax_uid", -142107742308828603972121294580197848711], ["updated_at", "2014-09-22 21:53:35.700998"], ["username", "billy_37"]]
1251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1252
+  (0.0ms) SAVEPOINT active_record_1
1253
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -157288394713765547640169120891740631735 LIMIT 1
1254
+ Binary data inserted for `string` type on column `access_token`
1255
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a835744a9e94cd5f7f8acafb535994e1"], ["created_at", "2014-09-22 21:53:35.703097"], ["first_name", "Billy38"], ["last_name", "Bob_07"], ["openstax_uid", -157288394713765547640169120891740631735], ["updated_at", "2014-09-22 21:53:35.703097"], ["username", "billy_38"]]
1256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1257
+  (0.0ms) SAVEPOINT active_record_1
1258
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -195299225959994983659811052818298633952 LIMIT 1
1259
+ Binary data inserted for `string` type on column `access_token`
1260
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "1898fde3aafa6d1b2eabd488daa537f8"], ["created_at", "2014-09-22 21:53:35.705264"], ["first_name", "Billy39"], ["last_name", "Bob_06"], ["openstax_uid", -195299225959994983659811052818298633952], ["updated_at", "2014-09-22 21:53:35.705264"], ["username", "billy_39"]]
1261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1262
+  (0.0ms) SAVEPOINT active_record_1
1263
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -79595604002528467850494283827571945986 LIMIT 1
1264
+ Binary data inserted for `string` type on column `access_token`
1265
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "2bac1d9a11f63613ac2550da93b7f0e7"], ["created_at", "2014-09-22 21:53:35.707340"], ["first_name", "Billy40"], ["last_name", "Bob_05"], ["openstax_uid", -79595604002528467850494283827571945986], ["updated_at", "2014-09-22 21:53:35.707340"], ["username", "billy_40"]]
1266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1267
+  (0.0ms) SAVEPOINT active_record_1
1268
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -8417600661362968400769362880396633602 LIMIT 1
1269
+ Binary data inserted for `string` type on column `access_token`
1270
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "dacdee75d2a1a202b947d05516fb7ff7"], ["created_at", "2014-09-22 21:53:35.709423"], ["first_name", "Billy41"], ["last_name", "Bob_04"], ["openstax_uid", -8417600661362968400769362880396633602], ["updated_at", "2014-09-22 21:53:35.709423"], ["username", "billy_41"]]
1271
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1272
+  (0.0ms) SAVEPOINT active_record_1
1273
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -32898954795397397058076633611984220378 LIMIT 1
1274
+ Binary data inserted for `string` type on column `access_token`
1275
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "4fb7d44aa553ad13f705d4c6110a8f02"], ["created_at", "2014-09-22 21:53:35.711535"], ["first_name", "Billy42"], ["last_name", "Bob_03"], ["openstax_uid", -32898954795397397058076633611984220378], ["updated_at", "2014-09-22 21:53:35.711535"], ["username", "billy_42"]]
1276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1277
+  (0.0ms) SAVEPOINT active_record_1
1278
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -327695255368065470876779964877855316664 LIMIT 1
1279
+ Binary data inserted for `string` type on column `access_token`
1280
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "7025a220b41f3af9df2fd4160892c7ab"], ["created_at", "2014-09-22 21:53:35.713622"], ["first_name", "Billy43"], ["last_name", "Bob_02"], ["openstax_uid", -327695255368065470876779964877855316664], ["updated_at", "2014-09-22 21:53:35.713622"], ["username", "billy_43"]]
1281
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1282
+  (0.0ms) SAVEPOINT active_record_1
1283
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -214532819225560054059684183717323315447 LIMIT 1
1284
+ Binary data inserted for `string` type on column `access_token`
1285
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "d333931436adfd3742f736fa39a2efc6"], ["created_at", "2014-09-22 21:53:35.715701"], ["first_name", "Billy44"], ["last_name", "Bob_01"], ["openstax_uid", -214532819225560054059684183717323315447], ["updated_at", "2014-09-22 21:53:35.715701"], ["username", "billy_44"]]
1286
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1287
+  (0.0ms) SAVEPOINT active_record_1
1288
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -34908599139317530264231725012030043574 LIMIT 1
1289
+ Binary data inserted for `string` type on column `access_token`
1290
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "9edddf2bad62d971a4134f244deb224e"], ["created_at", "2014-09-22 21:53:35.749807"], ["first_name", "Billy45"], ["last_name", "Bob_00"], ["openstax_uid", -34908599139317530264231725012030043574], ["updated_at", "2014-09-22 21:53:35.749807"], ["username", "billy_45"]]
1291
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1292
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%'))
1293
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'billy%')) ORDER BY username ASC LIMIT 20 OFFSET 20
1294
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_20' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1295
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."username" = 'billy_39' ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1296
+  (1.8ms) rollback transaction
1297
+  (0.0ms) begin transaction
1298
+  (0.0ms) SAVEPOINT active_record_1
1299
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -197348961542828620362317761112566411211 LIMIT 1
1300
+ Binary data inserted for `string` type on column `access_token`
1301
+ SQL (0.2ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "b7eed240876fe45318e5757dd9789ec7"], ["created_at", "2014-09-22 21:53:35.759790"], ["first_name", "John"], ["last_name", "Stravinsky"], ["openstax_uid", -197348961542828620362317761112566411211], ["updated_at", "2014-09-22 21:53:35.759790"], ["username", "jstrav"]]
1302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1303
+  (0.0ms) SAVEPOINT active_record_1
1304
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -56655011552599055668760684078225202291 LIMIT 1
1305
+ Binary data inserted for `string` type on column `access_token`
1306
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "710e538b79d430e42a68efc6b9551bc8"], ["created_at", "2014-09-22 21:53:35.762237"], ["first_name", "Mary"], ["full_name", "Mary Mighty"], ["last_name", "Mighty"], ["openstax_uid", -56655011552599055668760684078225202291], ["updated_at", "2014-09-22 21:53:35.762237"], ["username", "mary"]]
1307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1308
+  (0.0ms) SAVEPOINT active_record_1
1309
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -147102840255547006988414765397090600035 LIMIT 1
1310
+ Binary data inserted for `string` type on column `access_token`
1311
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "c0541c3ca95d65783c09d267045e96fe"], ["created_at", "2014-09-22 21:53:35.764594"], ["first_name", "John"], ["last_name", "Stead"], ["openstax_uid", -147102840255547006988414765397090600035], ["updated_at", "2014-09-22 21:53:35.764594"], ["username", "jstead"]]
1312
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1313
+  (0.0ms) SAVEPOINT active_record_1
1314
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -83551898484862537119169699296668210302 LIMIT 1
1315
+ Binary data inserted for `string` type on column `access_token`
1316
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "8f4c6cca286bc43401fb0abeae48192a"], ["created_at", "2014-09-22 21:53:35.767400"], ["first_name", "Bob"], ["last_name", "JST"], ["openstax_uid", -83551898484862537119169699296668210302], ["updated_at", "2014-09-22 21:53:35.767400"], ["username", "bigbear"]]
1317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1318
+  (0.0ms) SAVEPOINT active_record_1
1319
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -312651888454452602941834758843171449921 LIMIT 1
1320
+ Binary data inserted for `string` type on column `access_token`
1321
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "f20bae99861398c59a2eedbcf49a973d"], ["created_at", "2014-09-22 21:53:35.769797"], ["first_name", "Bob"], ["last_name", "Brown"], ["openstax_uid", -312651888454452602941834758843171449921], ["updated_at", "2014-09-22 21:53:35.769797"], ["username", "foo_bb"]]
1322
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1323
+  (0.0ms) SAVEPOINT active_record_1
1324
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -172213607996916851367902844248717443280 LIMIT 1
1325
+ Binary data inserted for `string` type on column `access_token`
1326
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "a0d4156d2169331d454a9a3c79685f2c"], ["created_at", "2014-09-22 21:53:35.772015"], ["first_name", "Bob"], ["last_name", "Jones"], ["openstax_uid", -172213607996916851367902844248717443280], ["updated_at", "2014-09-22 21:53:35.772015"], ["username", "foo_bj"]]
1327
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1328
+  (0.0ms) SAVEPOINT active_record_1
1329
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -325883742177797776077681675456639253927 LIMIT 1
1330
+ Binary data inserted for `string` type on column `access_token`
1331
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "last_name", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?) [["access_token", "6eed1e32d603dffd8aab91dc1fde8a42"], ["created_at", "2014-09-22 21:53:35.774281"], ["first_name", "Tim"], ["last_name", "Jones"], ["openstax_uid", -325883742177797776077681675456639253927], ["updated_at", "2014-09-22 21:53:35.774281"], ["username", "foo_tj"]]
1332
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1333
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'foo%'))
1334
+ OpenStax::Accounts::Account Load (0.2ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'foo%')) ORDER BY first_name ASC, last_name DESC LIMIT 20 OFFSET 0
1335
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'foo%'))
1336
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE (("openstax_accounts_accounts"."username" LIKE 'foo%')) ORDER BY first_name ASC, last_name ASC LIMIT 20 OFFSET 0
1337
+  (0.6ms) rollback transaction
1338
+  (0.0ms) begin transaction
1339
+  (0.0ms) SAVEPOINT active_record_1
1340
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
1341
+ Binary data inserted for `string` type on column `access_token`
1342
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "580158866052ef47ba13e3d932b51e9a"], ["created_at", "2014-09-22 21:53:35.783357"], ["openstax_uid", 10], ["updated_at", "2014-09-22 21:53:35.783357"], ["username", "some_user"]]
1343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1344
+ Processing by OpenStax::Accounts::Dev::AccountsController#become as HTML
1345
+ Parameters: {"id"=>"1"}
1346
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."id" = ? LIMIT 1 [["id", 1]]
1347
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
1348
+ Redirected to http://test.host/accounts/
1349
+ Completed 302 Found in 208ms (ActiveRecord: 0.2ms)
1350
+  (1.5ms) rollback transaction
1351
+  (0.0ms) begin transaction
1352
+  (0.0ms) rollback transaction
1353
+  (0.0ms) begin transaction
1354
+  (0.1ms) SAVEPOINT active_record_1
1355
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1
1356
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.016467"], ["openstax_uid", 2], ["updated_at", "2014-09-22 21:53:36.016467"], ["username", "u"]]
1357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1358
+  (0.0ms) SELECT COUNT(*) FROM "openstax_accounts_accounts"
1359
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1360
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1361
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1362
+ Processing by OauthController#token as */*
1363
+ Parameters: {"grant_type"=>"client_credentials"}
1364
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1365
+ Started GET "/api/application_users/updates" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1366
+ Processing by Api::ApplicationUsersController#updates as application/vnd.accounts.openstax.v1
1367
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1368
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1369
+  (0.0ms) SAVEPOINT active_record_1
1370
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE ("openstax_accounts_accounts"."openstax_uid" = 2 AND "openstax_accounts_accounts"."id" != 1) LIMIT 1
1371
+ SQL (0.4ms) UPDATE "openstax_accounts_accounts" SET "updated_at" = ?, "username" = ? WHERE "openstax_accounts_accounts"."id" = 1 [["updated_at", "2014-09-22 21:53:36.090257"], ["username", "user"]]
1372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1373
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1374
+  (0.0ms) SAVEPOINT active_record_1
1375
+ OpenStax::Accounts::Account Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 LIMIT 1
1376
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.092879"], ["openstax_uid", 4], ["updated_at", "2014-09-22 21:53:36.092879"], ["username", "fuego"]]
1377
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1378
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1379
+ Processing by OauthController#token as */*
1380
+ Parameters: {"grant_type"=>"client_credentials"}
1381
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1382
+ Started PUT "/api/application_users/updated" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1383
+ Processing by Api::ApplicationUsersController#updated as application/vnd.accounts.openstax.v1
1384
+ Parameters: {"{\"user_id\":2,\"read_updates\":1},{\"user_id\":4,\"read_updates\":2}"=>nil}
1385
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1386
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts"
1387
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1388
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1389
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1
1390
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1
1391
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1392
+ Processing by OauthController#token as */*
1393
+ Parameters: {"grant_type"=>"client_credentials"}
1394
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1395
+ Started GET "/api/application_users/updates" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1396
+ Processing by Api::ApplicationUsersController#updates as application/vnd.accounts.openstax.v1
1397
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1398
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1399
+  (0.0ms) SAVEPOINT active_record_1
1400
+ OpenStax::Accounts::Account Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE ("openstax_accounts_accounts"."openstax_uid" = 2 AND "openstax_accounts_accounts"."id" != 1) LIMIT 1
1401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1402
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 4 ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1403
+  (0.0ms) SAVEPOINT active_record_1
1404
+ OpenStax::Accounts::Account Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE ("openstax_accounts_accounts"."openstax_uid" = 4 AND "openstax_accounts_accounts"."id" != 2) LIMIT 1
1405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1406
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1407
+ Processing by OauthController#token as */*
1408
+ Parameters: {"grant_type"=>"client_credentials"}
1409
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1410
+ Started PUT "/api/application_users/updated" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1411
+ Processing by Api::ApplicationUsersController#updated as application/vnd.accounts.openstax.v1
1412
+ Parameters: {"{\"user_id\":2,\"read_updates\":1},{\"user_id\":4,\"read_updates\":2}"=>nil}
1413
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1414
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_accounts"
1415
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1416
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1417
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1
1418
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1
1419
+  (0.5ms) rollback transaction
1420
+  (0.3ms) begin transaction
1421
+  (0.0ms) SAVEPOINT active_record_1
1422
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
1423
+ SQL (0.5ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "secret"], ["created_at", "2014-09-22 21:53:36.136556"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2014-09-22 21:53:36.136556"], ["username", "some_user"]]
1424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1425
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1426
+ Processing by OauthController#token as */*
1427
+ Parameters: {"grant_type"=>"client_credentials"}
1428
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1429
+ Started POST "/api/dummy?test=true" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1430
+ Processing by Api::DummyController#dummy as */*
1431
+ Parameters: {"test"=>"true"}
1432
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1433
+  (0.9ms) rollback transaction
1434
+  (0.0ms) begin transaction
1435
+  (0.0ms) SAVEPOINT active_record_1
1436
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -232981304027198637500280494572779751952 LIMIT 1
1437
+ Binary data inserted for `string` type on column `access_token`
1438
+ Binary data inserted for `string` type on column `username`
1439
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "fdcaf70a9144e2f2b1f831f8e8258aaa"], ["created_at", "2014-09-22 21:53:36.181629"], ["openstax_uid", -232981304027198637500280494572779751952], ["updated_at", "2014-09-22 21:53:36.181629"], ["username", "1afc99d9924df988613c87108863ddf7"]]
1440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1441
+  (0.1ms) SAVEPOINT active_record_1
1442
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -184076196662811190905460592567976269654 LIMIT 1
1443
+ SQL (0.4ms) 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", "2014-09-22 21:53:36.190749"], ["name", "MyGroup"], ["openstax_uid", -184076196662811190905460592567976269654], ["updated_at", "2014-09-22 21:53:36.190749"]]
1444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1445
+  (0.0ms) SAVEPOINT active_record_1
1446
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = -184076196662811190905460592567976269654 AND "openstax_accounts_groups"."id" != 1) LIMIT 1
1447
+ SQL (0.1ms) UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 1 [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2014-09-22 21:53:36.192920"]]
1448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1449
+ Started DELETE "/api/groups/-184076196662811190905460592567976269654" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1450
+ Processing by Api::GroupsController#destroy as application/vnd.accounts.openstax.v1
1451
+ Parameters: {"id"=>"-184076196662811190905460592567976269654"}
1452
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1453
+  (0.5ms) rollback transaction
1454
+  (0.0ms) begin transaction
1455
+  (0.0ms) SAVEPOINT active_record_1
1456
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -69654343071418430707948773351028140160 LIMIT 1
1457
+ Binary data inserted for `string` type on column `access_token`
1458
+ Binary data inserted for `string` type on column `username`
1459
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "ca75abc0a3f9bb13cf7789ea740f198e"], ["created_at", "2014-09-22 21:53:36.207582"], ["openstax_uid", -69654343071418430707948773351028140160], ["updated_at", "2014-09-22 21:53:36.207582"], ["username", "6fcfa0146864c6b37508136e0000150a"]]
1460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1461
+  (0.0ms) SAVEPOINT active_record_1
1462
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -48242483072329404290736408973965120840 LIMIT 1
1463
+ SQL (0.4ms) 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", "2014-09-22 21:53:36.210405"], ["name", "MyGroup"], ["openstax_uid", -48242483072329404290736408973965120840], ["updated_at", "2014-09-22 21:53:36.210405"]]
1464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1465
+ Started POST "/api/groups" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1466
+ Processing by Api::GroupsController#create as application/vnd.accounts.openstax.v1
1467
+ Parameters: {"{\"name\":\"MyGroup\",\"is_public\":false}"=>nil}
1468
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1469
+  (0.5ms) rollback transaction
1470
+  (0.0ms) begin transaction
1471
+  (0.0ms) SAVEPOINT active_record_1
1472
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -16353834178827633592246909012083972942 LIMIT 1
1473
+ Binary data inserted for `string` type on column `access_token`
1474
+ Binary data inserted for `string` type on column `username`
1475
+ SQL (0.5ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "ba01d79cfd0a68d9fbbb7e84e13a15d0"], ["created_at", "2014-09-22 21:53:36.219797"], ["openstax_uid", -16353834178827633592246909012083972942], ["updated_at", "2014-09-22 21:53:36.219797"], ["username", "39640500296445328e6545f0fdb679ac"]]
1476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1477
+  (0.0ms) SAVEPOINT active_record_1
1478
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -311081425197562027857313940329959521830 LIMIT 1
1479
+ SQL (0.3ms) 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", "2014-09-22 21:53:36.222646"], ["name", "MyGroup"], ["openstax_uid", -311081425197562027857313940329959521830], ["updated_at", "2014-09-22 21:53:36.222646"]]
1480
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1481
+  (0.0ms) SAVEPOINT active_record_1
1482
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = -311081425197562027857313940329959521830 AND "openstax_accounts_groups"."id" != 1) LIMIT 1
1483
+ SQL (0.0ms) UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 1 [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2014-09-22 21:53:36.224700"]]
1484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1485
+ Started PUT "/api/groups/-311081425197562027857313940329959521830" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1486
+ Processing by Api::GroupsController#update as application/vnd.accounts.openstax.v1
1487
+ Parameters: {"{\"name\":\"MyGroup\",\"is_public\":false}"=>nil, "id"=>"-311081425197562027857313940329959521830"}
1488
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1489
+  (0.5ms) rollback transaction
1490
+  (0.0ms) begin transaction
1491
+  (0.0ms) SAVEPOINT active_record_1
1492
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
1493
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "secret"], ["created_at", "2014-09-22 21:53:36.233748"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2014-09-22 21:53:36.233748"], ["username", "some_user"]]
1494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1495
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1496
+ Processing by OauthController#token as */*
1497
+ Parameters: {"grant_type"=>"client_credentials"}
1498
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1499
+ Started PUT "/api/application_users/updated" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1500
+ Processing by Api::ApplicationUsersController#updated as application/vnd.accounts.openstax.v1
1501
+ Parameters: {"{\"id\":1,\"read_updates\":1}"=>nil}
1502
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1503
+  (0.4ms) rollback transaction
1504
+  (0.0ms) begin transaction
1505
+  (0.0ms) SAVEPOINT active_record_1
1506
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
1507
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "secret"], ["created_at", "2014-09-22 21:53:36.248296"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2014-09-22 21:53:36.248296"], ["username", "some_user"]]
1508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1509
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1510
+ Processing by OauthController#token as */*
1511
+ Parameters: {"grant_type"=>"client_credentials"}
1512
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1513
+ Started GET "/api/application_users?q=something" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1514
+ Processing by Api::ApplicationUsersController#index as application/vnd.accounts.openstax.v1
1515
+ Parameters: {"q"=>"something"}
1516
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1517
+  (0.4ms) rollback transaction
1518
+  (0.0ms) begin transaction
1519
+  (0.0ms) SAVEPOINT active_record_1
1520
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
1521
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "secret"], ["created_at", "2014-09-22 21:53:36.262780"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2014-09-22 21:53:36.262780"], ["username", "some_user"]]
1522
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1523
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1524
+ Processing by OauthController#token as */*
1525
+ Parameters: {"grant_type"=>"client_credentials"}
1526
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1527
+ Started GET "/api/application_users/updates" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1528
+ Processing by Api::ApplicationUsersController#updates as application/vnd.accounts.openstax.v1
1529
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1530
+  (0.4ms) rollback transaction
1531
+  (0.0ms) begin transaction
1532
+  (0.0ms) SAVEPOINT active_record_1
1533
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -331195364724145379962075682887804155768 LIMIT 1
1534
+ Binary data inserted for `string` type on column `access_token`
1535
+ Binary data inserted for `string` type on column `username`
1536
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "f50ee53c03f0ce2f3ed86e9367f76cf7"], ["created_at", "2014-09-22 21:53:36.276615"], ["openstax_uid", -331195364724145379962075682887804155768], ["updated_at", "2014-09-22 21:53:36.276615"], ["username", "e0e467abbda480b54173d6965bbde83c"]]
1537
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1538
+  (0.0ms) SAVEPOINT active_record_1
1539
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -38244037652461309636939520830292543852 LIMIT 1
1540
+ SQL (0.3ms) 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", "2014-09-22 21:53:36.280496"], ["name", "MyGroup"], ["openstax_uid", -38244037652461309636939520830292543852], ["updated_at", "2014-09-22 21:53:36.280496"]]
1541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1542
+  (0.0ms) SAVEPOINT active_record_1
1543
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -176897589010292688885556890045995689460 LIMIT 1
1544
+ SQL (0.1ms) 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", "2014-09-22 21:53:36.283963"], ["name", "MyGroup"], ["openstax_uid", -176897589010292688885556890045995689460], ["updated_at", "2014-09-22 21:53:36.283963"]]
1545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1546
+ Started POST "/api/groups/-38244037652461309636939520830292543852/nestings/-176897589010292688885556890045995689460" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1547
+ Processing by Api::GroupNestingsController#create as application/vnd.accounts.openstax.v1
1548
+ Parameters: {"group_id"=>"-38244037652461309636939520830292543852", "member_group_id"=>"-176897589010292688885556890045995689460"}
1549
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1550
+  (0.5ms) rollback transaction
1551
+  (0.0ms) begin transaction
1552
+  (0.0ms) SAVEPOINT active_record_1
1553
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -266511757226460066683838269365371361500 LIMIT 1
1554
+ Binary data inserted for `string` type on column `access_token`
1555
+ Binary data inserted for `string` type on column `username`
1556
+ SQL (0.5ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "2dedde48cb0950bda228c2e3e23cef3f"], ["created_at", "2014-09-22 21:53:36.303326"], ["openstax_uid", -266511757226460066683838269365371361500], ["updated_at", "2014-09-22 21:53:36.303326"], ["username", "a9cf65018c10c704cac12c5dd67511dc"]]
1557
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1558
+  (0.0ms) SAVEPOINT active_record_1
1559
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -199178904172445360451875390497410018361 LIMIT 1
1560
+ SQL (0.4ms) 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", "2014-09-22 21:53:36.306917"], ["name", "MyGroup"], ["openstax_uid", -199178904172445360451875390497410018361], ["updated_at", "2014-09-22 21:53:36.306917"]]
1561
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1562
+  (0.0ms) SAVEPOINT active_record_1
1563
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -207728943305950745716051693142104609944 LIMIT 1
1564
+ SQL (0.1ms) 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", "2014-09-22 21:53:36.309781"], ["name", "MyGroup"], ["openstax_uid", -207728943305950745716051693142104609944], ["updated_at", "2014-09-22 21:53:36.309781"]]
1565
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1566
+  (0.0ms) SAVEPOINT active_record_1
1567
+ OpenStax::Accounts::GroupNesting Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = -207728943305950745716051693142104609944 LIMIT 1
1568
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1 [["id", 2]]
1569
+ SQL (0.1ms) 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" = -207728943305950751031402775440336617472
1570
+ SQL (0.1ms) UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = '---
1571
+ - 2
1572
+ ' WHERE "openstax_accounts_groups"."id" = 2
1573
+ OpenStax::Accounts::Group Load (0.0ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1 [["id", 1]]
1574
+ SQL (0.1ms) 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" = -199178904172445364316732095876294508544 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
1575
+ SQL (0.1ms) UPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = '---
1576
+ - 1
1577
+ ' WHERE "openstax_accounts_groups"."id" = 1
1578
+ SQL (0.2ms) UPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = NULL WHERE "openstax_accounts_groups"."id" IN (2)
1579
+ SQL (0.1ms) UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = NULL WHERE "openstax_accounts_groups"."id" IN (1)
1580
+ SQL (0.2ms) INSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?) [["container_group_id", -199178904172445360451875390497410018361], ["created_at", "2014-09-22 21:53:36.311900"], ["member_group_id", -207728943305950745716051693142104609944], ["updated_at", "2014-09-22 21:53:36.311900"]]
1581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1582
+ Started DELETE "/api/groups/-199178904172445360451875390497410018361/nestings/-207728943305950745716051693142104609944" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1583
+ Processing by Api::GroupNestingsController#destroy as application/vnd.accounts.openstax.v1
1584
+ Parameters: {"group_id"=>"-199178904172445360451875390497410018361", "member_group_id"=>"-207728943305950745716051693142104609944"}
1585
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1586
+  (0.6ms) rollback transaction
1587
+  (0.0ms) begin transaction
1588
+  (0.0ms) SAVEPOINT active_record_1
1589
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -320270694032414558127024414228667276497 LIMIT 1
1590
+ Binary data inserted for `string` type on column `access_token`
1591
+ Binary data inserted for `string` type on column `username`
1592
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "c8445eb86a9777b10a10f1eeeac3e579"], ["created_at", "2014-09-22 21:53:36.362093"], ["openstax_uid", -320270694032414558127024414228667276497], ["updated_at", "2014-09-22 21:53:36.362093"], ["username", "7af14e9c23a3e79803720c7a09b8db1a"]]
1593
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1594
+  (0.0ms) SAVEPOINT active_record_1
1595
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -58141813536577856098327621839107966765 LIMIT 1
1596
+ SQL (0.3ms) 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", "2014-09-22 21:53:36.365569"], ["name", "MyGroup"], ["openstax_uid", -58141813536577856098327621839107966765], ["updated_at", "2014-09-22 21:53:36.365569"]]
1597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1598
+  (0.0ms) SAVEPOINT active_record_1
1599
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -193854076009457515368601083463912530306 LIMIT 1
1600
+ Binary data inserted for `string` type on column `access_token`
1601
+ Binary data inserted for `string` type on column `username`
1602
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "d0f7e93f1bde30c417f79b0505d9b1ab"], ["created_at", "2014-09-22 21:53:36.369378"], ["openstax_uid", -193854076009457515368601083463912530306], ["updated_at", "2014-09-22 21:53:36.369378"], ["username", "28a73241c5ca5627f5011eb1631484e8"]]
1603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1604
+ Started POST "/api/groups/-58141813536577856098327621839107966765/owners/-193854076009457515368601083463912530306" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1605
+ Processing by Api::GroupOwnersController#create as application/vnd.accounts.openstax.v1
1606
+ Parameters: {"group_id"=>"-58141813536577856098327621839107966765", "user_id"=>"-193854076009457515368601083463912530306"}
1607
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1608
+  (0.5ms) rollback transaction
1609
+  (0.0ms) begin transaction
1610
+  (0.0ms) SAVEPOINT active_record_1
1611
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -145253851141265421068224975058673264162 LIMIT 1
1612
+ Binary data inserted for `string` type on column `access_token`
1613
+ Binary data inserted for `string` type on column `username`
1614
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "87b6d00b311c99e78307e3feca1da4ab"], ["created_at", "2014-09-22 21:53:36.385731"], ["openstax_uid", -145253851141265421068224975058673264162], ["updated_at", "2014-09-22 21:53:36.385731"], ["username", "328d3c1009127cab88bc84af6fe245ac"]]
1615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1616
+  (0.0ms) SAVEPOINT active_record_1
1617
+ OpenStax::Accounts::Group Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -48687315301036411545803458927919634770 LIMIT 1
1618
+ SQL (0.4ms) 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", "2014-09-22 21:53:36.388191"], ["name", "MyGroup"], ["openstax_uid", -48687315301036411545803458927919634770], ["updated_at", "2014-09-22 21:53:36.388191"]]
1619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1620
+  (0.0ms) SAVEPOINT active_record_1
1621
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -105695592915575064907751640365744346761 LIMIT 1
1622
+ Binary data inserted for `string` type on column `access_token`
1623
+ Binary data inserted for `string` type on column `username`
1624
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "1745079b40837bd35cf5897c80756079"], ["created_at", "2014-09-22 21:53:36.390560"], ["openstax_uid", -105695592915575064907751640365744346761], ["updated_at", "2014-09-22 21:53:36.390560"], ["username", "1161f20d29ed3c644fdb60c9721224ef"]]
1625
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1626
+  (0.0ms) SAVEPOINT active_record_1
1627
+ OpenStax::Accounts::GroupOwner Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = -105695592915575064907751640365744346761 AND "openstax_accounts_group_owners"."group_id" = -48687315301036411545803458927919634770) LIMIT 1
1628
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.392647"], ["group_id", -48687315301036411545803458927919634770], ["updated_at", "2014-09-22 21:53:36.392647"], ["user_id", -105695592915575064907751640365744346761]]
1629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1630
+ Started DELETE "/api/groups/-48687315301036411545803458927919634770/owners/-105695592915575064907751640365744346761" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1631
+ Processing by Api::GroupOwnersController#destroy as application/vnd.accounts.openstax.v1
1632
+ Parameters: {"group_id"=>"-48687315301036411545803458927919634770", "user_id"=>"-105695592915575064907751640365744346761"}
1633
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1634
+  (0.5ms) rollback transaction
1635
+  (0.0ms) begin transaction
1636
+  (0.0ms) SAVEPOINT active_record_1
1637
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -110209951778924650826452723575161730581 LIMIT 1
1638
+ Binary data inserted for `string` type on column `access_token`
1639
+ Binary data inserted for `string` type on column `username`
1640
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "b0dd9bc5776fbc0f4bf9d12b22253d59"], ["created_at", "2014-09-22 21:53:36.402427"], ["openstax_uid", -110209951778924650826452723575161730581], ["updated_at", "2014-09-22 21:53:36.402427"], ["username", "7d75ef5b227548e90a15d8cfb87d1852"]]
1641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1642
+  (0.0ms) SAVEPOINT active_record_1
1643
+ OpenStax::Accounts::Group Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -61710806333591719968538731804258772417 LIMIT 1
1644
+ SQL (0.3ms) 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", "2014-09-22 21:53:36.405783"], ["name", "MyGroup"], ["openstax_uid", -61710806333591719968538731804258772417], ["updated_at", "2014-09-22 21:53:36.405783"]]
1645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1646
+  (0.0ms) SAVEPOINT active_record_1
1647
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -162846412020968107718439772636152371052 LIMIT 1
1648
+ Binary data inserted for `string` type on column `access_token`
1649
+ Binary data inserted for `string` type on column `username`
1650
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "18830c6740c695f731ce7bcb157d5733"], ["created_at", "2014-09-22 21:53:36.409124"], ["openstax_uid", -162846412020968107718439772636152371052], ["updated_at", "2014-09-22 21:53:36.409124"], ["username", "c7245e1a190cabccf4ff004b467561f7"]]
1651
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1652
+ Started POST "/api/groups/-61710806333591719968538731804258772417/members/-162846412020968107718439772636152371052" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1653
+ Processing by Api::GroupMembersController#create as application/vnd.accounts.openstax.v1
1654
+ Parameters: {"group_id"=>"-61710806333591719968538731804258772417", "user_id"=>"-162846412020968107718439772636152371052"}
1655
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1656
+  (0.5ms) rollback transaction
1657
+  (0.0ms) begin transaction
1658
+  (0.0ms) SAVEPOINT active_record_1
1659
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -61968050658575604097963531340341084578 LIMIT 1
1660
+ Binary data inserted for `string` type on column `access_token`
1661
+ Binary data inserted for `string` type on column `username`
1662
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "55f4bfa1b9f861824af69bb254147e6e"], ["created_at", "2014-09-22 21:53:36.425795"], ["openstax_uid", -61968050658575604097963531340341084578], ["updated_at", "2014-09-22 21:53:36.425795"], ["username", "bd6da192295dba4939e19dd94d17e1d6"]]
1663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1664
+  (0.0ms) SAVEPOINT active_record_1
1665
+ OpenStax::Accounts::Group Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -160211666338855508508539785162640158242 LIMIT 1
1666
+ SQL (0.3ms) 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", "2014-09-22 21:53:36.428203"], ["name", "MyGroup"], ["openstax_uid", -160211666338855508508539785162640158242], ["updated_at", "2014-09-22 21:53:36.428203"]]
1667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1668
+  (0.0ms) SAVEPOINT active_record_1
1669
+ OpenStax::Accounts::Account Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -114515874248923686827239772397610010053 LIMIT 1
1670
+ Binary data inserted for `string` type on column `access_token`
1671
+ Binary data inserted for `string` type on column `username`
1672
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "ebd6d41612760bb97878d86d7b094d54"], ["created_at", "2014-09-22 21:53:36.430230"], ["openstax_uid", -114515874248923686827239772397610010053], ["updated_at", "2014-09-22 21:53:36.430230"], ["username", "7aeaa8235be868344e24e9410eaa4c64"]]
1673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1674
+  (0.0ms) SAVEPOINT active_record_1
1675
+ OpenStax::Accounts::GroupMember Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = -114515874248923686827239772397610010053 AND "openstax_accounts_group_members"."group_id" = -160211666338855508508539785162640158242) LIMIT 1
1676
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.432286"], ["group_id", -160211666338855508508539785162640158242], ["updated_at", "2014-09-22 21:53:36.432286"], ["user_id", -114515874248923686827239772397610010053]]
1677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1678
+ Started DELETE "/api/groups/-160211666338855508508539785162640158242/members/-114515874248923686827239772397610010053" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1679
+ Processing by Api::GroupMembersController#destroy as application/vnd.accounts.openstax.v1
1680
+ Parameters: {"group_id"=>"-160211666338855508508539785162640158242", "user_id"=>"-114515874248923686827239772397610010053"}
1681
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1682
+  (0.6ms) rollback transaction
1683
+  (0.0ms) begin transaction
1684
+  (0.0ms) SAVEPOINT active_record_1
1685
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -170832554162214960726128523023355396863 LIMIT 1
1686
+ Binary data inserted for `string` type on column `access_token`
1687
+ Binary data inserted for `string` type on column `username`
1688
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "c8dfc0a9d774cad63c54282a2364fce1"], ["created_at", "2014-09-22 21:53:36.442119"], ["openstax_uid", -170832554162214960726128523023355396863], ["updated_at", "2014-09-22 21:53:36.442119"], ["username", "69c0d3fe5ff30a08a05ce7ccdee64723"]]
1689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1690
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1691
+ Processing by OauthController#token as */*
1692
+ Parameters: {"grant_type"=>"client_credentials"}
1693
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1694
+ Started GET "/api/users?q=something" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1695
+ Processing by Api::UsersController#index as application/vnd.accounts.openstax.v1
1696
+ Parameters: {"q"=>"something"}
1697
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1698
+  (0.4ms) rollback transaction
1699
+  (0.0ms) begin transaction
1700
+  (0.0ms) SAVEPOINT active_record_1
1701
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = -187864386029997587903160810646855659923 LIMIT 1
1702
+ Binary data inserted for `string` type on column `access_token`
1703
+ Binary data inserted for `string` type on column `username`
1704
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "18b8e551a356fa365e8c9c30a821eb5a"], ["created_at", "2014-09-22 21:53:36.459865"], ["openstax_uid", -187864386029997587903160810646855659923], ["updated_at", "2014-09-22 21:53:36.459865"], ["username", "907dc1a78b673864f76a296ab80c9dc1"]]
1705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1706
+ Started PUT "/api/user" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1707
+ Processing by Api::UsersController#update as application/vnd.accounts.openstax.v1
1708
+ Parameters: {"{\"username\":\"907dc1a78b673864f76a296ab80c9dc1\",\"first_name\":null,\"last_name\":null,\"full_name\":null,\"title\":null}"=>nil}
1709
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1710
+  (0.4ms) rollback transaction
1711
+  (0.1ms) begin transaction
1712
+  (0.1ms) SAVEPOINT active_record_1
1713
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
1714
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "secret"], ["created_at", "2014-09-22 21:53:36.469434"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2014-09-22 21:53:36.469434"], ["username", "some_user"]]
1715
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1716
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1717
+ Processing by OauthController#token as */*
1718
+ Parameters: {"grant_type"=>"client_credentials"}
1719
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1720
+ Started GET "/api/application_groups/updates" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1721
+ Processing by Api::ApplicationGroupsController#updates as application/vnd.accounts.openstax.v1
1722
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1723
+  (0.4ms) rollback transaction
1724
+  (0.0ms) begin transaction
1725
+  (0.0ms) SAVEPOINT active_record_1
1726
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
1727
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "first_name", "full_name", "last_name", "openstax_uid", "title", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "secret"], ["created_at", "2014-09-22 21:53:36.489148"], ["first_name", "Some"], ["full_name", "SomeUser"], ["last_name", "User"], ["openstax_uid", 1], ["title", "Sir"], ["updated_at", "2014-09-22 21:53:36.489148"], ["username", "some_user"]]
1728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1729
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1730
+ Processing by OauthController#token as */*
1731
+ Parameters: {"grant_type"=>"client_credentials"}
1732
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1733
+ Started PUT "/api/application_groups/updated" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1734
+ Processing by Api::ApplicationGroupsController#updated as application/vnd.accounts.openstax.v1
1735
+ Parameters: {"{\"id\":1,\"read_updates\":1}"=>nil}
1736
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1737
+  (0.4ms) rollback transaction
1738
+  (0.0ms) begin transaction
1739
+  (0.0ms) SAVEPOINT active_record_1
1740
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
1741
+ Binary data inserted for `string` type on column `access_token`
1742
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "95b0e00ecdb9f4d8f1e4ccb51b6fcbce"], ["created_at", "2014-09-22 21:53:36.503249"], ["openstax_uid", 10], ["updated_at", "2014-09-22 21:53:36.503249"], ["username", "some_user"]]
1743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1744
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."account_id" = 1 ORDER BY "users"."id" ASC LIMIT 1
1745
+ Processing by OpenStax::Accounts::SessionsController#destroy as HTML
1746
+ Redirected to http://test.host/accounts/
1747
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1748
+  (0.6ms) rollback transaction
1749
+  (0.0ms) begin transaction
1750
+  (0.0ms) SAVEPOINT active_record_1
1751
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
1752
+ Binary data inserted for `string` type on column `access_token`
1753
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "69f4fca4706de4c9f7396b4af3013c51"], ["created_at", "2014-09-22 21:53:36.542254"], ["openstax_uid", 10], ["updated_at", "2014-09-22 21:53:36.542254"], ["username", "some_user"]]
1754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1755
+ Processing by OpenStax::Accounts::SessionsController#new as HTML
1756
+ Redirected to http://test.host/accounts/dev/accounts/index?r=UWU0eTZwcEZYdzFQWHdXQ0hSbmFSZz09LS1GbmR4NUpkdjVoenpadGkzU2hSeWNRPT0%3D--829e56cda6e1503b81a298381c1fafef83822297
1757
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1758
+  (0.4ms) rollback transaction
1759
+  (0.0ms) begin transaction
1760
+  (0.0ms) SAVEPOINT active_record_1
1761
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 10 LIMIT 1
1762
+ Binary data inserted for `string` type on column `access_token`
1763
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "195b34503422d2189d28b11a0a81083d"], ["created_at", "2014-09-22 21:53:36.548408"], ["openstax_uid", 10], ["updated_at", "2014-09-22 21:53:36.548408"], ["username", "some_user"]]
1764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1765
+  (0.5ms) rollback transaction
1766
+  (0.0ms) begin transaction
1767
+  (0.0ms) SAVEPOINT active_record_1
1768
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
1769
+ Binary data inserted for `string` type on column `access_token`
1770
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "d90c3179d6e75d0fa13786009ef864ab"], ["created_at", "2014-09-22 21:53:36.552129"], ["openstax_uid", 1], ["updated_at", "2014-09-22 21:53:36.552129"], ["username", "some_user"]]
1771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1772
+  (0.0ms) SAVEPOINT active_record_1
1773
+ SQL (0.4ms) INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 1], ["created_at", "2014-09-22 21:53:36.553627"], ["updated_at", "2014-09-22 21:53:36.553627"]]
1774
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1775
+  (0.0ms) SAVEPOINT active_record_1
1776
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1
1777
+ Binary data inserted for `string` type on column `access_token`
1778
+ SQL (0.1ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "7ba35496a92a93e487b178172a6aa815"], ["created_at", "2014-09-22 21:53:36.556042"], ["openstax_uid", 2], ["updated_at", "2014-09-22 21:53:36.556042"], ["username", "another_user"]]
1779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1780
+  (0.0ms) SAVEPOINT active_record_1
1781
+ SQL (0.1ms) INSERT INTO "users" ("account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["account_id", 2], ["created_at", "2014-09-22 21:53:36.557433"], ["updated_at", "2014-09-22 21:53:36.557433"]]
1782
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1783
+  (0.0ms) SAVEPOINT active_record_1
1784
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -38525896134392489563569313940309748805 LIMIT 1
1785
+ SQL (0.1ms) 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", "2014-09-22 21:53:36.559510"], ["name", "MyGroup"], ["openstax_uid", -38525896134392489563569313940309748805], ["updated_at", "2014-09-22 21:53:36.559510"]]
1786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1787
+  (0.0ms) SAVEPOINT active_record_1
1788
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = -36442220181927086376494198065423018793 LIMIT 1
1789
+ SQL (0.1ms) 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", "2014-09-22 21:53:36.561371"], ["name", "MyGroup"], ["openstax_uid", -36442220181927086376494198065423018793], ["updated_at", "2014-09-22 21:53:36.561371"]]
1790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1791
+  (0.0ms) SAVEPOINT active_record_1
1792
+ OpenStax::Accounts::GroupNesting Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = -36442220181927086376494198065423018793 LIMIT 1
1793
+ OpenStax::Accounts::Group Load (0.0ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1 [["id", 2]]
1794
+ SQL (0.1ms) 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" = -36442220181927085123565420137840377856
1795
+ SQL (0.1ms) UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = '---
1796
+ - 2
1797
+ ' WHERE "openstax_accounts_groups"."id" = 2
1798
+ OpenStax::Accounts::Group Load (0.0ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1 [["id", 1]]
1799
+ SQL (0.1ms) 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" = -38525896134392490815487740952939855872 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
1800
+ SQL (0.1ms) UPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = '---
1801
+ - 1
1802
+ ' WHERE "openstax_accounts_groups"."id" = 1
1803
+ SQL (0.1ms) UPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = NULL WHERE "openstax_accounts_groups"."id" IN (2)
1804
+ SQL (0.1ms) UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = NULL WHERE "openstax_accounts_groups"."id" IN (1)
1805
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?) [["container_group_id", -38525896134392489563569313940309748805], ["created_at", "2014-09-22 21:53:36.563017"], ["member_group_id", -36442220181927086376494198065423018793], ["updated_at", "2014-09-22 21:53:36.563017"]]
1806
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1807
+ OpenStax::Accounts::GroupMember Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = -36442220181927085123565420137840377856) LIMIT 1
1808
+  (0.0ms) SAVEPOINT active_record_1
1809
+ OpenStax::Accounts::GroupMember Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 1 AND "openstax_accounts_group_members"."group_id" = -36442220181927085123565420137840377856) LIMIT 1
1810
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.571834"], ["group_id", -36442220181927085123565420137840377856], ["updated_at", "2014-09-22 21:53:36.571834"], ["user_id", 1]]
1811
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1812
+  (0.0ms) SAVEPOINT active_record_1
1813
+ OpenStax::Accounts::GroupMember Exists (0.1ms) 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" = -36442220181927085123565420137840377856) LIMIT 1
1814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1815
+ Ownership Load (0.1ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ? [["owner_id", 1], ["owner_type", "User"]]
1816
+ OpenStax::Accounts::Group Load (0.1ms) 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]]
1817
+ OpenStax::Accounts::Group Load (0.0ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" = ? LIMIT 1 [["id", 2]]
1818
+ SQL (0.1ms) 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" = -36442220181927085123565420137840377856 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
1819
+ SQL (0.1ms) 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" = -36442220181927085123565420137840377856 AND "openstax_accounts_groups"."id" IN (1) ORDER BY "openstax_accounts_groups"."id" ASC
1820
+ SQL (0.1ms) UPDATE "openstax_accounts_groups" SET "cached_supertree_group_ids" = '---
1821
+ - 2
1822
+ - 1
1823
+ ' WHERE "openstax_accounts_groups"."id" = 2
1824
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" IN (2, 1)
1825
+ Ownership Load (0.1ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
1826
+  (0.1ms) SAVEPOINT active_record_1
1827
+ SQL (0.2ms) INSERT INTO "ownerships" ("created_at", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.605839"], ["owner_id", 2], ["owner_type", "User"], ["updated_at", "2014-09-22 21:53:36.605839"]]
1828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1829
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1830
+ Ownership Load (0.0ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ? [["owner_id", 1], ["owner_type", "User"]]
1831
+ OpenStax::Accounts::Group Load (0.0ms) 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]]
1832
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" IN (2, 1)
1833
+ Ownership Load (0.1ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
1834
+  (0.0ms) SAVEPOINT active_record_1
1835
+ SQL (0.1ms) INSERT INTO "ownerships" ("created_at", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.642774"], ["owner_id", 1], ["owner_type", "User"], ["updated_at", "2014-09-22 21:53:36.642774"]]
1836
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1837
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1838
+ Ownership Load (0.0ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ? [["owner_id", 1], ["owner_type", "User"]]
1839
+ OpenStax::Accounts::Group Load (0.0ms) 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]]
1840
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" IN (2, 1)
1841
+ Ownership Load (0.1ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
1842
+  (0.0ms) SAVEPOINT active_record_1
1843
+ SQL (0.1ms) INSERT INTO "ownerships" ("created_at", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.647746"], ["owner_id", 2], ["owner_type", "OpenStax::Accounts::Group"], ["updated_at", "2014-09-22 21:53:36.647746"]]
1844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1845
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1846
+ Ownership Load (0.0ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ? [["owner_id", 1], ["owner_type", "User"]]
1847
+ OpenStax::Accounts::Group Load (0.0ms) 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]]
1848
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" IN (2, 1)
1849
+ Ownership Load (0.1ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
1850
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" IN (2, 1)
1851
+ Ownership Load (0.1ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
1852
+  (0.0ms) SAVEPOINT active_record_1
1853
+ SQL (0.1ms) INSERT INTO "ownerships" ("created_at", "owner_id", "owner_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.655117"], ["owner_id", 1], ["owner_type", "OpenStax::Accounts::Group"], ["updated_at", "2014-09-22 21:53:36.655117"]]
1854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1855
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1856
+ Ownership Load (0.0ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_id" = ? AND "ownerships"."owner_type" = ? [["owner_id", 1], ["owner_type", "User"]]
1857
+ OpenStax::Accounts::Group Load (0.0ms) 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]]
1858
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" IN (2, 1)
1859
+ Ownership Load (0.1ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
1860
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" IN (2, 1)
1861
+ Ownership Load (0.2ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
1862
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."id" IN (2, 1)
1863
+ Ownership Load (0.2ms) SELECT "ownerships".* FROM "ownerships" WHERE "ownerships"."owner_type" = 'OpenStax::Accounts::Group' AND "ownerships"."owner_id" IN (1, 2)
1864
+  (0.8ms) rollback transaction
1865
+  (0.0ms) begin transaction
1866
+  (0.0ms) rollback transaction
1867
+  (0.0ms) begin transaction
1868
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" IS NULL LIMIT 1
1869
+  (0.0ms) SAVEPOINT active_record_1
1870
+ OpenStax::Accounts::Account Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
1871
+ Binary data inserted for `string` type on column `access_token`
1872
+ Binary data inserted for `string` type on column `username`
1873
+ SQL (0.3ms) INSERT INTO "openstax_accounts_accounts" ("access_token", "created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["access_token", "1f4066a9ea4afa49f8b12c45209ec53a"], ["created_at", "2014-09-22 21:53:36.673718"], ["openstax_uid", 1], ["updated_at", "2014-09-22 21:53:36.673718"], ["username", "970f4e8ad734ca65d473565a2b67294c"]]
1874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1875
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 1 LIMIT 1
1876
+  (0.4ms) rollback transaction
1877
+  (0.0ms) begin transaction
1878
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" IS NULL LIMIT 1
1879
+  (0.0ms) SAVEPOINT active_record_1
1880
+ OpenStax::Accounts::Group Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 1 LIMIT 1
1881
+ SQL (0.3ms) 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", "2014-09-22 21:53:36.680839"], ["name", "MyGroup"], ["openstax_uid", 1], ["updated_at", "2014-09-22 21:53:36.680839"]]
1882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1883
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 1 LIMIT 1
1884
+  (0.5ms) rollback transaction
1885
+  (0.0ms) begin transaction
1886
+  (0.0ms) SAVEPOINT active_record_1
1887
+ OpenStax::Accounts::Account Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 2 LIMIT 1
1888
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.689026"], ["openstax_uid", 2], ["updated_at", "2014-09-22 21:53:36.689026"], ["username", "User"]]
1889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1890
+  (0.0ms) SAVEPOINT active_record_1
1891
+ OpenStax::Accounts::Account Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_accounts" WHERE "openstax_accounts_accounts"."openstax_uid" = 3 LIMIT 1
1892
+ SQL (0.4ms) INSERT INTO "openstax_accounts_accounts" ("created_at", "openstax_uid", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.690891"], ["openstax_uid", 3], ["updated_at", "2014-09-22 21:53:36.690891"], ["username", "Fuego"]]
1893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1894
+  (0.0ms) SAVEPOINT active_record_1
1895
+ OpenStax::Accounts::Group Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 2 LIMIT 1
1896
+ SQL (0.1ms) 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", "2014-09-22 21:53:36.692841"], ["name", "Member Group"], ["openstax_uid", 2], ["updated_at", "2014-09-22 21:53:36.692841"]]
1897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1898
+  (0.0ms) SAVEPOINT active_record_1
1899
+ OpenStax::Accounts::GroupMember Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 2 AND "openstax_accounts_group_members"."group_id" = 2) LIMIT 1
1900
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.694628"], ["group_id", 2], ["updated_at", "2014-09-22 21:53:36.694628"], ["user_id", 2]]
1901
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1902
+  (0.0ms) SAVEPOINT active_record_1
1903
+ OpenStax::Accounts::Group Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 4 LIMIT 1
1904
+ SQL (0.1ms) 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", "2014-09-22 21:53:36.696084"], ["name", "Container Group"], ["openstax_uid", 4], ["updated_at", "2014-09-22 21:53:36.696084"]]
1905
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1906
+  (0.0ms) SAVEPOINT active_record_1
1907
+ OpenStax::Accounts::GroupOwner Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 2 AND "openstax_accounts_group_owners"."group_id" = 4) LIMIT 1
1908
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.697737"], ["group_id", 4], ["updated_at", "2014-09-22 21:53:36.697737"], ["user_id", 2]]
1909
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1910
+  (0.0ms) SAVEPOINT active_record_1
1911
+ OpenStax::Accounts::GroupNesting Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 2 LIMIT 1
1912
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?) [["container_group_id", 4], ["created_at", "2014-09-22 21:53:36.699294"], ["member_group_id", 2], ["updated_at", "2014-09-22 21:53:36.699294"]]
1913
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1914
+  (0.0ms) SELECT COUNT(*) FROM "openstax_accounts_groups"
1915
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
1916
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
1917
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
1918
+ OpenStax::Accounts::Account Exists (0.1ms) 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", 2]]
1919
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
1920
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
1921
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
1922
+ OpenStax::Accounts::Group Exists (0.1ms) 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]]
1923
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
1924
+ OpenStax::Accounts::Account Exists (0.1ms) 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" = 1 LIMIT 1 [["group_id", 4]]
1925
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1926
+ Processing by OauthController#token as */*
1927
+ Parameters: {"grant_type"=>"client_credentials"}
1928
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1929
+ Started GET "/api/application_groups/updates" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1930
+ Processing by Api::ApplicationGroupsController#updates as application/vnd.accounts.openstax.v1
1931
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1932
+ OpenStax::Accounts::GroupOwner Load (0.1ms) SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 2]]
1933
+ OpenStax::Accounts::GroupMember Load (0.1ms) SELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ? [["group_id", 2]]
1934
+  (0.0ms) SAVEPOINT active_record_1
1935
+ SQL (0.1ms) DELETE FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."id" = ? [["id", 1]]
1936
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1937
+ OpenStax::Accounts::GroupNesting Load (0.1ms) SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 2]]
1938
+ OpenStax::Accounts::GroupOwner Load (0.0ms) SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 3]]
1939
+ OpenStax::Accounts::GroupMember Load (0.0ms) SELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ? [["group_id", 3]]
1940
+ OpenStax::Accounts::GroupNesting Load (0.0ms) SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 3]]
1941
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 2 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
1942
+ OpenStax::Accounts::GroupMember Load (0.0ms) SELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ? [["group_id", 2]]
1943
+  (0.0ms) SAVEPOINT active_record_1
1944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1945
+ OpenStax::Accounts::GroupOwner Load (0.0ms) SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 2]]
1946
+  (0.0ms) SAVEPOINT active_record_1
1947
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1948
+ OpenStax::Accounts::GroupNesting Load (0.0ms) SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 2]]
1949
+  (0.0ms) SAVEPOINT active_record_1
1950
+ OpenStax::Accounts::GroupNesting Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 3 LIMIT 1
1951
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?) [["container_group_id", 2], ["created_at", "2014-09-22 21:53:36.739727"], ["member_group_id", 3], ["updated_at", "2014-09-22 21:53:36.739727"]]
1952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1953
+  (0.0ms) SAVEPOINT active_record_1
1954
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = 2 AND "openstax_accounts_groups"."id" != 1) LIMIT 1
1955
+ SQL (0.1ms) UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "name" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 1 [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["name", "M"], ["updated_at", "2014-09-22 21:53:36.741353"]]
1956
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1957
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 3 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
1958
+  (0.0ms) SAVEPOINT active_record_1
1959
+ OpenStax::Accounts::GroupOwner Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 3 AND "openstax_accounts_group_owners"."group_id" = 3) LIMIT 1
1960
+ OpenStax::Accounts::GroupMember Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 2 AND "openstax_accounts_group_members"."group_id" = 3) LIMIT 1
1961
+ OpenStax::Accounts::Group Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 3 LIMIT 1
1962
+ SQL (0.1ms) 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", "2014-09-22 21:53:36.745055"], ["name", "Fuego's Deputies"], ["openstax_uid", 3], ["updated_at", "2014-09-22 21:53:36.745055"]]
1963
+ OpenStax::Accounts::GroupOwner Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 3 AND "openstax_accounts_group_owners"."group_id" = 3) LIMIT 1
1964
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.746338"], ["group_id", 3], ["updated_at", "2014-09-22 21:53:36.746338"], ["user_id", 3]]
1965
+ OpenStax::Accounts::GroupMember Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 2 AND "openstax_accounts_group_members"."group_id" = 3) LIMIT 1
1966
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.747517"], ["group_id", 3], ["updated_at", "2014-09-22 21:53:36.747517"], ["user_id", 2]]
1967
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1968
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1969
+ Processing by OauthController#token as */*
1970
+ Parameters: {"grant_type"=>"client_credentials"}
1971
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1972
+ Started PUT "/api/application_groups/updated" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1973
+ Processing by Api::ApplicationGroupsController#updated as application/vnd.accounts.openstax.v1
1974
+ Parameters: {"{\"group_id\":2,\"read_updates\":1},{\"group_id\":3,\"read_updates\":2}"=>nil}
1975
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1976
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_groups"
1977
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
1978
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
1979
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
1980
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
1981
+ OpenStax::Accounts::Group Exists (0.1ms) 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]]
1982
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1
1983
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1
1984
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1
1985
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
1986
+ OpenStax::Accounts::Group Exists (0.0ms) 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]]
1987
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
1988
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
1989
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
1990
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1
1991
+ OpenStax::Accounts::Account Exists (0.1ms) 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]]
1992
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
1993
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
1994
+ OpenStax::Accounts::Account Exists (0.0ms) 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]]
1995
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
1996
+ Processing by OauthController#token as */*
1997
+ Parameters: {"grant_type"=>"client_credentials"}
1998
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1999
+ Started GET "/api/application_groups/updates" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
2000
+ Processing by Api::ApplicationGroupsController#updates as application/vnd.accounts.openstax.v1
2001
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2002
+ OpenStax::Accounts::GroupOwner Load (0.1ms) SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 2]]
2003
+ OpenStax::Accounts::GroupMember Load (0.0ms) SELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ? [["group_id", 2]]
2004
+ OpenStax::Accounts::GroupNesting Load (0.0ms) SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 2]]
2005
+  (0.0ms) SAVEPOINT active_record_1
2006
+ SQL (0.1ms) DELETE FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."id" = ? [["id", 2]]
2007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2008
+ OpenStax::Accounts::GroupOwner Load (0.0ms) SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 3]]
2009
+  (0.0ms) SAVEPOINT active_record_1
2010
+ SQL (0.1ms) DELETE FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."id" = ? [["id", 2]]
2011
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2012
+ OpenStax::Accounts::GroupMember Load (0.0ms) SELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ? [["group_id", 3]]
2013
+  (0.0ms) SAVEPOINT active_record_1
2014
+ SQL (0.0ms) DELETE FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."id" = ? [["id", 2]]
2015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2016
+ OpenStax::Accounts::GroupNesting Load (0.0ms) SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 3]]
2017
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 2 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
2018
+ OpenStax::Accounts::GroupMember Load (0.0ms) SELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ? [["group_id", 2]]
2019
+  (0.0ms) SAVEPOINT active_record_1
2020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2021
+ OpenStax::Accounts::GroupOwner Load (0.0ms) SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 2]]
2022
+  (0.0ms) SAVEPOINT active_record_1
2023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2024
+ OpenStax::Accounts::GroupNesting Load (0.0ms) SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 2]]
2025
+  (0.0ms) SAVEPOINT active_record_1
2026
+ OpenStax::Accounts::GroupNesting Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."member_group_id" = 3 LIMIT 1
2027
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_nestings" ("container_group_id", "created_at", "member_group_id", "updated_at") VALUES (?, ?, ?, ?) [["container_group_id", 2], ["created_at", "2014-09-22 21:53:36.829145"], ["member_group_id", 3], ["updated_at", "2014-09-22 21:53:36.829145"]]
2028
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2029
+  (0.0ms) SAVEPOINT active_record_1
2030
+ OpenStax::Accounts::Group Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = 2 AND "openstax_accounts_groups"."id" != 1) LIMIT 1
2031
+ SQL (0.1ms) UPDATE "openstax_accounts_groups" SET "cached_subtree_group_ids" = ?, "cached_supertree_group_ids" = ?, "updated_at" = ? WHERE "openstax_accounts_groups"."id" = 1 [["cached_subtree_group_ids", nil], ["cached_supertree_group_ids", nil], ["updated_at", "2014-09-22 21:53:36.830868"]]
2032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2033
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" WHERE "openstax_accounts_groups"."openstax_uid" = 3 ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
2034
+ OpenStax::Accounts::GroupMember Load (0.0ms) SELECT "openstax_accounts_group_members".* FROM "openstax_accounts_group_members" WHERE "openstax_accounts_group_members"."group_id" = ? [["group_id", 3]]
2035
+  (0.0ms) SAVEPOINT active_record_1
2036
+ OpenStax::Accounts::GroupMember Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_group_members" WHERE ("openstax_accounts_group_members"."user_id" = 2 AND "openstax_accounts_group_members"."group_id" = 3) LIMIT 1
2037
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_members" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.833811"], ["group_id", 3], ["updated_at", "2014-09-22 21:53:36.833811"], ["user_id", 2]]
2038
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2039
+ OpenStax::Accounts::GroupOwner Load (0.0ms) SELECT "openstax_accounts_group_owners".* FROM "openstax_accounts_group_owners" WHERE "openstax_accounts_group_owners"."group_id" = ? [["group_id", 3]]
2040
+  (0.0ms) SAVEPOINT active_record_1
2041
+ OpenStax::Accounts::GroupOwner Exists (0.0ms) SELECT 1 AS one FROM "openstax_accounts_group_owners" WHERE ("openstax_accounts_group_owners"."user_id" = 3 AND "openstax_accounts_group_owners"."group_id" = 3) LIMIT 1
2042
+ SQL (0.1ms) INSERT INTO "openstax_accounts_group_owners" ("created_at", "group_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", "2014-09-22 21:53:36.836036"], ["group_id", 3], ["updated_at", "2014-09-22 21:53:36.836036"], ["user_id", 3]]
2043
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2044
+ OpenStax::Accounts::GroupNesting Load (0.0ms) SELECT "openstax_accounts_group_nestings".* FROM "openstax_accounts_group_nestings" WHERE "openstax_accounts_group_nestings"."container_group_id" = ? [["container_group_id", 3]]
2045
+  (0.0ms) SAVEPOINT active_record_1
2046
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2047
+  (0.0ms) SAVEPOINT active_record_1
2048
+ OpenStax::Accounts::Group Exists (0.1ms) SELECT 1 AS one FROM "openstax_accounts_groups" WHERE ("openstax_accounts_groups"."openstax_uid" = 3 AND "openstax_accounts_groups"."id" != 3) LIMIT 1
2049
+ SQL (0.1ms) 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", "2014-09-22 21:53:36.838546"]]
2050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2051
+ Started POST "/oauth/token" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
2052
+ Processing by OauthController#token as */*
2053
+ Parameters: {"grant_type"=>"client_credentials"}
2054
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2055
+ Started PUT "/api/application_groups/updated" for 127.0.0.1 at 2014-09-22 14:53:36 -0700
2056
+ Processing by Api::ApplicationGroupsController#updated as application/vnd.accounts.openstax.v1
2057
+ Parameters: {"{\"group_id\":2,\"read_updates\":1},{\"group_id\":3,\"read_updates\":2}"=>nil}
2058
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2059
+  (0.1ms) SELECT COUNT(*) FROM "openstax_accounts_groups"
2060
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
2061
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
2062
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
2063
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
2064
+ OpenStax::Accounts::Group Exists (0.0ms) 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]]
2065
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1
2066
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1
2067
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1 OFFSET 1
2068
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" ASC LIMIT 1
2069
+ OpenStax::Accounts::Group Exists (0.0ms) 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]]
2070
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
2071
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
2072
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
2073
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" DESC LIMIT 1
2074
+ OpenStax::Accounts::Account Exists (0.0ms) 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]]
2075
+ OpenStax::Accounts::Group Load (0.1ms) SELECT "openstax_accounts_groups".* FROM "openstax_accounts_groups" ORDER BY "openstax_accounts_groups"."id" DESC LIMIT 1
2076
+ OpenStax::Accounts::Account Load (0.1ms) SELECT "openstax_accounts_accounts".* FROM "openstax_accounts_accounts" ORDER BY "openstax_accounts_accounts"."id" ASC LIMIT 1
2077
+ OpenStax::Accounts::Account Exists (0.0ms) 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]]
2078
+  (0.8ms) rollback transaction