human_urls 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +37 -0
  4. data/config/routes.rb +2 -0
  5. data/lib/generators/slug_migration/USAGE +8 -0
  6. data/lib/generators/slug_migration/slug_migration_generator.rb +27 -0
  7. data/lib/generators/slug_migration/templates/slug_migration.rb +6 -0
  8. data/lib/human_urls/engine.rb +5 -0
  9. data/lib/human_urls/sluggable.rb +29 -0
  10. data/lib/human_urls/version.rb +3 -0
  11. data/lib/human_urls.rb +5 -0
  12. data/lib/tasks/human_urls_tasks.rake +4 -0
  13. data/test/dummy/README.rdoc +28 -0
  14. data/test/dummy/Rakefile +6 -0
  15. data/test/dummy/app/models/taggable.rb +4 -0
  16. data/test/dummy/app/models/taggable_w_generated_slug.rb +4 -0
  17. data/test/dummy/bin/bundle +3 -0
  18. data/test/dummy/bin/rails +4 -0
  19. data/test/dummy/bin/rake +4 -0
  20. data/test/dummy/bin/setup +29 -0
  21. data/test/dummy/config/application.rb +26 -0
  22. data/test/dummy/config/boot.rb +5 -0
  23. data/test/dummy/config/database.yml +12 -0
  24. data/test/dummy/config/environment.rb +5 -0
  25. data/test/dummy/config/environments/development.rb +41 -0
  26. data/test/dummy/config/environments/production.rb +79 -0
  27. data/test/dummy/config/environments/test.rb +42 -0
  28. data/test/dummy/config/initializers/assets.rb +11 -0
  29. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  30. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  31. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  32. data/test/dummy/config/initializers/inflections.rb +16 -0
  33. data/test/dummy/config/initializers/mime_types.rb +4 -0
  34. data/test/dummy/config/initializers/session_store.rb +3 -0
  35. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  36. data/test/dummy/config/locales/en.yml +23 -0
  37. data/test/dummy/config/routes.rb +2 -0
  38. data/test/dummy/config/secrets.yml +22 -0
  39. data/test/dummy/config.ru +4 -0
  40. data/test/dummy/db/migrate/20151022230845_create_posts.rb +12 -0
  41. data/test/dummy/db/migrate/20151029003656_create_taggable_w_generated_slugs.rb +11 -0
  42. data/test/dummy/db/migrate/20151029012517_rename_post_to_taggable.rb +5 -0
  43. data/test/dummy/db/schema.rb +37 -0
  44. data/test/dummy/log/development.log +114 -0
  45. data/test/dummy/log/test.log +3357 -0
  46. data/test/dummy/public/404.html +67 -0
  47. data/test/dummy/public/422.html +67 -0
  48. data/test/dummy/public/500.html +66 -0
  49. data/test/dummy/public/favicon.ico +0 -0
  50. data/test/dummy/tmp/generators/db/migrate/20151112020841_add_slug_to_posts.rb +6 -0
  51. data/test/human_urls/sluggable_test.rb +52 -0
  52. data/test/human_urls_test.rb +7 -0
  53. data/test/lib/generators/human_urls/slug_migration_generator_test.rb +30 -0
  54. data/test/test_helper.rb +16 -0
  55. metadata +196 -0
@@ -0,0 +1,3357 @@
1
+  (162.0ms) DROP DATABASE IF EXISTS "human_urls_test"
2
+  (431.0ms) CREATE DATABASE "human_urls_test" ENCODING = 'unicode'
3
+ SQL (2.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
4
+  (8.9ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "slug" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
5
+  (2.1ms) CREATE UNIQUE INDEX "index_posts_on_slug" ON "posts" USING btree ("slug")
6
+  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
7
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8
+  (0.5ms) SELECT version FROM "schema_migrations"
9
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20151022230845')
10
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
11
+  (0.3ms) BEGIN
12
+ ----------------------------------------------
13
+ SluggableTest: test_validates_presence_of_slug
14
+ ----------------------------------------------
15
+  (0.6ms) ROLLBACK
16
+  (0.2ms) BEGIN
17
+ -------------------------
18
+ HumanUrlsTest: test_truth
19
+ -------------------------
20
+  (0.2ms) ROLLBACK
21
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
+  (0.6ms) BEGIN
23
+ -------------------------
24
+ HumanUrlsTest: test_truth
25
+ -------------------------
26
+  (0.2ms) ROLLBACK
27
+  (0.1ms) BEGIN
28
+ ----------------------------------------------
29
+ SluggableTest: test_validates_presence_of_slug
30
+ ----------------------------------------------
31
+  (0.3ms) SAVEPOINT active_record_1
32
+ SQL (3.8ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-10-22 23:47:20.535313"], ["updated_at", "2015-10-22 23:47:20.535313"]]
33
+  (0.3ms) RELEASE SAVEPOINT active_record_1
34
+  (0.3ms) ROLLBACK
35
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
36
+  (0.3ms) BEGIN
37
+ -------------------------
38
+ HumanUrlsTest: test_truth
39
+ -------------------------
40
+  (0.2ms) ROLLBACK
41
+  (0.2ms) BEGIN
42
+ ----------------------------------------------
43
+ SluggableTest: test_validates_presence_of_slug
44
+ ----------------------------------------------
45
+  (0.4ms) SAVEPOINT active_record_1
46
+  (1.0ms) ROLLBACK TO SAVEPOINT active_record_1
47
+  (0.7ms) ROLLBACK
48
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
49
+  (0.4ms) BEGIN
50
+ ----------------------------------------------
51
+ SluggableTest: test_validates_presence_of_slug
52
+ ----------------------------------------------
53
+  (0.3ms) ROLLBACK
54
+  (0.2ms) BEGIN
55
+ -------------------------
56
+ HumanUrlsTest: test_truth
57
+ -------------------------
58
+  (0.3ms) ROLLBACK
59
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
60
+  (0.4ms) BEGIN
61
+ -------------------------
62
+ HumanUrlsTest: test_truth
63
+ -------------------------
64
+  (0.3ms) ROLLBACK
65
+  (0.2ms) BEGIN
66
+ ----------------------------------------------
67
+ SluggableTest: test_validates_presence_of_slug
68
+ ----------------------------------------------
69
+  (0.2ms) ROLLBACK
70
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
71
+  (0.4ms) BEGIN
72
+ -------------------------
73
+ HumanUrlsTest: test_truth
74
+ -------------------------
75
+  (0.3ms) ROLLBACK
76
+  (0.2ms) BEGIN
77
+ ----------------------------------------------
78
+ SluggableTest: test_validates_presence_of_slug
79
+ ----------------------------------------------
80
+  (0.3ms) SAVEPOINT active_record_1
81
+ Post Exists (2.3ms) SELECT 1 AS one FROM "posts" WHERE "posts"."slug" IS NULL LIMIT 1
82
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
83
+  (0.4ms) ROLLBACK
84
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
85
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
86
+  (0.4ms) BEGIN
87
+ ----------------------------------------------
88
+ SluggableTest: test_validates_presence_of_slug
89
+ ----------------------------------------------
90
+  (0.4ms) SAVEPOINT active_record_1
91
+ Post Exists (0.8ms) SELECT 1 AS one FROM "posts" WHERE "posts"."slug" IS NULL LIMIT 1
92
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
93
+  (0.2ms) ROLLBACK
94
+  (0.3ms) BEGIN
95
+ ------------------------------------------------
96
+ SluggableTest: test_validates_unqiueness_of_slug
97
+ ------------------------------------------------
98
+  (0.3ms) SAVEPOINT active_record_1
99
+ Post Exists (3.4ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('my-slug') LIMIT 1
100
+ SQL (1.7ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "my-slug"], ["created_at", "2015-10-22 23:58:25.539588"], ["updated_at", "2015-10-22 23:58:25.539588"]]
101
+  (0.4ms) RELEASE SAVEPOINT active_record_1
102
+  (0.3ms) SAVEPOINT active_record_1
103
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('my-slug') LIMIT 1
104
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
105
+  (0.2ms) ROLLBACK
106
+  (0.2ms) BEGIN
107
+ -------------------------
108
+ HumanUrlsTest: test_truth
109
+ -------------------------
110
+  (0.2ms) ROLLBACK
111
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
112
+  (0.4ms) BEGIN
113
+ ------------------------------------------------
114
+ SluggableTest: test_validates_unqiueness_of_slug
115
+ ------------------------------------------------
116
+  (0.3ms) SAVEPOINT active_record_1
117
+ Post Exists (1.7ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
118
+ SQL (1.0ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-23 00:00:37.755239"], ["updated_at", "2015-10-23 00:00:37.755239"]]
119
+  (0.2ms) RELEASE SAVEPOINT active_record_1
120
+  (0.2ms) SAVEPOINT active_record_1
121
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
122
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
123
+  (0.4ms) ROLLBACK
124
+  (0.3ms) BEGIN
125
+ ----------------------------------------------
126
+ SluggableTest: test_validates_presence_of_slug
127
+ ----------------------------------------------
128
+  (0.3ms) SAVEPOINT active_record_1
129
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."slug" IS NULL LIMIT 1
130
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
131
+  (0.3ms) ROLLBACK
132
+  (0.2ms) BEGIN
133
+ -------------------------------------------------------------------------
134
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
135
+ -------------------------------------------------------------------------
136
+  (0.2ms) SAVEPOINT active_record_1
137
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('Slug') LIMIT 1
138
+ SQL (0.5ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "Slug"], ["created_at", "2015-10-23 00:00:37.778436"], ["updated_at", "2015-10-23 00:00:37.778436"]]
139
+  (0.4ms) RELEASE SAVEPOINT active_record_1
140
+  (0.2ms) SAVEPOINT active_record_1
141
+ Post Exists (1.4ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
142
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
143
+  (0.5ms) ROLLBACK
144
+  (0.1ms) BEGIN
145
+ -------------------------
146
+ HumanUrlsTest: test_truth
147
+ -------------------------
148
+  (0.1ms) ROLLBACK
149
+ ActiveRecord::SchemaMigration Load (5.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
150
+  (0.7ms) BEGIN
151
+ ----------------------------------------------
152
+ SluggableTest: test_validates_presence_of_slug
153
+ ----------------------------------------------
154
+  (0.7ms) SAVEPOINT active_record_1
155
+ Post Exists (2.3ms) SELECT 1 AS one FROM "posts" WHERE "posts"."slug" IS NULL LIMIT 1
156
+  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1
157
+  (0.5ms) ROLLBACK
158
+  (0.3ms) BEGIN
159
+ -------------------------------------------------------------------------
160
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
161
+ -------------------------------------------------------------------------
162
+  (0.2ms) SAVEPOINT active_record_1
163
+ Post Exists (3.8ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('Slug') LIMIT 1
164
+ SQL (6.9ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "Slug"], ["created_at", "2015-10-28 23:09:41.009061"], ["updated_at", "2015-10-28 23:09:41.009061"]]
165
+  (0.3ms) RELEASE SAVEPOINT active_record_1
166
+  (0.3ms) SAVEPOINT active_record_1
167
+ Post Exists (0.8ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
168
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
169
+  (0.3ms) ROLLBACK
170
+  (0.2ms) BEGIN
171
+ ------------------------------------------------
172
+ SluggableTest: test_validates_unqiueness_of_slug
173
+ ------------------------------------------------
174
+  (0.2ms) SAVEPOINT active_record_1
175
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
176
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-28 23:09:41.027959"], ["updated_at", "2015-10-28 23:09:41.027959"]]
177
+  (0.3ms) RELEASE SAVEPOINT active_record_1
178
+  (0.2ms) SAVEPOINT active_record_1
179
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
180
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
181
+  (0.2ms) ROLLBACK
182
+  (0.2ms) BEGIN
183
+ -------------------------
184
+ HumanUrlsTest: test_truth
185
+ -------------------------
186
+  (0.2ms) ROLLBACK
187
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
188
+  (0.4ms) BEGIN
189
+ -------------------------
190
+ HumanUrlsTest: test_truth
191
+ -------------------------
192
+  (0.2ms) ROLLBACK
193
+  (0.3ms) BEGIN
194
+ ------------------------------------------------
195
+ SluggableTest: test_validates_unqiueness_of_slug
196
+ ------------------------------------------------
197
+  (0.3ms) SAVEPOINT active_record_1
198
+ Post Exists (1.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
199
+ SQL (0.6ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-28 23:13:03.711605"], ["updated_at", "2015-10-28 23:13:03.711605"]]
200
+  (0.2ms) RELEASE SAVEPOINT active_record_1
201
+  (0.2ms) SAVEPOINT active_record_1
202
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
203
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
204
+  (0.5ms) ROLLBACK
205
+  (0.2ms) BEGIN
206
+ -------------------------------------------------------------------------
207
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
208
+ -------------------------------------------------------------------------
209
+  (0.2ms) SAVEPOINT active_record_1
210
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('Slug') LIMIT 1
211
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "Slug"], ["created_at", "2015-10-28 23:13:03.729773"], ["updated_at", "2015-10-28 23:13:03.729773"]]
212
+  (0.2ms) RELEASE SAVEPOINT active_record_1
213
+  (0.2ms) SAVEPOINT active_record_1
214
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
215
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
216
+  (0.3ms) ROLLBACK
217
+  (0.2ms) BEGIN
218
+ ----------------------------------------------
219
+ SluggableTest: test_validates_presence_of_slug
220
+ ----------------------------------------------
221
+  (0.2ms) SAVEPOINT active_record_1
222
+ Post Exists (0.8ms) SELECT 1 AS one FROM "posts" WHERE "posts"."slug" IS NULL LIMIT 1
223
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
224
+  (0.4ms) ROLLBACK
225
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
226
+  (0.3ms) BEGIN
227
+ -------------------------
228
+ HumanUrlsTest: test_truth
229
+ -------------------------
230
+  (0.3ms) ROLLBACK
231
+  (0.2ms) BEGIN
232
+ ----------------------------------------------
233
+ SluggableTest: test_validates_presence_of_slug
234
+ ----------------------------------------------
235
+  (0.4ms) SAVEPOINT active_record_1
236
+ Post Exists (1.0ms) SELECT 1 AS one FROM "posts" WHERE "posts"."slug" IS NULL LIMIT 1
237
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
238
+  (0.3ms) ROLLBACK
239
+  (0.2ms) BEGIN
240
+ -------------------------------------------------------------------------
241
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
242
+ -------------------------------------------------------------------------
243
+  (0.2ms) SAVEPOINT active_record_1
244
+ Post Exists (0.8ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('Slug') LIMIT 1
245
+ SQL (1.0ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "Slug"], ["created_at", "2015-10-28 23:22:05.701031"], ["updated_at", "2015-10-28 23:22:05.701031"]]
246
+  (0.3ms) RELEASE SAVEPOINT active_record_1
247
+  (0.2ms) SAVEPOINT active_record_1
248
+ Post Exists (1.0ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
249
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
250
+  (0.3ms) ROLLBACK
251
+  (0.2ms) BEGIN
252
+ ------------------------------------------------
253
+ SluggableTest: test_validates_unqiueness_of_slug
254
+ ------------------------------------------------
255
+  (0.2ms) SAVEPOINT active_record_1
256
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
257
+ SQL (0.5ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-28 23:22:05.715503"], ["updated_at", "2015-10-28 23:22:05.715503"]]
258
+  (0.3ms) RELEASE SAVEPOINT active_record_1
259
+  (0.2ms) SAVEPOINT active_record_1
260
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
261
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
262
+  (0.2ms) ROLLBACK
263
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
264
+  (0.3ms) BEGIN
265
+ -------------------------
266
+ HumanUrlsTest: test_truth
267
+ -------------------------
268
+  (0.2ms) ROLLBACK
269
+  (0.2ms) BEGIN
270
+ ----------------------------------------------
271
+ SluggableTest: test_validates_presence_of_slug
272
+ ----------------------------------------------
273
+  (0.3ms) ROLLBACK
274
+  (0.2ms) BEGIN
275
+ ------------------------------------------------
276
+ SluggableTest: test_validates_unqiueness_of_slug
277
+ ------------------------------------------------
278
+  (0.3ms) SAVEPOINT active_record_1
279
+ Post Exists (1.3ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
280
+ SQL (0.6ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-28 23:22:49.247021"], ["updated_at", "2015-10-28 23:22:49.247021"]]
281
+  (0.3ms) RELEASE SAVEPOINT active_record_1
282
+  (0.2ms) SAVEPOINT active_record_1
283
+ Post Exists (1.0ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
284
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
285
+  (0.4ms) ROLLBACK
286
+  (0.3ms) BEGIN
287
+ -------------------------------------------------------------------------
288
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
289
+ -------------------------------------------------------------------------
290
+  (0.2ms) SAVEPOINT active_record_1
291
+ Post Exists (0.9ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('Slug') LIMIT 1
292
+ SQL (0.5ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "Slug"], ["created_at", "2015-10-28 23:22:49.271721"], ["updated_at", "2015-10-28 23:22:49.271721"]]
293
+  (0.3ms) RELEASE SAVEPOINT active_record_1
294
+  (0.4ms) SAVEPOINT active_record_1
295
+ Post Exists (0.9ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
296
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
297
+  (0.4ms) ROLLBACK
298
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
299
+  (0.3ms) BEGIN
300
+ -------------------------
301
+ HumanUrlsTest: test_truth
302
+ -------------------------
303
+  (0.3ms) ROLLBACK
304
+  (0.2ms) BEGIN
305
+ ------------------------------------------------
306
+ SluggableTest: test_validates_unqiueness_of_slug
307
+ ------------------------------------------------
308
+  (0.4ms) SAVEPOINT active_record_1
309
+ Post Exists (1.4ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
310
+ SQL (1.1ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-28 23:26:15.608443"], ["updated_at", "2015-10-28 23:26:15.608443"]]
311
+  (0.3ms) RELEASE SAVEPOINT active_record_1
312
+  (0.2ms) SAVEPOINT active_record_1
313
+ Post Exists (1.1ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
314
+  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1
315
+  (0.5ms) ROLLBACK
316
+  (0.2ms) BEGIN
317
+ ----------------------------------------------
318
+ SluggableTest: test_validates_presence_of_slug
319
+ ----------------------------------------------
320
+  (0.2ms) SAVEPOINT active_record_1
321
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE "posts"."slug" IS NULL LIMIT 1
322
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
323
+  (0.2ms) ROLLBACK
324
+  (0.2ms) BEGIN
325
+ -------------------------------------------------------------------------
326
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
327
+ -------------------------------------------------------------------------
328
+  (0.2ms) SAVEPOINT active_record_1
329
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('Slug') LIMIT 1
330
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "Slug"], ["created_at", "2015-10-28 23:26:15.636424"], ["updated_at", "2015-10-28 23:26:15.636424"]]
331
+  (0.2ms) RELEASE SAVEPOINT active_record_1
332
+  (0.2ms) SAVEPOINT active_record_1
333
+ Post Exists (0.7ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
334
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
335
+  (0.4ms) ROLLBACK
336
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
337
+  (0.4ms) BEGIN
338
+ -------------------------
339
+ HumanUrlsTest: test_truth
340
+ -------------------------
341
+  (0.3ms) ROLLBACK
342
+  (0.3ms) BEGIN
343
+ -------------------------------------------------------------------------
344
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
345
+ -------------------------------------------------------------------------
346
+  (0.4ms) SAVEPOINT active_record_1
347
+ Post Exists (1.1ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('Slug') LIMIT 1
348
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('Slug') LIMIT 1
349
+ SQL (0.6ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "Slug"], ["created_at", "2015-10-28 23:26:34.827773"], ["updated_at", "2015-10-28 23:26:34.827773"]]
350
+  (0.2ms) RELEASE SAVEPOINT active_record_1
351
+  (0.2ms) SAVEPOINT active_record_1
352
+ Post Exists (1.0ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
353
+ Post Exists (0.7ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
354
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
355
+  (0.5ms) ROLLBACK
356
+  (0.5ms) BEGIN
357
+ ------------------------------------------------
358
+ SluggableTest: test_validates_unqiueness_of_slug
359
+ ------------------------------------------------
360
+  (0.3ms) SAVEPOINT active_record_1
361
+ Post Exists (0.9ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
362
+ Post Exists (0.8ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
363
+ SQL (0.6ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-28 23:26:34.853279"], ["updated_at", "2015-10-28 23:26:34.853279"]]
364
+  (0.2ms) RELEASE SAVEPOINT active_record_1
365
+  (0.2ms) SAVEPOINT active_record_1
366
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
367
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
368
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
369
+  (0.2ms) ROLLBACK
370
+  (0.3ms) BEGIN
371
+ ----------------------------------------------
372
+ SluggableTest: test_validates_presence_of_slug
373
+ ----------------------------------------------
374
+  (0.3ms) SAVEPOINT active_record_1
375
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."slug" IS NULL LIMIT 1
376
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."slug" IS NULL LIMIT 1
377
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
378
+  (0.2ms) ROLLBACK
379
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
380
+  (0.5ms) BEGIN
381
+ ----------------------------------------------
382
+ SluggableTest: test_validates_presence_of_slug
383
+ ----------------------------------------------
384
+  (0.4ms) SAVEPOINT active_record_1
385
+ Post Exists (0.8ms) SELECT 1 AS one FROM "posts" WHERE "posts"."slug" IS NULL LIMIT 1
386
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
387
+  (0.2ms) ROLLBACK
388
+  (0.2ms) BEGIN
389
+ ------------------------------------------------
390
+ SluggableTest: test_validates_unqiueness_of_slug
391
+ ------------------------------------------------
392
+  (0.3ms) SAVEPOINT active_record_1
393
+ Post Exists (0.7ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
394
+ SQL (0.6ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-28 23:26:54.239342"], ["updated_at", "2015-10-28 23:26:54.239342"]]
395
+  (0.2ms) RELEASE SAVEPOINT active_record_1
396
+  (0.2ms) SAVEPOINT active_record_1
397
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
398
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
399
+  (1.0ms) ROLLBACK
400
+  (0.2ms) BEGIN
401
+ -------------------------------------------------------------------------
402
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
403
+ -------------------------------------------------------------------------
404
+  (0.3ms) SAVEPOINT active_record_1
405
+ Post Exists (0.9ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('Slug') LIMIT 1
406
+ SQL (0.6ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "Slug"], ["created_at", "2015-10-28 23:26:54.252231"], ["updated_at", "2015-10-28 23:26:54.252231"]]
407
+  (0.6ms) RELEASE SAVEPOINT active_record_1
408
+  (0.3ms) SAVEPOINT active_record_1
409
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
410
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
411
+  (0.2ms) ROLLBACK
412
+  (0.4ms) BEGIN
413
+ -------------------------
414
+ HumanUrlsTest: test_truth
415
+ -------------------------
416
+  (0.2ms) ROLLBACK
417
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
418
+  (0.3ms) BEGIN
419
+ ------------------------------------------------
420
+ SluggableTest: test_validates_unqiueness_of_slug
421
+ ------------------------------------------------
422
+  (0.3ms) ROLLBACK
423
+  (0.2ms) BEGIN
424
+ ----------------------------------------------
425
+ SluggableTest: test_validates_presence_of_slug
426
+ ----------------------------------------------
427
+  (0.3ms) SAVEPOINT active_record_1
428
+ SQL (0.8ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-10-28 23:30:16.060783"], ["updated_at", "2015-10-28 23:30:16.060783"]]
429
+  (0.2ms) RELEASE SAVEPOINT active_record_1
430
+  (0.3ms) ROLLBACK
431
+  (0.3ms) BEGIN
432
+ -------------------------------------------------------------------------
433
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
434
+ -------------------------------------------------------------------------
435
+  (0.2ms) SAVEPOINT active_record_1
436
+ SQL (0.5ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "Slug"], ["created_at", "2015-10-28 23:30:16.068509"], ["updated_at", "2015-10-28 23:30:16.068509"]]
437
+  (0.3ms) RELEASE SAVEPOINT active_record_1
438
+  (0.3ms) SAVEPOINT active_record_1
439
+ SQL (0.5ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-28 23:30:16.071706"], ["updated_at", "2015-10-28 23:30:16.071706"]]
440
+  (0.3ms) RELEASE SAVEPOINT active_record_1
441
+  (0.3ms) ROLLBACK
442
+  (0.2ms) BEGIN
443
+ -------------------------
444
+ HumanUrlsTest: test_truth
445
+ -------------------------
446
+  (0.2ms) ROLLBACK
447
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
448
+  (0.4ms) BEGIN
449
+ ----------------------------------------------
450
+ SluggableTest: test_#to_param_returns_the_slug
451
+ ----------------------------------------------
452
+  (0.3ms) SAVEPOINT active_record_1
453
+ Post Exists (1.4ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
454
+ SQL (0.7ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-28 23:46:27.840949"], ["updated_at", "2015-10-28 23:46:27.840949"]]
455
+  (0.2ms) RELEASE SAVEPOINT active_record_1
456
+  (0.4ms) ROLLBACK
457
+  (0.2ms) BEGIN
458
+ ------------------------------------------------
459
+ SluggableTest: test_validates_unqiueness_of_slug
460
+ ------------------------------------------------
461
+  (0.2ms) SAVEPOINT active_record_1
462
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
463
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-28 23:46:27.847312"], ["updated_at", "2015-10-28 23:46:27.847312"]]
464
+  (0.2ms) RELEASE SAVEPOINT active_record_1
465
+  (0.2ms) SAVEPOINT active_record_1
466
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
467
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
468
+  (0.3ms) ROLLBACK
469
+  (0.3ms) BEGIN
470
+ ----------------------------------------------
471
+ SluggableTest: test_validates_presence_of_slug
472
+ ----------------------------------------------
473
+  (0.2ms) SAVEPOINT active_record_1
474
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE "posts"."slug" IS NULL LIMIT 1
475
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
476
+  (0.2ms) ROLLBACK
477
+  (0.3ms) BEGIN
478
+ -------------------------------------------------------------------------
479
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
480
+ -------------------------------------------------------------------------
481
+  (0.2ms) SAVEPOINT active_record_1
482
+ Post Exists (0.7ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('Slug') LIMIT 1
483
+ SQL (0.7ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "Slug"], ["created_at", "2015-10-28 23:46:27.867362"], ["updated_at", "2015-10-28 23:46:27.867362"]]
484
+  (0.3ms) RELEASE SAVEPOINT active_record_1
485
+  (0.2ms) SAVEPOINT active_record_1
486
+ Post Exists (1.0ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
487
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
488
+  (0.2ms) ROLLBACK
489
+  (0.2ms) BEGIN
490
+ -------------------------
491
+ HumanUrlsTest: test_truth
492
+ -------------------------
493
+  (0.3ms) ROLLBACK
494
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
495
+  (0.3ms) BEGIN
496
+ -------------------------
497
+ HumanUrlsTest: test_truth
498
+ -------------------------
499
+  (0.3ms) ROLLBACK
500
+  (0.3ms) BEGIN
501
+ -------------------------------------------------------------------------
502
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
503
+ -------------------------------------------------------------------------
504
+  (0.3ms) SAVEPOINT active_record_1
505
+ Post Exists (1.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('Slug') LIMIT 1
506
+ SQL (0.9ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "Slug"], ["created_at", "2015-10-28 23:54:30.895569"], ["updated_at", "2015-10-28 23:54:30.895569"]]
507
+  (0.3ms) RELEASE SAVEPOINT active_record_1
508
+  (0.2ms) SAVEPOINT active_record_1
509
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
510
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
511
+  (0.3ms) ROLLBACK
512
+  (0.2ms) BEGIN
513
+ ------------------------------------------------
514
+ SluggableTest: test_slug_properly_formats_string
515
+ ------------------------------------------------
516
+  (0.2ms) SAVEPOINT active_record_1
517
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('This i$ my SLUG') LIMIT 1
518
+ SQL (0.3ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "This i$ my SLUG"], ["created_at", "2015-10-28 23:54:30.912500"], ["updated_at", "2015-10-28 23:54:30.912500"]]
519
+  (0.2ms) RELEASE SAVEPOINT active_record_1
520
+  (0.4ms) ROLLBACK
521
+  (0.3ms) BEGIN
522
+ ------------------------------------------------
523
+ SluggableTest: test_validates_unqiueness_of_slug
524
+ ------------------------------------------------
525
+  (0.2ms) SAVEPOINT active_record_1
526
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
527
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-28 23:54:30.917529"], ["updated_at", "2015-10-28 23:54:30.917529"]]
528
+  (0.2ms) RELEASE SAVEPOINT active_record_1
529
+  (0.2ms) SAVEPOINT active_record_1
530
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
531
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
532
+  (0.2ms) ROLLBACK
533
+  (0.2ms) BEGIN
534
+ ----------------------------------------------
535
+ SluggableTest: test_#to_param_returns_the_slug
536
+ ----------------------------------------------
537
+  (0.5ms) SAVEPOINT active_record_1
538
+ Post Exists (0.8ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
539
+ SQL (0.8ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-28 23:54:30.926990"], ["updated_at", "2015-10-28 23:54:30.926990"]]
540
+  (0.2ms) RELEASE SAVEPOINT active_record_1
541
+  (0.2ms) ROLLBACK
542
+  (0.2ms) BEGIN
543
+ ----------------------------------------------
544
+ SluggableTest: test_validates_presence_of_slug
545
+ ----------------------------------------------
546
+  (0.1ms) SAVEPOINT active_record_1
547
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."slug" IS NULL LIMIT 1
548
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
549
+  (0.2ms) ROLLBACK
550
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
551
+  (0.4ms) BEGIN
552
+ -------------------------
553
+ HumanUrlsTest: test_truth
554
+ -------------------------
555
+  (0.2ms) ROLLBACK
556
+  (0.2ms) BEGIN
557
+ ------------------------------------------------
558
+ SluggableTest: test_validates_unqiueness_of_slug
559
+ ------------------------------------------------
560
+  (0.3ms) SAVEPOINT active_record_1
561
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
562
+  (0.3ms) ROLLBACK
563
+  (0.2ms) BEGIN
564
+ ----------------------------------------------
565
+ SluggableTest: test_validates_presence_of_slug
566
+ ----------------------------------------------
567
+  (0.2ms) SAVEPOINT active_record_1
568
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
569
+  (0.2ms) ROLLBACK
570
+  (0.3ms) BEGIN
571
+ ------------------------------------------------
572
+ SluggableTest: test_slug_properly_formats_string
573
+ ------------------------------------------------
574
+  (0.3ms) SAVEPOINT active_record_1
575
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
576
+  (0.3ms) ROLLBACK
577
+  (0.3ms) BEGIN
578
+ ----------------------------------------------
579
+ SluggableTest: test_#to_param_returns_the_slug
580
+ ----------------------------------------------
581
+  (0.2ms) SAVEPOINT active_record_1
582
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
583
+  (0.5ms) ROLLBACK
584
+  (1.0ms) BEGIN
585
+ -------------------------------------------------------------------------
586
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
587
+ -------------------------------------------------------------------------
588
+  (0.2ms) SAVEPOINT active_record_1
589
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
590
+  (0.2ms) ROLLBACK
591
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
592
+  (0.4ms) BEGIN
593
+ ----------------------------------------------
594
+ SluggableTest: test_#to_param_returns_the_slug
595
+ ----------------------------------------------
596
+  (0.4ms) SAVEPOINT active_record_1
597
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
598
+  (0.3ms) ROLLBACK
599
+  (0.3ms) BEGIN
600
+ ------------------------------------------------
601
+ SluggableTest: test_validates_unqiueness_of_slug
602
+ ------------------------------------------------
603
+  (0.3ms) SAVEPOINT active_record_1
604
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
605
+  (0.2ms) ROLLBACK
606
+  (0.2ms) BEGIN
607
+ ----------------------------------------------
608
+ SluggableTest: test_validates_presence_of_slug
609
+ ----------------------------------------------
610
+  (0.2ms) SAVEPOINT active_record_1
611
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
612
+  (0.2ms) ROLLBACK
613
+  (0.2ms) BEGIN
614
+ ------------------------------------------------
615
+ SluggableTest: test_slug_properly_formats_string
616
+ ------------------------------------------------
617
+  (0.3ms) SAVEPOINT active_record_1
618
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
619
+  (0.2ms) ROLLBACK
620
+  (0.3ms) BEGIN
621
+ -------------------------------------------------------------------------
622
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
623
+ -------------------------------------------------------------------------
624
+  (0.2ms) SAVEPOINT active_record_1
625
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
626
+  (0.2ms) ROLLBACK
627
+  (0.3ms) BEGIN
628
+ -------------------------
629
+ HumanUrlsTest: test_truth
630
+ -------------------------
631
+  (0.3ms) ROLLBACK
632
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
633
+  (0.4ms) BEGIN
634
+ -------------------------
635
+ HumanUrlsTest: test_truth
636
+ -------------------------
637
+  (0.2ms) ROLLBACK
638
+  (0.2ms) BEGIN
639
+ ------------------------------------------------
640
+ SluggableTest: test_slug_properly_formats_string
641
+ ------------------------------------------------
642
+  (0.4ms) SAVEPOINT active_record_1
643
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
644
+  (0.3ms) ROLLBACK
645
+  (0.3ms) BEGIN
646
+ -------------------------------------------------------------------------
647
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
648
+ -------------------------------------------------------------------------
649
+  (0.3ms) SAVEPOINT active_record_1
650
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
651
+  (0.3ms) ROLLBACK
652
+  (0.3ms) BEGIN
653
+ ----------------------------------------------
654
+ SluggableTest: test_#to_param_returns_the_slug
655
+ ----------------------------------------------
656
+  (0.2ms) SAVEPOINT active_record_1
657
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
658
+  (0.3ms) ROLLBACK
659
+  (0.3ms) BEGIN
660
+ ------------------------------------------------
661
+ SluggableTest: test_validates_unqiueness_of_slug
662
+ ------------------------------------------------
663
+  (0.2ms) SAVEPOINT active_record_1
664
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
665
+  (0.4ms) ROLLBACK
666
+  (0.3ms) BEGIN
667
+ ----------------------------------------------
668
+ SluggableTest: test_validates_presence_of_slug
669
+ ----------------------------------------------
670
+  (0.2ms) SAVEPOINT active_record_1
671
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
672
+  (0.2ms) ROLLBACK
673
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
674
+  (0.3ms) BEGIN
675
+ -------------------------
676
+ HumanUrlsTest: test_truth
677
+ -------------------------
678
+  (0.3ms) ROLLBACK
679
+  (0.2ms) BEGIN
680
+ ----------------------------------------------
681
+ SluggableTest: test_#to_param_returns_the_slug
682
+ ----------------------------------------------
683
+  (0.4ms) SAVEPOINT active_record_1
684
+ Post Exists (1.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
685
+ SQL (0.9ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 00:06:21.463173"], ["updated_at", "2015-10-29 00:06:21.463173"]]
686
+  (0.4ms) RELEASE SAVEPOINT active_record_1
687
+  (0.6ms) ROLLBACK
688
+  (0.3ms) BEGIN
689
+ -------------------------------------------------------------------------
690
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
691
+ -------------------------------------------------------------------------
692
+  (0.2ms) SAVEPOINT active_record_1
693
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
694
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 00:06:21.472545"], ["updated_at", "2015-10-29 00:06:21.472545"]]
695
+  (0.2ms) RELEASE SAVEPOINT active_record_1
696
+  (0.3ms) SAVEPOINT active_record_1
697
+ Post Exists (0.7ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
698
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
699
+  (0.3ms) ROLLBACK
700
+  (0.2ms) BEGIN
701
+ ------------------------------------------------
702
+ SluggableTest: test_validates_unqiueness_of_slug
703
+ ------------------------------------------------
704
+  (0.2ms) SAVEPOINT active_record_1
705
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
706
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 00:06:21.482728"], ["updated_at", "2015-10-29 00:06:21.482728"]]
707
+  (0.2ms) RELEASE SAVEPOINT active_record_1
708
+  (0.2ms) SAVEPOINT active_record_1
709
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
710
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
711
+  (0.2ms) ROLLBACK
712
+  (0.2ms) BEGIN
713
+ ------------------------------------------------
714
+ SluggableTest: test_slug_properly_formats_string
715
+ ------------------------------------------------
716
+  (0.2ms) SAVEPOINT active_record_1
717
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('this-i-my-slug') LIMIT 1
718
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-10-29 00:06:21.490318"], ["updated_at", "2015-10-29 00:06:21.490318"]]
719
+  (0.3ms) RELEASE SAVEPOINT active_record_1
720
+  (0.2ms) ROLLBACK
721
+  (0.2ms) BEGIN
722
+ ----------------------------------------------
723
+ SluggableTest: test_validates_presence_of_slug
724
+ ----------------------------------------------
725
+  (0.2ms) SAVEPOINT active_record_1
726
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('') LIMIT 1
727
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
728
+  (0.2ms) ROLLBACK
729
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
730
+  (176.0ms) DROP DATABASE IF EXISTS "human_urls_test"
731
+  (426.3ms) CREATE DATABASE "human_urls_test" ENCODING = 'unicode'
732
+ SQL (2.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
733
+  (7.5ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "slug" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
734
+  (1.7ms) CREATE UNIQUE INDEX "index_posts_on_slug" ON "posts" USING btree ("slug")
735
+  (5.0ms) CREATE TABLE "taggable_w_generated_slugs" ("id" serial primary key, "title" character varying, "slug" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
736
+  (1.6ms) CREATE UNIQUE INDEX "index_taggable_w_generated_slugs_on_slug" ON "taggable_w_generated_slugs" USING btree ("slug")
737
+  (3.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
738
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
739
+  (0.7ms) SELECT version FROM "schema_migrations"
740
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20151029003656')
741
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151022230845')
742
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
743
+  (0.3ms) BEGIN
744
+ ----------------------------------------------
745
+ SluggableTest: test_#to_param_returns_the_slug
746
+ ----------------------------------------------
747
+  (0.5ms) SAVEPOINT active_record_1
748
+ Post Exists (1.3ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
749
+ SQL (0.7ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:00:36.202622"], ["updated_at", "2015-10-29 01:00:36.202622"]]
750
+  (0.2ms) RELEASE SAVEPOINT active_record_1
751
+  (0.3ms) ROLLBACK
752
+  (0.3ms) BEGIN
753
+ ------------------------------------------------
754
+ SluggableTest: test_validates_unqiueness_of_slug
755
+ ------------------------------------------------
756
+  (0.2ms) SAVEPOINT active_record_1
757
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
758
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:00:36.209789"], ["updated_at", "2015-10-29 01:00:36.209789"]]
759
+  (0.2ms) RELEASE SAVEPOINT active_record_1
760
+  (0.2ms) SAVEPOINT active_record_1
761
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
762
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
763
+  (0.2ms) ROLLBACK
764
+  (0.2ms) BEGIN
765
+ --------------------------------------------------------------------
766
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
767
+ --------------------------------------------------------------------
768
+  (0.3ms) ROLLBACK
769
+  (0.2ms) BEGIN
770
+ ------------------------------------------------------------------------
771
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
772
+ ------------------------------------------------------------------------
773
+  (0.3ms) SAVEPOINT active_record_1
774
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('this-i-my-slug') LIMIT 1
775
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-10-29 01:00:36.224867"], ["updated_at", "2015-10-29 01:00:36.224867"]]
776
+  (0.3ms) RELEASE SAVEPOINT active_record_1
777
+  (0.3ms) ROLLBACK
778
+  (0.3ms) BEGIN
779
+ -------------------------------------------------------------------------
780
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
781
+ -------------------------------------------------------------------------
782
+  (0.2ms) SAVEPOINT active_record_1
783
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
784
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:00:36.230440"], ["updated_at", "2015-10-29 01:00:36.230440"]]
785
+  (0.3ms) RELEASE SAVEPOINT active_record_1
786
+  (0.2ms) SAVEPOINT active_record_1
787
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
788
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
789
+  (0.2ms) ROLLBACK
790
+  (0.2ms) BEGIN
791
+ ----------------------------------------------
792
+ SluggableTest: test_validates_presence_of_slug
793
+ ----------------------------------------------
794
+  (0.1ms) SAVEPOINT active_record_1
795
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('') LIMIT 1
796
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
797
+  (0.2ms) ROLLBACK
798
+  (0.3ms) BEGIN
799
+ -------------------------
800
+ HumanUrlsTest: test_truth
801
+ -------------------------
802
+  (0.3ms) ROLLBACK
803
+ ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
804
+  (0.4ms) BEGIN
805
+ -------------------------
806
+ HumanUrlsTest: test_truth
807
+ -------------------------
808
+  (0.2ms) ROLLBACK
809
+  (0.2ms) BEGIN
810
+ ----------------------------------------------
811
+ SluggableTest: test_#to_param_returns_the_slug
812
+ ----------------------------------------------
813
+  (0.4ms) SAVEPOINT active_record_1
814
+ Post Exists (2.1ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
815
+ SQL (0.8ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:15:52.588338"], ["updated_at", "2015-10-29 01:15:52.588338"]]
816
+  (0.2ms) RELEASE SAVEPOINT active_record_1
817
+  (0.4ms) ROLLBACK
818
+  (0.2ms) BEGIN
819
+ --------------------------------------------------------------------
820
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
821
+ --------------------------------------------------------------------
822
+  (0.3ms) SAVEPOINT active_record_1
823
+ TaggableWGeneratedSlug Exists (1.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
824
+ SQL (1.4ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-10-29 01:15:52.604753"], ["updated_at", "2015-10-29 01:15:52.604753"]]
825
+  (0.7ms) RELEASE SAVEPOINT active_record_1
826
+  (0.3ms) ROLLBACK
827
+  (0.2ms) BEGIN
828
+ ------------------------------------------------
829
+ SluggableTest: test_validates_unqiueness_of_slug
830
+ ------------------------------------------------
831
+  (0.2ms) SAVEPOINT active_record_1
832
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
833
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:15:52.614039"], ["updated_at", "2015-10-29 01:15:52.614039"]]
834
+  (0.3ms) RELEASE SAVEPOINT active_record_1
835
+  (0.2ms) SAVEPOINT active_record_1
836
+ Post Exists (0.9ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
837
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
838
+  (0.3ms) ROLLBACK
839
+  (0.3ms) BEGIN
840
+ ------------------------------------------------------------------------
841
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
842
+ ------------------------------------------------------------------------
843
+  (0.3ms) SAVEPOINT active_record_1
844
+ Post Exists (0.9ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('this-i-my-slug') LIMIT 1
845
+ SQL (0.5ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-10-29 01:15:52.627591"], ["updated_at", "2015-10-29 01:15:52.627591"]]
846
+  (0.2ms) RELEASE SAVEPOINT active_record_1
847
+  (0.3ms) ROLLBACK
848
+  (0.3ms) BEGIN
849
+ -------------------------------------------------------------------------
850
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
851
+ -------------------------------------------------------------------------
852
+  (0.3ms) SAVEPOINT active_record_1
853
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
854
+ SQL (0.8ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:15:52.633299"], ["updated_at", "2015-10-29 01:15:52.633299"]]
855
+  (0.3ms) RELEASE SAVEPOINT active_record_1
856
+  (0.3ms) SAVEPOINT active_record_1
857
+ Post Exists (1.0ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
858
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
859
+  (0.2ms) ROLLBACK
860
+  (0.2ms) BEGIN
861
+ ----------------------------------------------
862
+ SluggableTest: test_validates_presence_of_slug
863
+ ----------------------------------------------
864
+  (0.1ms) SAVEPOINT active_record_1
865
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('') LIMIT 1
866
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
867
+  (0.1ms) ROLLBACK
868
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
869
+  (0.3ms) BEGIN
870
+ -------------------------
871
+ HumanUrlsTest: test_truth
872
+ -------------------------
873
+  (0.2ms) ROLLBACK
874
+  (0.2ms) BEGIN
875
+ ----------------------------------------------
876
+ SluggableTest: test_#to_param_returns_the_slug
877
+ ----------------------------------------------
878
+  (0.3ms) SAVEPOINT active_record_1
879
+ Post Exists (1.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
880
+ SQL (0.7ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:21:48.351845"], ["updated_at", "2015-10-29 01:21:48.351845"]]
881
+  (0.3ms) RELEASE SAVEPOINT active_record_1
882
+  (0.7ms) ROLLBACK
883
+  (0.3ms) BEGIN
884
+ --------------------------------------------------------------------
885
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
886
+ --------------------------------------------------------------------
887
+  (0.3ms) SAVEPOINT active_record_1
888
+ TaggableWGeneratedSlug Exists (1.1ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
889
+ SQL (0.6ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-10-29 01:21:48.370208"], ["updated_at", "2015-10-29 01:21:48.370208"]]
890
+  (0.3ms) RELEASE SAVEPOINT active_record_1
891
+  (0.3ms) ROLLBACK
892
+  (0.3ms) BEGIN
893
+ ------------------------------------------------------------------------
894
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
895
+ ------------------------------------------------------------------------
896
+  (0.2ms) SAVEPOINT active_record_1
897
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('this-i-my-slug') LIMIT 1
898
+ SQL (0.6ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-10-29 01:21:48.377502"], ["updated_at", "2015-10-29 01:21:48.377502"]]
899
+  (0.3ms) RELEASE SAVEPOINT active_record_1
900
+  (0.3ms) ROLLBACK
901
+  (0.2ms) BEGIN
902
+ ----------------------------------------------
903
+ SluggableTest: test_validates_presence_of_slug
904
+ ----------------------------------------------
905
+  (0.2ms) SAVEPOINT active_record_1
906
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('') LIMIT 1
907
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
908
+  (0.2ms) ROLLBACK
909
+  (0.2ms) BEGIN
910
+ -------------------------------------------------------------------------
911
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
912
+ -------------------------------------------------------------------------
913
+  (0.2ms) SAVEPOINT active_record_1
914
+ Post Exists (0.7ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
915
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:21:48.388203"], ["updated_at", "2015-10-29 01:21:48.388203"]]
916
+  (0.2ms) RELEASE SAVEPOINT active_record_1
917
+  (0.2ms) SAVEPOINT active_record_1
918
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
919
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
920
+  (0.2ms) ROLLBACK
921
+  (0.2ms) BEGIN
922
+ ------------------------------------------------
923
+ SluggableTest: test_validates_unqiueness_of_slug
924
+ ------------------------------------------------
925
+  (0.2ms) SAVEPOINT active_record_1
926
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
927
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:21:48.397800"], ["updated_at", "2015-10-29 01:21:48.397800"]]
928
+  (0.3ms) RELEASE SAVEPOINT active_record_1
929
+  (0.2ms) SAVEPOINT active_record_1
930
+ Post Exists (1.2ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
931
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
932
+  (0.2ms) ROLLBACK
933
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
934
+  (0.4ms) BEGIN
935
+ -------------------------
936
+ HumanUrlsTest: test_truth
937
+ -------------------------
938
+  (0.4ms) ROLLBACK
939
+  (0.2ms) BEGIN
940
+ ------------------------------------------------
941
+ SluggableTest: test_validates_unqiueness_of_slug
942
+ ------------------------------------------------
943
+  (0.3ms) SAVEPOINT active_record_1
944
+ Post Exists (1.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
945
+ SQL (0.8ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:22:28.743854"], ["updated_at", "2015-10-29 01:22:28.743854"]]
946
+  (0.3ms) RELEASE SAVEPOINT active_record_1
947
+  (0.3ms) SAVEPOINT active_record_1
948
+ Post Exists (0.9ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
949
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
950
+  (0.4ms) ROLLBACK
951
+  (0.3ms) BEGIN
952
+ --------------------------------------------------------------------
953
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
954
+ --------------------------------------------------------------------
955
+  (0.3ms) SAVEPOINT active_record_1
956
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
957
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-10-29 01:22:28.766751"], ["updated_at", "2015-10-29 01:22:28.766751"]]
958
+  (0.3ms) RELEASE SAVEPOINT active_record_1
959
+  (0.3ms) ROLLBACK
960
+  (0.2ms) BEGIN
961
+ ----------------------------------------------
962
+ SluggableTest: test_validates_presence_of_slug
963
+ ----------------------------------------------
964
+  (0.2ms) SAVEPOINT active_record_1
965
+ Post Exists (0.7ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('') LIMIT 1
966
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
967
+  (0.2ms) ROLLBACK
968
+  (0.2ms) BEGIN
969
+ ----------------------------------------------
970
+ SluggableTest: test_#to_param_returns_the_slug
971
+ ----------------------------------------------
972
+  (0.2ms) SAVEPOINT active_record_1
973
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
974
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:22:28.777357"], ["updated_at", "2015-10-29 01:22:28.777357"]]
975
+  (0.3ms) RELEASE SAVEPOINT active_record_1
976
+  (0.2ms) ROLLBACK
977
+  (0.2ms) BEGIN
978
+ ------------------------------------------------------------------------
979
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
980
+ ------------------------------------------------------------------------
981
+  (0.2ms) SAVEPOINT active_record_1
982
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('this-i-my-slug') LIMIT 1
983
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-10-29 01:22:28.782544"], ["updated_at", "2015-10-29 01:22:28.782544"]]
984
+  (0.2ms) RELEASE SAVEPOINT active_record_1
985
+  (0.3ms) ROLLBACK
986
+  (0.2ms) BEGIN
987
+ -------------------------------------------------------------------------
988
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
989
+ -------------------------------------------------------------------------
990
+  (0.2ms) SAVEPOINT active_record_1
991
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
992
+ SQL (0.4ms) INSERT INTO "posts" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:22:28.787491"], ["updated_at", "2015-10-29 01:22:28.787491"]]
993
+  (0.2ms) RELEASE SAVEPOINT active_record_1
994
+  (0.2ms) SAVEPOINT active_record_1
995
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE LOWER("posts"."slug") = LOWER('slug') LIMIT 1
996
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
997
+  (0.3ms) ROLLBACK
998
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
999
+  (126.0ms) DROP DATABASE IF EXISTS "human_urls_test"
1000
+  (426.6ms) CREATE DATABASE "human_urls_test" ENCODING = 'unicode'
1001
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1002
+  (7.2ms) CREATE TABLE "taggable_w_generated_slugs" ("id" serial primary key, "title" character varying, "slug" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1003
+  (1.9ms) CREATE UNIQUE INDEX "index_taggable_w_generated_slugs_on_slug" ON "taggable_w_generated_slugs" USING btree ("slug")
1004
+  (5.2ms) CREATE TABLE "taggables" ("id" serial primary key, "title" character varying, "slug" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1005
+  (1.4ms) CREATE UNIQUE INDEX "index_taggables_on_slug" ON "taggables" USING btree ("slug")
1006
+  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
1007
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1008
+  (0.6ms) SELECT version FROM "schema_migrations"
1009
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151029012517')
1010
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20151022230845')
1011
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151029003656')
1012
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1013
+  (0.4ms) BEGIN
1014
+ ----------------------------------------------
1015
+ SluggableTest: test_validates_presence_of_slug
1016
+ ----------------------------------------------
1017
+  (0.3ms) SAVEPOINT active_record_1
1018
+ Taggable Exists (1.0ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1019
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
1020
+  (0.2ms) ROLLBACK
1021
+  (0.2ms) BEGIN
1022
+ -------------------------------------------------------------------------
1023
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1024
+ -------------------------------------------------------------------------
1025
+  (0.2ms) SAVEPOINT active_record_1
1026
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1027
+ SQL (1.2ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:31:07.830220"], ["updated_at", "2015-10-29 01:31:07.830220"]]
1028
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1029
+  (0.3ms) SAVEPOINT active_record_1
1030
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1031
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1032
+  (0.4ms) ROLLBACK
1033
+  (0.2ms) BEGIN
1034
+ ------------------------------------------------------------------------
1035
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1036
+ ------------------------------------------------------------------------
1037
+  (0.2ms) SAVEPOINT active_record_1
1038
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1039
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-10-29 01:31:07.842773"], ["updated_at", "2015-10-29 01:31:07.842773"]]
1040
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1041
+  (0.2ms) ROLLBACK
1042
+  (0.2ms) BEGIN
1043
+ --------------------------------------------------------------------
1044
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1045
+ --------------------------------------------------------------------
1046
+  (0.4ms) SAVEPOINT active_record_1
1047
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1048
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-10-29 01:31:07.858981"], ["updated_at", "2015-10-29 01:31:07.858981"]]
1049
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1050
+  (0.2ms) ROLLBACK
1051
+  (0.1ms) BEGIN
1052
+ ------------------------------------------------
1053
+ SluggableTest: test_validates_unqiueness_of_slug
1054
+ ------------------------------------------------
1055
+  (0.1ms) SAVEPOINT active_record_1
1056
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1057
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:31:07.864296"], ["updated_at", "2015-10-29 01:31:07.864296"]]
1058
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1059
+  (0.1ms) SAVEPOINT active_record_1
1060
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1061
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1062
+  (0.3ms) ROLLBACK
1063
+  (0.2ms) BEGIN
1064
+ ----------------------------------------------
1065
+ SluggableTest: test_#to_param_returns_the_slug
1066
+ ----------------------------------------------
1067
+  (0.1ms) SAVEPOINT active_record_1
1068
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1069
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:31:07.871725"], ["updated_at", "2015-10-29 01:31:07.871725"]]
1070
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1071
+  (0.1ms) ROLLBACK
1072
+  (0.2ms) BEGIN
1073
+ -------------------------
1074
+ HumanUrlsTest: test_truth
1075
+ -------------------------
1076
+  (0.1ms) ROLLBACK
1077
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
1078
+  (0.3ms) BEGIN
1079
+ -------------------------
1080
+ HumanUrlsTest: test_truth
1081
+ -------------------------
1082
+  (0.2ms) ROLLBACK
1083
+  (0.1ms) BEGIN
1084
+ ----------------------------------------------
1085
+ SluggableTest: test_validates_presence_of_slug
1086
+ ----------------------------------------------
1087
+  (0.4ms) SAVEPOINT active_record_1
1088
+ Taggable Exists (1.3ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1089
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1090
+  (0.2ms) ROLLBACK
1091
+  (0.2ms) BEGIN
1092
+ --------------------------------------------------------------------
1093
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1094
+ --------------------------------------------------------------------
1095
+  (0.2ms) SAVEPOINT active_record_1
1096
+ TaggableWGeneratedSlug Exists (1.0ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1097
+ SQL (0.6ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-10-29 01:31:28.586421"], ["updated_at", "2015-10-29 01:31:28.586421"]]
1098
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1099
+  (0.4ms) ROLLBACK
1100
+  (0.2ms) BEGIN
1101
+ ------------------------------------------------------------------------
1102
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1103
+ ------------------------------------------------------------------------
1104
+  (0.2ms) SAVEPOINT active_record_1
1105
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1106
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-10-29 01:31:28.593489"], ["updated_at", "2015-10-29 01:31:28.593489"]]
1107
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1108
+  (0.4ms) ROLLBACK
1109
+  (0.2ms) BEGIN
1110
+ ----------------------------------------------
1111
+ SluggableTest: test_#to_param_returns_the_slug
1112
+ ----------------------------------------------
1113
+  (0.2ms) SAVEPOINT active_record_1
1114
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1115
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:31:28.598554"], ["updated_at", "2015-10-29 01:31:28.598554"]]
1116
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1117
+  (0.2ms) ROLLBACK
1118
+  (0.2ms) BEGIN
1119
+ ------------------------------------------------
1120
+ SluggableTest: test_validates_unqiueness_of_slug
1121
+ ------------------------------------------------
1122
+  (0.2ms) SAVEPOINT active_record_1
1123
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1124
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:31:28.603683"], ["updated_at", "2015-10-29 01:31:28.603683"]]
1125
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1126
+  (0.2ms) SAVEPOINT active_record_1
1127
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1128
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1129
+  (0.2ms) ROLLBACK
1130
+  (0.3ms) BEGIN
1131
+ -------------------------------------------------------------------------
1132
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1133
+ -------------------------------------------------------------------------
1134
+  (0.2ms) SAVEPOINT active_record_1
1135
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1136
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-10-29 01:31:28.612174"], ["updated_at", "2015-10-29 01:31:28.612174"]]
1137
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1138
+  (0.2ms) SAVEPOINT active_record_1
1139
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1140
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1141
+  (0.3ms) ROLLBACK
1142
+ ActiveRecord::SchemaMigration Load (2.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1143
+  (0.8ms) BEGIN
1144
+ ----------------------------------------------
1145
+ SluggableTest: test_#to_param_returns_the_slug
1146
+ ----------------------------------------------
1147
+  (0.9ms) SAVEPOINT active_record_1
1148
+ Taggable Exists (6.2ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1149
+ SQL (7.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-01 01:35:11.674448"], ["updated_at", "2015-11-01 01:35:11.674448"]]
1150
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1151
+  (0.6ms) ROLLBACK
1152
+  (0.3ms) BEGIN
1153
+ ----------------------------------------------
1154
+ SluggableTest: test_validates_presence_of_slug
1155
+ ----------------------------------------------
1156
+  (0.3ms) SAVEPOINT active_record_1
1157
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1158
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
1159
+  (0.4ms) ROLLBACK
1160
+  (0.2ms) BEGIN
1161
+ -------------------------------------------------------------------------
1162
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1163
+ -------------------------------------------------------------------------
1164
+  (0.3ms) SAVEPOINT active_record_1
1165
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1166
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-01 01:35:11.697284"], ["updated_at", "2015-11-01 01:35:11.697284"]]
1167
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1168
+  (0.2ms) SAVEPOINT active_record_1
1169
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1170
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1171
+  (0.3ms) ROLLBACK
1172
+  (0.2ms) BEGIN
1173
+ --------------------------------------------------------------------
1174
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1175
+ --------------------------------------------------------------------
1176
+  (0.3ms) SAVEPOINT active_record_1
1177
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1178
+ SQL (0.6ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-01 01:35:11.713588"], ["updated_at", "2015-11-01 01:35:11.713588"]]
1179
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1180
+  (0.4ms) ROLLBACK
1181
+  (0.3ms) BEGIN
1182
+ ------------------------------------------------
1183
+ SluggableTest: test_validates_unqiueness_of_slug
1184
+ ------------------------------------------------
1185
+  (0.2ms) SAVEPOINT active_record_1
1186
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1187
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-01 01:35:11.720639"], ["updated_at", "2015-11-01 01:35:11.720639"]]
1188
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1189
+  (0.2ms) SAVEPOINT active_record_1
1190
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1191
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1192
+  (0.2ms) ROLLBACK
1193
+  (0.2ms) BEGIN
1194
+ ------------------------------------------------------------------------
1195
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1196
+ ------------------------------------------------------------------------
1197
+  (0.2ms) SAVEPOINT active_record_1
1198
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1199
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-01 01:35:11.729000"], ["updated_at", "2015-11-01 01:35:11.729000"]]
1200
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1201
+  (0.2ms) ROLLBACK
1202
+  (0.2ms) BEGIN
1203
+ -------------------------
1204
+ HumanUrlsTest: test_truth
1205
+ -------------------------
1206
+  (0.2ms) ROLLBACK
1207
+ ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1208
+  (0.8ms) BEGIN
1209
+ -------------------------------------------------------------------------
1210
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_runs_without_errors
1211
+ -------------------------------------------------------------------------
1212
+  (1.1ms) ROLLBACK
1213
+  (0.2ms) BEGIN
1214
+ -------------------------
1215
+ HumanUrlsTest: test_truth
1216
+ -------------------------
1217
+  (0.2ms) ROLLBACK
1218
+  (0.2ms) BEGIN
1219
+ ----------------------------------------------
1220
+ SluggableTest: test_validates_presence_of_slug
1221
+ ----------------------------------------------
1222
+  (0.7ms) SAVEPOINT active_record_1
1223
+ Taggable Exists (8.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1224
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
1225
+  (0.3ms) ROLLBACK
1226
+  (0.3ms) BEGIN
1227
+ ------------------------------------------------
1228
+ SluggableTest: test_validates_unqiueness_of_slug
1229
+ ------------------------------------------------
1230
+  (0.3ms) SAVEPOINT active_record_1
1231
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1232
+ SQL (7.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-03 03:25:41.727163"], ["updated_at", "2015-11-03 03:25:41.727163"]]
1233
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1234
+  (0.2ms) SAVEPOINT active_record_1
1235
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1236
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1237
+  (0.3ms) ROLLBACK
1238
+  (0.2ms) BEGIN
1239
+ ----------------------------------------------
1240
+ SluggableTest: test_#to_param_returns_the_slug
1241
+ ----------------------------------------------
1242
+  (0.2ms) SAVEPOINT active_record_1
1243
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1244
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-03 03:25:41.754500"], ["updated_at", "2015-11-03 03:25:41.754500"]]
1245
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1246
+  (0.2ms) ROLLBACK
1247
+  (0.2ms) BEGIN
1248
+ -------------------------------------------------------------------------
1249
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1250
+ -------------------------------------------------------------------------
1251
+  (0.2ms) SAVEPOINT active_record_1
1252
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1253
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-03 03:25:41.759207"], ["updated_at", "2015-11-03 03:25:41.759207"]]
1254
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1255
+  (0.1ms) SAVEPOINT active_record_1
1256
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1257
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1258
+  (0.3ms) ROLLBACK
1259
+  (0.2ms) BEGIN
1260
+ --------------------------------------------------------------------
1261
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1262
+ --------------------------------------------------------------------
1263
+  (0.3ms) SAVEPOINT active_record_1
1264
+ TaggableWGeneratedSlug Exists (1.0ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1265
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-03 03:25:41.776623"], ["updated_at", "2015-11-03 03:25:41.776623"]]
1266
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1267
+  (0.2ms) ROLLBACK
1268
+  (0.3ms) BEGIN
1269
+ ------------------------------------------------------------------------
1270
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1271
+ ------------------------------------------------------------------------
1272
+  (0.2ms) SAVEPOINT active_record_1
1273
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1274
+ SQL (0.3ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-03 03:25:41.782904"], ["updated_at", "2015-11-03 03:25:41.782904"]]
1275
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1276
+  (2.0ms) ROLLBACK
1277
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1278
+  (0.3ms) BEGIN
1279
+ ----------------------------------------------
1280
+ SluggableTest: test_#to_param_returns_the_slug
1281
+ ----------------------------------------------
1282
+  (0.3ms) SAVEPOINT active_record_1
1283
+ Taggable Exists (1.1ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1284
+ SQL (2.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-03 03:36:08.649857"], ["updated_at", "2015-11-03 03:36:08.649857"]]
1285
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1286
+  (0.4ms) ROLLBACK
1287
+  (0.3ms) BEGIN
1288
+ -------------------------------------------------------------------------
1289
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1290
+ -------------------------------------------------------------------------
1291
+  (0.2ms) SAVEPOINT active_record_1
1292
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1293
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-03 03:36:08.658980"], ["updated_at", "2015-11-03 03:36:08.658980"]]
1294
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1295
+  (0.3ms) SAVEPOINT active_record_1
1296
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1297
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1298
+  (0.3ms) ROLLBACK
1299
+  (0.2ms) BEGIN
1300
+ ------------------------------------------------------------------------
1301
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1302
+ ------------------------------------------------------------------------
1303
+  (0.2ms) SAVEPOINT active_record_1
1304
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1305
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-03 03:36:08.668286"], ["updated_at", "2015-11-03 03:36:08.668286"]]
1306
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1307
+  (0.2ms) ROLLBACK
1308
+  (0.2ms) BEGIN
1309
+ ----------------------------------------------
1310
+ SluggableTest: test_validates_presence_of_slug
1311
+ ----------------------------------------------
1312
+  (0.3ms) SAVEPOINT active_record_1
1313
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1314
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1315
+  (0.3ms) ROLLBACK
1316
+  (0.3ms) BEGIN
1317
+ --------------------------------------------------------------------
1318
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1319
+ --------------------------------------------------------------------
1320
+  (0.4ms) SAVEPOINT active_record_1
1321
+ TaggableWGeneratedSlug Exists (1.1ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1322
+ SQL (0.6ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-03 03:36:08.689378"], ["updated_at", "2015-11-03 03:36:08.689378"]]
1323
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1324
+  (0.2ms) ROLLBACK
1325
+  (0.2ms) BEGIN
1326
+ ------------------------------------------------
1327
+ SluggableTest: test_validates_unqiueness_of_slug
1328
+ ------------------------------------------------
1329
+  (0.2ms) SAVEPOINT active_record_1
1330
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1331
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-03 03:36:08.696503"], ["updated_at", "2015-11-03 03:36:08.696503"]]
1332
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1333
+  (0.1ms) SAVEPOINT active_record_1
1334
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1335
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
1336
+  (0.4ms) ROLLBACK
1337
+  (0.2ms) BEGIN
1338
+ -------------------------
1339
+ HumanUrlsTest: test_truth
1340
+ -------------------------
1341
+  (0.1ms) ROLLBACK
1342
+  (0.2ms) BEGIN
1343
+ -------------------------------------------------------------------------
1344
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_runs_without_errors
1345
+ -------------------------------------------------------------------------
1346
+  (0.2ms) ROLLBACK
1347
+ ActiveRecord::SchemaMigration Load (2.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1348
+  (0.6ms) BEGIN
1349
+ ----------------------------------------------
1350
+ SluggableTest: test_validates_presence_of_slug
1351
+ ----------------------------------------------
1352
+  (0.7ms) SAVEPOINT active_record_1
1353
+ Taggable Exists (2.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1354
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1355
+  (0.7ms) ROLLBACK
1356
+  (0.3ms) BEGIN
1357
+ --------------------------------------------------------------------
1358
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1359
+ --------------------------------------------------------------------
1360
+  (0.3ms) SAVEPOINT active_record_1
1361
+ TaggableWGeneratedSlug Exists (1.2ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1362
+ SQL (13.4ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-10 18:17:41.461198"], ["updated_at", "2015-11-10 18:17:41.461198"]]
1363
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1364
+  (0.4ms) ROLLBACK
1365
+  (0.3ms) BEGIN
1366
+ ------------------------------------------------------------------------
1367
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1368
+ ------------------------------------------------------------------------
1369
+  (0.3ms) SAVEPOINT active_record_1
1370
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1371
+ SQL (2.2ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-10 18:17:41.482719"], ["updated_at", "2015-11-10 18:17:41.482719"]]
1372
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1373
+  (0.3ms) ROLLBACK
1374
+  (0.3ms) BEGIN
1375
+ -------------------------------------------------------------------------
1376
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1377
+ -------------------------------------------------------------------------
1378
+  (0.3ms) SAVEPOINT active_record_1
1379
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1380
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 18:17:41.491689"], ["updated_at", "2015-11-10 18:17:41.491689"]]
1381
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1382
+  (0.3ms) SAVEPOINT active_record_1
1383
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1384
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1385
+  (0.3ms) ROLLBACK
1386
+  (0.2ms) BEGIN
1387
+ ------------------------------------------------
1388
+ SluggableTest: test_validates_unqiueness_of_slug
1389
+ ------------------------------------------------
1390
+  (0.2ms) SAVEPOINT active_record_1
1391
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1392
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 18:17:41.500447"], ["updated_at", "2015-11-10 18:17:41.500447"]]
1393
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1394
+  (0.2ms) SAVEPOINT active_record_1
1395
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1396
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1397
+  (0.2ms) ROLLBACK
1398
+  (0.2ms) BEGIN
1399
+ ----------------------------------------------
1400
+ SluggableTest: test_#to_param_returns_the_slug
1401
+ ----------------------------------------------
1402
+  (0.2ms) SAVEPOINT active_record_1
1403
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1404
+ SQL (0.3ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 18:17:41.508322"], ["updated_at", "2015-11-10 18:17:41.508322"]]
1405
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1406
+  (0.1ms) ROLLBACK
1407
+  (0.1ms) BEGIN
1408
+ -------------------------------------------------------------------------
1409
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_runs_without_errors
1410
+ -------------------------------------------------------------------------
1411
+  (0.3ms) ROLLBACK
1412
+  (0.2ms) BEGIN
1413
+ -------------------------
1414
+ HumanUrlsTest: test_truth
1415
+ -------------------------
1416
+  (0.3ms) ROLLBACK
1417
+ ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1418
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1419
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1420
+  (0.2ms) BEGIN
1421
+ -------------------------
1422
+ HumanUrlsTest: test_truth
1423
+ -------------------------
1424
+  (0.2ms) ROLLBACK
1425
+  (0.1ms) BEGIN
1426
+ ------------------------------------------------------------------------
1427
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1428
+ ------------------------------------------------------------------------
1429
+  (0.2ms) SAVEPOINT active_record_1
1430
+ Taggable Exists (1.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1431
+ SQL (2.1ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-10 19:31:21.125771"], ["updated_at", "2015-11-10 19:31:21.125771"]]
1432
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1433
+  (0.4ms) ROLLBACK
1434
+  (0.2ms) BEGIN
1435
+ --------------------------------------------------------------------
1436
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1437
+ --------------------------------------------------------------------
1438
+  (0.2ms) SAVEPOINT active_record_1
1439
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1440
+ SQL (0.4ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-10 19:31:21.142953"], ["updated_at", "2015-11-10 19:31:21.142953"]]
1441
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1442
+  (0.2ms) ROLLBACK
1443
+  (0.2ms) BEGIN
1444
+ ----------------------------------------------
1445
+ SluggableTest: test_#to_param_returns_the_slug
1446
+ ----------------------------------------------
1447
+  (0.1ms) SAVEPOINT active_record_1
1448
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1449
+ SQL (0.3ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:31:21.148576"], ["updated_at", "2015-11-10 19:31:21.148576"]]
1450
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1451
+  (0.1ms) ROLLBACK
1452
+  (0.2ms) BEGIN
1453
+ ----------------------------------------------
1454
+ SluggableTest: test_validates_presence_of_slug
1455
+ ----------------------------------------------
1456
+  (0.1ms) SAVEPOINT active_record_1
1457
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1458
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1459
+  (0.1ms) ROLLBACK
1460
+  (0.2ms) BEGIN
1461
+ ------------------------------------------------
1462
+ SluggableTest: test_validates_unqiueness_of_slug
1463
+ ------------------------------------------------
1464
+  (0.1ms) SAVEPOINT active_record_1
1465
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1466
+ SQL (0.3ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:31:21.157307"], ["updated_at", "2015-11-10 19:31:21.157307"]]
1467
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1468
+  (0.2ms) SAVEPOINT active_record_1
1469
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1470
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1471
+  (0.2ms) ROLLBACK
1472
+  (0.2ms) BEGIN
1473
+ -------------------------------------------------------------------------
1474
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1475
+ -------------------------------------------------------------------------
1476
+  (0.1ms) SAVEPOINT active_record_1
1477
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1478
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:31:21.165957"], ["updated_at", "2015-11-10 19:31:21.165957"]]
1479
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1480
+  (0.2ms) SAVEPOINT active_record_1
1481
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1482
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1483
+  (0.2ms) ROLLBACK
1484
+  (0.2ms) BEGIN
1485
+ ------------------------------------------------------------------------------
1486
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
1487
+ ------------------------------------------------------------------------------
1488
+  (0.3ms) ROLLBACK
1489
+  (0.2ms) BEGIN
1490
+ -------------------------------------------------------------------------
1491
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_runs_without_errors
1492
+ -------------------------------------------------------------------------
1493
+  (0.3ms) ROLLBACK
1494
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1495
+  (0.3ms) BEGIN
1496
+ -------------------------
1497
+ HumanUrlsTest: test_truth
1498
+ -------------------------
1499
+  (0.2ms) ROLLBACK
1500
+  (0.2ms) BEGIN
1501
+ -------------------------------------------------------------------------
1502
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_runs_without_errors
1503
+ -------------------------------------------------------------------------
1504
+  (0.4ms) ROLLBACK
1505
+  (0.2ms) BEGIN
1506
+ ------------------------------------------------------------------------------
1507
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
1508
+ ------------------------------------------------------------------------------
1509
+  (0.3ms) ROLLBACK
1510
+  (0.3ms) BEGIN
1511
+ ----------------------------------------------
1512
+ SluggableTest: test_#to_param_returns_the_slug
1513
+ ----------------------------------------------
1514
+  (0.3ms) SAVEPOINT active_record_1
1515
+ Taggable Exists (1.0ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1516
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:31:42.661357"], ["updated_at", "2015-11-10 19:31:42.661357"]]
1517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1518
+  (0.3ms) ROLLBACK
1519
+  (0.2ms) BEGIN
1520
+ ------------------------------------------------
1521
+ SluggableTest: test_validates_unqiueness_of_slug
1522
+ ------------------------------------------------
1523
+  (0.2ms) SAVEPOINT active_record_1
1524
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1525
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:31:42.667644"], ["updated_at", "2015-11-10 19:31:42.667644"]]
1526
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1527
+  (0.1ms) SAVEPOINT active_record_1
1528
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1529
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1530
+  (0.4ms) ROLLBACK
1531
+  (0.2ms) BEGIN
1532
+ ------------------------------------------------------------------------
1533
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1534
+ ------------------------------------------------------------------------
1535
+  (0.2ms) SAVEPOINT active_record_1
1536
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1537
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-10 19:31:42.677470"], ["updated_at", "2015-11-10 19:31:42.677470"]]
1538
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1539
+  (0.3ms) ROLLBACK
1540
+  (0.3ms) BEGIN
1541
+ --------------------------------------------------------------------
1542
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1543
+ --------------------------------------------------------------------
1544
+  (0.3ms) SAVEPOINT active_record_1
1545
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1546
+ SQL (2.4ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-10 19:31:42.692823"], ["updated_at", "2015-11-10 19:31:42.692823"]]
1547
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1548
+  (0.3ms) ROLLBACK
1549
+  (0.2ms) BEGIN
1550
+ -------------------------------------------------------------------------
1551
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1552
+ -------------------------------------------------------------------------
1553
+  (0.2ms) SAVEPOINT active_record_1
1554
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1555
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:31:42.702336"], ["updated_at", "2015-11-10 19:31:42.702336"]]
1556
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1557
+  (0.3ms) SAVEPOINT active_record_1
1558
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1559
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1560
+  (0.3ms) ROLLBACK
1561
+  (0.2ms) BEGIN
1562
+ ----------------------------------------------
1563
+ SluggableTest: test_validates_presence_of_slug
1564
+ ----------------------------------------------
1565
+  (0.3ms) SAVEPOINT active_record_1
1566
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1567
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1568
+  (0.3ms) ROLLBACK
1569
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1570
+  (0.3ms) BEGIN
1571
+ -------------------------------------------------------------------------
1572
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1573
+ -------------------------------------------------------------------------
1574
+  (0.2ms) SAVEPOINT active_record_1
1575
+ Taggable Exists (1.2ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1576
+ SQL (0.9ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:32:01.522976"], ["updated_at", "2015-11-10 19:32:01.522976"]]
1577
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1578
+  (0.1ms) SAVEPOINT active_record_1
1579
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1580
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1581
+  (0.3ms) ROLLBACK
1582
+  (0.2ms) BEGIN
1583
+ ------------------------------------------------
1584
+ SluggableTest: test_validates_unqiueness_of_slug
1585
+ ------------------------------------------------
1586
+  (0.1ms) SAVEPOINT active_record_1
1587
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1588
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:32:01.533730"], ["updated_at", "2015-11-10 19:32:01.533730"]]
1589
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1590
+  (0.3ms) SAVEPOINT active_record_1
1591
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1592
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1593
+  (0.3ms) ROLLBACK
1594
+  (0.2ms) BEGIN
1595
+ --------------------------------------------------------------------
1596
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1597
+ --------------------------------------------------------------------
1598
+  (0.3ms) SAVEPOINT active_record_1
1599
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1600
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-10 19:32:01.549975"], ["updated_at", "2015-11-10 19:32:01.549975"]]
1601
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1602
+  (0.3ms) ROLLBACK
1603
+  (0.2ms) BEGIN
1604
+ ----------------------------------------------
1605
+ SluggableTest: test_#to_param_returns_the_slug
1606
+ ----------------------------------------------
1607
+  (0.2ms) SAVEPOINT active_record_1
1608
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1609
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:32:01.555574"], ["updated_at", "2015-11-10 19:32:01.555574"]]
1610
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1611
+  (0.3ms) ROLLBACK
1612
+  (0.3ms) BEGIN
1613
+ ------------------------------------------------------------------------
1614
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1615
+ ------------------------------------------------------------------------
1616
+  (0.3ms) SAVEPOINT active_record_1
1617
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1618
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-10 19:32:01.561222"], ["updated_at", "2015-11-10 19:32:01.561222"]]
1619
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1620
+  (0.2ms) ROLLBACK
1621
+  (0.2ms) BEGIN
1622
+ ----------------------------------------------
1623
+ SluggableTest: test_validates_presence_of_slug
1624
+ ----------------------------------------------
1625
+  (0.2ms) SAVEPOINT active_record_1
1626
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1627
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1628
+  (0.2ms) ROLLBACK
1629
+  (0.3ms) BEGIN
1630
+ -------------------------
1631
+ HumanUrlsTest: test_truth
1632
+ -------------------------
1633
+  (0.2ms) ROLLBACK
1634
+  (0.2ms) BEGIN
1635
+ ------------------------------------------------------------------------------
1636
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
1637
+ ------------------------------------------------------------------------------
1638
+  (0.3ms) ROLLBACK
1639
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1640
+  (0.4ms) BEGIN
1641
+ --------------------------------------------------------------------
1642
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1643
+ --------------------------------------------------------------------
1644
+  (0.4ms) SAVEPOINT active_record_1
1645
+ TaggableWGeneratedSlug Exists (1.2ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1646
+ SQL (0.6ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-10 19:32:18.329371"], ["updated_at", "2015-11-10 19:32:18.329371"]]
1647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1648
+  (0.4ms) ROLLBACK
1649
+  (0.2ms) BEGIN
1650
+ -------------------------------------------------------------------------
1651
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1652
+ -------------------------------------------------------------------------
1653
+  (0.2ms) SAVEPOINT active_record_1
1654
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1655
+ SQL (0.3ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:32:18.342794"], ["updated_at", "2015-11-10 19:32:18.342794"]]
1656
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1657
+  (0.1ms) SAVEPOINT active_record_1
1658
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1659
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1660
+  (0.2ms) ROLLBACK
1661
+  (0.2ms) BEGIN
1662
+ ------------------------------------------------
1663
+ SluggableTest: test_validates_unqiueness_of_slug
1664
+ ------------------------------------------------
1665
+  (0.1ms) SAVEPOINT active_record_1
1666
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1667
+ SQL (0.3ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:32:18.351267"], ["updated_at", "2015-11-10 19:32:18.351267"]]
1668
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1669
+  (0.2ms) SAVEPOINT active_record_1
1670
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1671
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1672
+  (0.2ms) ROLLBACK
1673
+  (0.2ms) BEGIN
1674
+ ----------------------------------------------
1675
+ SluggableTest: test_validates_presence_of_slug
1676
+ ----------------------------------------------
1677
+  (0.2ms) SAVEPOINT active_record_1
1678
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1679
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1680
+  (0.3ms) ROLLBACK
1681
+  (0.2ms) BEGIN
1682
+ ------------------------------------------------------------------------
1683
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1684
+ ------------------------------------------------------------------------
1685
+  (0.2ms) SAVEPOINT active_record_1
1686
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1687
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-10 19:32:18.363471"], ["updated_at", "2015-11-10 19:32:18.363471"]]
1688
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1689
+  (0.3ms) ROLLBACK
1690
+  (0.2ms) BEGIN
1691
+ ----------------------------------------------
1692
+ SluggableTest: test_#to_param_returns_the_slug
1693
+ ----------------------------------------------
1694
+  (0.2ms) SAVEPOINT active_record_1
1695
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1696
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:32:18.368553"], ["updated_at", "2015-11-10 19:32:18.368553"]]
1697
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1698
+  (0.2ms) ROLLBACK
1699
+  (0.2ms) BEGIN
1700
+ -------------------------
1701
+ HumanUrlsTest: test_truth
1702
+ -------------------------
1703
+  (0.2ms) ROLLBACK
1704
+  (0.2ms) BEGIN
1705
+ ------------------------------------------------------------------------------
1706
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
1707
+ ------------------------------------------------------------------------------
1708
+  (0.4ms) ROLLBACK
1709
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
1710
+  (0.3ms) BEGIN
1711
+ -------------------------
1712
+ HumanUrlsTest: test_truth
1713
+ -------------------------
1714
+  (0.2ms) ROLLBACK
1715
+  (0.2ms) BEGIN
1716
+ ------------------------------------------------------------------------
1717
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1718
+ ------------------------------------------------------------------------
1719
+  (0.3ms) SAVEPOINT active_record_1
1720
+ Taggable Exists (1.1ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1721
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-10 19:34:53.152538"], ["updated_at", "2015-11-10 19:34:53.152538"]]
1722
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1723
+  (0.4ms) ROLLBACK
1724
+  (0.2ms) BEGIN
1725
+ --------------------------------------------------------------------
1726
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1727
+ --------------------------------------------------------------------
1728
+  (0.3ms) SAVEPOINT active_record_1
1729
+ TaggableWGeneratedSlug Exists (1.1ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1730
+ SQL (0.6ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-10 19:34:53.166316"], ["updated_at", "2015-11-10 19:34:53.166316"]]
1731
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1732
+  (0.2ms) ROLLBACK
1733
+  (0.2ms) BEGIN
1734
+ ----------------------------------------------
1735
+ SluggableTest: test_#to_param_returns_the_slug
1736
+ ----------------------------------------------
1737
+  (0.2ms) SAVEPOINT active_record_1
1738
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1739
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:34:53.173091"], ["updated_at", "2015-11-10 19:34:53.173091"]]
1740
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1741
+  (0.1ms) ROLLBACK
1742
+  (0.2ms) BEGIN
1743
+ ----------------------------------------------
1744
+ SluggableTest: test_validates_presence_of_slug
1745
+ ----------------------------------------------
1746
+  (0.1ms) SAVEPOINT active_record_1
1747
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1748
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1749
+  (0.2ms) ROLLBACK
1750
+  (0.2ms) BEGIN
1751
+ ------------------------------------------------
1752
+ SluggableTest: test_validates_unqiueness_of_slug
1753
+ ------------------------------------------------
1754
+  (0.1ms) SAVEPOINT active_record_1
1755
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1756
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:34:53.182490"], ["updated_at", "2015-11-10 19:34:53.182490"]]
1757
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1758
+  (0.1ms) SAVEPOINT active_record_1
1759
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1760
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1761
+  (0.2ms) ROLLBACK
1762
+  (0.2ms) BEGIN
1763
+ -------------------------------------------------------------------------
1764
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1765
+ -------------------------------------------------------------------------
1766
+  (0.1ms) SAVEPOINT active_record_1
1767
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1768
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:34:53.190468"], ["updated_at", "2015-11-10 19:34:53.190468"]]
1769
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1770
+  (0.2ms) SAVEPOINT active_record_1
1771
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1772
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1773
+  (0.2ms) ROLLBACK
1774
+  (0.2ms) BEGIN
1775
+ ------------------------------------------------------------------------------
1776
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
1777
+ ------------------------------------------------------------------------------
1778
+  (0.3ms) ROLLBACK
1779
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1780
+  (0.3ms) BEGIN
1781
+ ------------------------------------------------------------------------------
1782
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
1783
+ ------------------------------------------------------------------------------
1784
+  (0.2ms) ROLLBACK
1785
+  (0.2ms) BEGIN
1786
+ ------------------------------------------------------------------------
1787
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1788
+ ------------------------------------------------------------------------
1789
+  (0.3ms) SAVEPOINT active_record_1
1790
+ Taggable Exists (1.1ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1791
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-10 19:36:19.143325"], ["updated_at", "2015-11-10 19:36:19.143325"]]
1792
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1793
+  (0.4ms) ROLLBACK
1794
+  (0.2ms) BEGIN
1795
+ ----------------------------------------------
1796
+ SluggableTest: test_#to_param_returns_the_slug
1797
+ ----------------------------------------------
1798
+  (0.2ms) SAVEPOINT active_record_1
1799
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1800
+ SQL (0.3ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:36:19.149640"], ["updated_at", "2015-11-10 19:36:19.149640"]]
1801
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1802
+  (0.2ms) ROLLBACK
1803
+  (0.1ms) BEGIN
1804
+ ----------------------------------------------
1805
+ SluggableTest: test_validates_presence_of_slug
1806
+ ----------------------------------------------
1807
+  (0.1ms) SAVEPOINT active_record_1
1808
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1809
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1810
+  (0.1ms) ROLLBACK
1811
+  (0.2ms) BEGIN
1812
+ --------------------------------------------------------------------
1813
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1814
+ --------------------------------------------------------------------
1815
+  (0.3ms) SAVEPOINT active_record_1
1816
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1817
+ SQL (0.4ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-10 19:36:19.166264"], ["updated_at", "2015-11-10 19:36:19.166264"]]
1818
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1819
+  (0.2ms) ROLLBACK
1820
+  (0.2ms) BEGIN
1821
+ -------------------------------------------------------------------------
1822
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1823
+ -------------------------------------------------------------------------
1824
+  (0.2ms) SAVEPOINT active_record_1
1825
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1826
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:36:19.172349"], ["updated_at", "2015-11-10 19:36:19.172349"]]
1827
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1828
+  (0.1ms) SAVEPOINT active_record_1
1829
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1830
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1831
+  (0.1ms) ROLLBACK
1832
+  (0.2ms) BEGIN
1833
+ ------------------------------------------------
1834
+ SluggableTest: test_validates_unqiueness_of_slug
1835
+ ------------------------------------------------
1836
+  (0.1ms) SAVEPOINT active_record_1
1837
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1838
+ SQL (0.3ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 19:36:19.179409"], ["updated_at", "2015-11-10 19:36:19.179409"]]
1839
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1840
+  (0.2ms) SAVEPOINT active_record_1
1841
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1842
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1843
+  (0.2ms) ROLLBACK
1844
+  (0.1ms) BEGIN
1845
+ -------------------------
1846
+ HumanUrlsTest: test_truth
1847
+ -------------------------
1848
+  (0.1ms) ROLLBACK
1849
+ ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1850
+  (0.2ms) BEGIN
1851
+ ----------------------------------------------
1852
+ SluggableTest: test_#to_param_returns_the_slug
1853
+ ----------------------------------------------
1854
+  (0.2ms) SAVEPOINT active_record_1
1855
+ Taggable Exists (1.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1856
+ SQL (0.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 21:31:18.910863"], ["updated_at", "2015-11-10 21:31:18.910863"]]
1857
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1858
+  (0.4ms) ROLLBACK
1859
+  (0.2ms) BEGIN
1860
+ --------------------------------------------------------------------
1861
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1862
+ --------------------------------------------------------------------
1863
+  (0.2ms) SAVEPOINT active_record_1
1864
+ TaggableWGeneratedSlug Exists (0.9ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1865
+ SQL (0.4ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-10 21:31:18.925627"], ["updated_at", "2015-11-10 21:31:18.925627"]]
1866
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1867
+  (0.2ms) ROLLBACK
1868
+  (0.2ms) BEGIN
1869
+ ------------------------------------------------------------------------
1870
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1871
+ ------------------------------------------------------------------------
1872
+  (0.1ms) SAVEPOINT active_record_1
1873
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1874
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-10 21:31:18.931306"], ["updated_at", "2015-11-10 21:31:18.931306"]]
1875
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1876
+  (0.2ms) ROLLBACK
1877
+  (0.2ms) BEGIN
1878
+ ------------------------------------------------
1879
+ SluggableTest: test_validates_unqiueness_of_slug
1880
+ ------------------------------------------------
1881
+  (0.1ms) SAVEPOINT active_record_1
1882
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1883
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 21:31:18.936570"], ["updated_at", "2015-11-10 21:31:18.936570"]]
1884
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1885
+  (0.1ms) SAVEPOINT active_record_1
1886
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1887
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1888
+  (0.2ms) ROLLBACK
1889
+  (0.1ms) BEGIN
1890
+ -------------------------------------------------------------------------
1891
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1892
+ -------------------------------------------------------------------------
1893
+  (0.2ms) SAVEPOINT active_record_1
1894
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1895
+ SQL (0.3ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 21:31:18.944843"], ["updated_at", "2015-11-10 21:31:18.944843"]]
1896
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1897
+  (0.1ms) SAVEPOINT active_record_1
1898
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1899
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1900
+  (0.2ms) ROLLBACK
1901
+  (0.2ms) BEGIN
1902
+ ----------------------------------------------
1903
+ SluggableTest: test_validates_presence_of_slug
1904
+ ----------------------------------------------
1905
+  (0.2ms) SAVEPOINT active_record_1
1906
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1907
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1908
+  (0.1ms) ROLLBACK
1909
+  (0.2ms) BEGIN
1910
+ -------------------------
1911
+ HumanUrlsTest: test_truth
1912
+ -------------------------
1913
+  (0.2ms) ROLLBACK
1914
+  (0.2ms) BEGIN
1915
+ ------------------------------------------------------------------------------
1916
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
1917
+ ------------------------------------------------------------------------------
1918
+  (0.3ms) ROLLBACK
1919
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1920
+  (0.4ms) BEGIN
1921
+ -------------------------
1922
+ HumanUrlsTest: test_truth
1923
+ -------------------------
1924
+  (0.4ms) ROLLBACK
1925
+  (0.2ms) BEGIN
1926
+ --------------------------------------------------------------------
1927
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
1928
+ --------------------------------------------------------------------
1929
+  (0.4ms) SAVEPOINT active_record_1
1930
+ TaggableWGeneratedSlug Exists (1.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
1931
+ SQL (0.8ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-10 21:32:32.516245"], ["updated_at", "2015-11-10 21:32:32.516245"]]
1932
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1933
+  (0.4ms) ROLLBACK
1934
+  (0.2ms) BEGIN
1935
+ ------------------------------------------------
1936
+ SluggableTest: test_validates_unqiueness_of_slug
1937
+ ------------------------------------------------
1938
+  (0.2ms) SAVEPOINT active_record_1
1939
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1940
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 21:32:32.531491"], ["updated_at", "2015-11-10 21:32:32.531491"]]
1941
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1942
+  (0.1ms) SAVEPOINT active_record_1
1943
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1944
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1945
+  (0.2ms) ROLLBACK
1946
+  (0.2ms) BEGIN
1947
+ ------------------------------------------------------------------------
1948
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
1949
+ ------------------------------------------------------------------------
1950
+  (0.2ms) SAVEPOINT active_record_1
1951
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
1952
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-10 21:32:32.540708"], ["updated_at", "2015-11-10 21:32:32.540708"]]
1953
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1954
+  (0.2ms) ROLLBACK
1955
+  (0.2ms) BEGIN
1956
+ ----------------------------------------------
1957
+ SluggableTest: test_validates_presence_of_slug
1958
+ ----------------------------------------------
1959
+  (0.1ms) SAVEPOINT active_record_1
1960
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
1961
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1962
+  (0.2ms) ROLLBACK
1963
+  (0.2ms) BEGIN
1964
+ ----------------------------------------------
1965
+ SluggableTest: test_#to_param_returns_the_slug
1966
+ ----------------------------------------------
1967
+  (0.1ms) SAVEPOINT active_record_1
1968
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1969
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 21:32:32.549403"], ["updated_at", "2015-11-10 21:32:32.549403"]]
1970
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1971
+  (0.3ms) ROLLBACK
1972
+  (0.2ms) BEGIN
1973
+ -------------------------------------------------------------------------
1974
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
1975
+ -------------------------------------------------------------------------
1976
+  (0.3ms) SAVEPOINT active_record_1
1977
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1978
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-10 21:32:32.555107"], ["updated_at", "2015-11-10 21:32:32.555107"]]
1979
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1980
+  (0.2ms) SAVEPOINT active_record_1
1981
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
1982
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1983
+  (0.3ms) ROLLBACK
1984
+  (0.3ms) BEGIN
1985
+ ------------------------------------------------------------------------------
1986
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
1987
+ ------------------------------------------------------------------------------
1988
+  (0.4ms) ROLLBACK
1989
+  (0.2ms) BEGIN
1990
+ ------------------------------------------------------------------------------------------------------------
1991
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
1992
+ ------------------------------------------------------------------------------------------------------------
1993
+  (0.5ms) ROLLBACK
1994
+ ActiveRecord::SchemaMigration Load (2.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1995
+ ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1996
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1997
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1998
+  (1.2ms) BEGIN
1999
+ -------------------------
2000
+ HumanUrlsTest: test_truth
2001
+ -------------------------
2002
+  (1.0ms) ROLLBACK
2003
+  (0.2ms) BEGIN
2004
+ ------------------------------------------------------------------------------
2005
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2006
+ ------------------------------------------------------------------------------
2007
+  (0.4ms) ROLLBACK
2008
+  (0.2ms) BEGIN
2009
+ ------------------------------------------------------------------------------------------------------------
2010
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2011
+ ------------------------------------------------------------------------------------------------------------
2012
+  (0.3ms) ROLLBACK
2013
+  (0.2ms) BEGIN
2014
+ ------------------------------------------------
2015
+ SluggableTest: test_validates_unqiueness_of_slug
2016
+ ------------------------------------------------
2017
+  (0.9ms) SAVEPOINT active_record_1
2018
+ Taggable Exists (9.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2019
+ SQL (11.0ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 21:27:02.756387"], ["updated_at", "2015-11-11 21:27:02.756387"]]
2020
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2021
+  (0.3ms) SAVEPOINT active_record_1
2022
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2023
+  (1.4ms) ROLLBACK TO SAVEPOINT active_record_1
2024
+  (0.4ms) ROLLBACK
2025
+  (0.3ms) BEGIN
2026
+ ------------------------------------------------------------------------
2027
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2028
+ ------------------------------------------------------------------------
2029
+  (0.3ms) SAVEPOINT active_record_1
2030
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2031
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 21:27:02.785073"], ["updated_at", "2015-11-11 21:27:02.785073"]]
2032
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2033
+  (0.4ms) ROLLBACK
2034
+  (0.3ms) BEGIN
2035
+ --------------------------------------------------------------------
2036
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2037
+ --------------------------------------------------------------------
2038
+  (0.3ms) SAVEPOINT active_record_1
2039
+ TaggableWGeneratedSlug Exists (1.0ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2040
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 21:27:02.800424"], ["updated_at", "2015-11-11 21:27:02.800424"]]
2041
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2042
+  (0.3ms) ROLLBACK
2043
+  (0.2ms) BEGIN
2044
+ ----------------------------------------------
2045
+ SluggableTest: test_#to_param_returns_the_slug
2046
+ ----------------------------------------------
2047
+  (0.2ms) SAVEPOINT active_record_1
2048
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2049
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 21:27:02.806496"], ["updated_at", "2015-11-11 21:27:02.806496"]]
2050
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2051
+  (0.3ms) ROLLBACK
2052
+  (0.3ms) BEGIN
2053
+ -------------------------------------------------------------------------
2054
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2055
+ -------------------------------------------------------------------------
2056
+  (0.3ms) SAVEPOINT active_record_1
2057
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2058
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 21:27:02.811885"], ["updated_at", "2015-11-11 21:27:02.811885"]]
2059
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2060
+  (0.2ms) SAVEPOINT active_record_1
2061
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2062
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2063
+  (0.2ms) ROLLBACK
2064
+  (0.2ms) BEGIN
2065
+ ----------------------------------------------
2066
+ SluggableTest: test_validates_presence_of_slug
2067
+ ----------------------------------------------
2068
+  (0.2ms) SAVEPOINT active_record_1
2069
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2070
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2071
+  (0.2ms) ROLLBACK
2072
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
2073
+  (0.3ms) BEGIN
2074
+ ----------------------------------------------
2075
+ SluggableTest: test_#to_param_returns_the_slug
2076
+ ----------------------------------------------
2077
+  (0.3ms) SAVEPOINT active_record_1
2078
+ Taggable Exists (1.2ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2079
+ SQL (0.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 21:27:34.978912"], ["updated_at", "2015-11-11 21:27:34.978912"]]
2080
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2081
+  (0.4ms) ROLLBACK
2082
+  (0.2ms) BEGIN
2083
+ ----------------------------------------------
2084
+ SluggableTest: test_validates_presence_of_slug
2085
+ ----------------------------------------------
2086
+  (0.1ms) SAVEPOINT active_record_1
2087
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2088
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2089
+  (0.3ms) ROLLBACK
2090
+  (0.2ms) BEGIN
2091
+ ------------------------------------------------
2092
+ SluggableTest: test_validates_unqiueness_of_slug
2093
+ ------------------------------------------------
2094
+  (0.3ms) SAVEPOINT active_record_1
2095
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2096
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 21:27:34.992380"], ["updated_at", "2015-11-11 21:27:34.992380"]]
2097
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2098
+  (0.2ms) SAVEPOINT active_record_1
2099
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2100
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2101
+  (0.3ms) ROLLBACK
2102
+  (0.2ms) BEGIN
2103
+ --------------------------------------------------------------------
2104
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2105
+ --------------------------------------------------------------------
2106
+  (0.3ms) SAVEPOINT active_record_1
2107
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2108
+ SQL (0.7ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 21:27:35.010007"], ["updated_at", "2015-11-11 21:27:35.010007"]]
2109
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2110
+  (0.3ms) ROLLBACK
2111
+  (0.3ms) BEGIN
2112
+ ------------------------------------------------------------------------
2113
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2114
+ ------------------------------------------------------------------------
2115
+  (0.3ms) SAVEPOINT active_record_1
2116
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2117
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 21:27:35.016875"], ["updated_at", "2015-11-11 21:27:35.016875"]]
2118
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2119
+  (0.3ms) ROLLBACK
2120
+  (0.2ms) BEGIN
2121
+ -------------------------------------------------------------------------
2122
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2123
+ -------------------------------------------------------------------------
2124
+  (0.2ms) SAVEPOINT active_record_1
2125
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2126
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 21:27:35.022537"], ["updated_at", "2015-11-11 21:27:35.022537"]]
2127
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2128
+  (0.2ms) SAVEPOINT active_record_1
2129
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2130
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2131
+  (0.2ms) ROLLBACK
2132
+  (0.3ms) BEGIN
2133
+ -------------------------
2134
+ HumanUrlsTest: test_truth
2135
+ -------------------------
2136
+  (0.2ms) ROLLBACK
2137
+  (0.2ms) BEGIN
2138
+ ------------------------------------------------------------------------------
2139
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2140
+ ------------------------------------------------------------------------------
2141
+  (0.3ms) ROLLBACK
2142
+  (0.2ms) BEGIN
2143
+ ------------------------------------------------------------------------------------------------------------
2144
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2145
+ ------------------------------------------------------------------------------------------------------------
2146
+  (0.3ms) ROLLBACK
2147
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
2148
+  (0.3ms) BEGIN
2149
+ -------------------------
2150
+ HumanUrlsTest: test_truth
2151
+ -------------------------
2152
+  (0.2ms) ROLLBACK
2153
+  (0.2ms) BEGIN
2154
+ ----------------------------------------------
2155
+ SluggableTest: test_#to_param_returns_the_slug
2156
+ ----------------------------------------------
2157
+  (0.3ms) SAVEPOINT active_record_1
2158
+ Taggable Exists (1.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2159
+ SQL (0.8ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 21:27:59.935536"], ["updated_at", "2015-11-11 21:27:59.935536"]]
2160
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2161
+  (0.5ms) ROLLBACK
2162
+  (0.3ms) BEGIN
2163
+ -------------------------------------------------------------------------
2164
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2165
+ -------------------------------------------------------------------------
2166
+  (0.2ms) SAVEPOINT active_record_1
2167
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2168
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 21:27:59.943473"], ["updated_at", "2015-11-11 21:27:59.943473"]]
2169
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2170
+  (0.3ms) SAVEPOINT active_record_1
2171
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2172
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2173
+  (0.4ms) ROLLBACK
2174
+  (0.2ms) BEGIN
2175
+ ------------------------------------------------------------------------
2176
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2177
+ ------------------------------------------------------------------------
2178
+  (0.3ms) SAVEPOINT active_record_1
2179
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2180
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 21:27:59.953560"], ["updated_at", "2015-11-11 21:27:59.953560"]]
2181
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2182
+  (0.2ms) ROLLBACK
2183
+  (0.2ms) BEGIN
2184
+ ----------------------------------------------
2185
+ SluggableTest: test_validates_presence_of_slug
2186
+ ----------------------------------------------
2187
+  (0.3ms) SAVEPOINT active_record_1
2188
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2189
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2190
+  (0.2ms) ROLLBACK
2191
+  (0.2ms) BEGIN
2192
+ ------------------------------------------------
2193
+ SluggableTest: test_validates_unqiueness_of_slug
2194
+ ------------------------------------------------
2195
+  (0.2ms) SAVEPOINT active_record_1
2196
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2197
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 21:27:59.962700"], ["updated_at", "2015-11-11 21:27:59.962700"]]
2198
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2199
+  (0.3ms) SAVEPOINT active_record_1
2200
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2201
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2202
+  (0.3ms) ROLLBACK
2203
+  (0.3ms) BEGIN
2204
+ --------------------------------------------------------------------
2205
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2206
+ --------------------------------------------------------------------
2207
+  (0.3ms) SAVEPOINT active_record_1
2208
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2209
+ SQL (2.1ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 21:27:59.981615"], ["updated_at", "2015-11-11 21:27:59.981615"]]
2210
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2211
+  (0.3ms) ROLLBACK
2212
+  (0.1ms) BEGIN
2213
+ ------------------------------------------------------------------------------
2214
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2215
+ ------------------------------------------------------------------------------
2216
+  (0.3ms) ROLLBACK
2217
+  (0.3ms) BEGIN
2218
+ ------------------------------------------------------------------------------------------------------------
2219
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2220
+ ------------------------------------------------------------------------------------------------------------
2221
+  (0.3ms) ROLLBACK
2222
+ ActiveRecord::SchemaMigration Load (1.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
2223
+  (2.4ms) BEGIN
2224
+ -------------------------
2225
+ HumanUrlsTest: test_truth
2226
+ -------------------------
2227
+  (1.0ms) ROLLBACK
2228
+  (0.2ms) BEGIN
2229
+ ----------------------------------------------
2230
+ SluggableTest: test_validates_presence_of_slug
2231
+ ----------------------------------------------
2232
+  (0.7ms) SAVEPOINT active_record_1
2233
+ Taggable Exists (3.3ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2234
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
2235
+  (0.3ms) ROLLBACK
2236
+  (0.2ms) BEGIN
2237
+ -------------------------------------------------------------------------
2238
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2239
+ -------------------------------------------------------------------------
2240
+  (0.2ms) SAVEPOINT active_record_1
2241
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2242
+ SQL (5.9ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:33:23.680761"], ["updated_at", "2015-11-11 22:33:23.680761"]]
2243
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2244
+  (0.2ms) SAVEPOINT active_record_1
2245
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2246
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2247
+  (0.3ms) ROLLBACK
2248
+  (0.2ms) BEGIN
2249
+ ------------------------------------------------------------------------
2250
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2251
+ ------------------------------------------------------------------------
2252
+  (0.2ms) SAVEPOINT active_record_1
2253
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2254
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 22:33:23.705800"], ["updated_at", "2015-11-11 22:33:23.705800"]]
2255
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2256
+  (0.2ms) ROLLBACK
2257
+  (0.2ms) BEGIN
2258
+ --------------------------------------------------------------------
2259
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2260
+ --------------------------------------------------------------------
2261
+  (0.3ms) SAVEPOINT active_record_1
2262
+ TaggableWGeneratedSlug Exists (1.0ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2263
+ SQL (0.6ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 22:33:23.721181"], ["updated_at", "2015-11-11 22:33:23.721181"]]
2264
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2265
+  (0.2ms) ROLLBACK
2266
+  (0.2ms) BEGIN
2267
+ ----------------------------------------------
2268
+ SluggableTest: test_#to_param_returns_the_slug
2269
+ ----------------------------------------------
2270
+  (0.2ms) SAVEPOINT active_record_1
2271
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2272
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:33:23.727782"], ["updated_at", "2015-11-11 22:33:23.727782"]]
2273
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2274
+  (0.2ms) ROLLBACK
2275
+  (0.2ms) BEGIN
2276
+ ------------------------------------------------
2277
+ SluggableTest: test_validates_unqiueness_of_slug
2278
+ ------------------------------------------------
2279
+  (0.2ms) SAVEPOINT active_record_1
2280
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2281
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:33:23.733552"], ["updated_at", "2015-11-11 22:33:23.733552"]]
2282
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2283
+  (0.2ms) SAVEPOINT active_record_1
2284
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2285
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2286
+  (0.2ms) ROLLBACK
2287
+  (0.2ms) BEGIN
2288
+ ------------------------------------------------------------------------------
2289
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2290
+ ------------------------------------------------------------------------------
2291
+  (0.3ms) ROLLBACK
2292
+  (0.2ms) BEGIN
2293
+ ------------------------------------------------------------------------------------------------------------
2294
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2295
+ ------------------------------------------------------------------------------------------------------------
2296
+  (2.2ms) ROLLBACK
2297
+ ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
2298
+  (0.3ms) BEGIN
2299
+ -------------------------
2300
+ HumanUrlsTest: test_truth
2301
+ -------------------------
2302
+  (0.3ms) ROLLBACK
2303
+  (0.2ms) BEGIN
2304
+ ------------------------------------------------
2305
+ SluggableTest: test_validates_unqiueness_of_slug
2306
+ ------------------------------------------------
2307
+  (0.3ms) SAVEPOINT active_record_1
2308
+ Taggable Exists (1.3ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2309
+ SQL (2.2ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:34:07.739764"], ["updated_at", "2015-11-11 22:34:07.739764"]]
2310
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2311
+  (0.3ms) SAVEPOINT active_record_1
2312
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2313
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
2314
+  (0.3ms) ROLLBACK
2315
+  (0.2ms) BEGIN
2316
+ ----------------------------------------------
2317
+ SluggableTest: test_#to_param_returns_the_slug
2318
+ ----------------------------------------------
2319
+  (0.3ms) SAVEPOINT active_record_1
2320
+ Taggable Exists (0.9ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2321
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:34:07.755342"], ["updated_at", "2015-11-11 22:34:07.755342"]]
2322
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2323
+  (0.2ms) ROLLBACK
2324
+  (0.2ms) BEGIN
2325
+ ----------------------------------------------
2326
+ SluggableTest: test_validates_presence_of_slug
2327
+ ----------------------------------------------
2328
+  (0.2ms) SAVEPOINT active_record_1
2329
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2330
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2331
+  (0.2ms) ROLLBACK
2332
+  (0.2ms) BEGIN
2333
+ -------------------------------------------------------------------------
2334
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2335
+ -------------------------------------------------------------------------
2336
+  (0.2ms) SAVEPOINT active_record_1
2337
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2338
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:34:07.765050"], ["updated_at", "2015-11-11 22:34:07.765050"]]
2339
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2340
+  (0.2ms) SAVEPOINT active_record_1
2341
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2342
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2343
+  (0.3ms) ROLLBACK
2344
+  (0.2ms) BEGIN
2345
+ --------------------------------------------------------------------
2346
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2347
+ --------------------------------------------------------------------
2348
+  (0.3ms) SAVEPOINT active_record_1
2349
+ TaggableWGeneratedSlug Exists (0.9ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2350
+ SQL (0.7ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 22:34:07.784360"], ["updated_at", "2015-11-11 22:34:07.784360"]]
2351
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2352
+  (0.2ms) ROLLBACK
2353
+  (0.3ms) BEGIN
2354
+ ------------------------------------------------------------------------
2355
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2356
+ ------------------------------------------------------------------------
2357
+  (0.2ms) SAVEPOINT active_record_1
2358
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2359
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 22:34:07.791712"], ["updated_at", "2015-11-11 22:34:07.791712"]]
2360
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2361
+  (0.2ms) ROLLBACK
2362
+  (0.2ms) BEGIN
2363
+ ------------------------------------------------------------------------------------------------------------
2364
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2365
+ ------------------------------------------------------------------------------------------------------------
2366
+  (0.4ms) ROLLBACK
2367
+  (0.2ms) BEGIN
2368
+ ------------------------------------------------------------------------------
2369
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2370
+ ------------------------------------------------------------------------------
2371
+  (0.3ms) ROLLBACK
2372
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
2373
+  (0.4ms) BEGIN
2374
+ -------------------------
2375
+ HumanUrlsTest: test_truth
2376
+ -------------------------
2377
+  (0.2ms) ROLLBACK
2378
+  (0.2ms) BEGIN
2379
+ -------------------------------------------------------------------------
2380
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2381
+ -------------------------------------------------------------------------
2382
+  (0.3ms) SAVEPOINT active_record_1
2383
+ Taggable Exists (1.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2384
+ SQL (0.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:35:31.843037"], ["updated_at", "2015-11-11 22:35:31.843037"]]
2385
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2386
+  (0.3ms) SAVEPOINT active_record_1
2387
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2388
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2389
+  (0.4ms) ROLLBACK
2390
+  (0.2ms) BEGIN
2391
+ --------------------------------------------------------------------
2392
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2393
+ --------------------------------------------------------------------
2394
+  (0.3ms) SAVEPOINT active_record_1
2395
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2396
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 22:35:31.862389"], ["updated_at", "2015-11-11 22:35:31.862389"]]
2397
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2398
+  (0.3ms) ROLLBACK
2399
+  (0.3ms) BEGIN
2400
+ ------------------------------------------------------------------------
2401
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2402
+ ------------------------------------------------------------------------
2403
+  (0.3ms) SAVEPOINT active_record_1
2404
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2405
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 22:35:31.868294"], ["updated_at", "2015-11-11 22:35:31.868294"]]
2406
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2407
+  (0.2ms) ROLLBACK
2408
+  (0.2ms) BEGIN
2409
+ ------------------------------------------------
2410
+ SluggableTest: test_validates_unqiueness_of_slug
2411
+ ------------------------------------------------
2412
+  (0.2ms) SAVEPOINT active_record_1
2413
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2414
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:35:31.873235"], ["updated_at", "2015-11-11 22:35:31.873235"]]
2415
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2416
+  (0.3ms) SAVEPOINT active_record_1
2417
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2418
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2419
+  (0.3ms) ROLLBACK
2420
+  (0.2ms) BEGIN
2421
+ ----------------------------------------------
2422
+ SluggableTest: test_validates_presence_of_slug
2423
+ ----------------------------------------------
2424
+  (0.2ms) SAVEPOINT active_record_1
2425
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2426
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2427
+  (0.2ms) ROLLBACK
2428
+  (0.2ms) BEGIN
2429
+ ----------------------------------------------
2430
+ SluggableTest: test_#to_param_returns_the_slug
2431
+ ----------------------------------------------
2432
+  (0.3ms) SAVEPOINT active_record_1
2433
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2434
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:35:31.886325"], ["updated_at", "2015-11-11 22:35:31.886325"]]
2435
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2436
+  (0.2ms) ROLLBACK
2437
+  (0.3ms) BEGIN
2438
+ ------------------------------------------------------------------------------------------------------------
2439
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2440
+ ------------------------------------------------------------------------------------------------------------
2441
+  (0.3ms) ROLLBACK
2442
+  (0.3ms) BEGIN
2443
+ ------------------------------------------------------------------------------
2444
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2445
+ ------------------------------------------------------------------------------
2446
+  (0.2ms) ROLLBACK
2447
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
2448
+  (0.2ms) BEGIN
2449
+ -------------------------
2450
+ HumanUrlsTest: test_truth
2451
+ -------------------------
2452
+  (0.3ms) ROLLBACK
2453
+  (0.3ms) BEGIN
2454
+ ------------------------------------------------------------------------------
2455
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2456
+ ------------------------------------------------------------------------------
2457
+  (1.0ms) ROLLBACK
2458
+  (0.3ms) BEGIN
2459
+ ------------------------------------------------------------------------------------------------------------
2460
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2461
+ ------------------------------------------------------------------------------------------------------------
2462
+  (0.3ms) ROLLBACK
2463
+  (0.3ms) BEGIN
2464
+ ----------------------------------------------
2465
+ SluggableTest: test_#to_param_returns_the_slug
2466
+ ----------------------------------------------
2467
+  (0.3ms) SAVEPOINT active_record_1
2468
+ Taggable Exists (1.0ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2469
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:36:17.196577"], ["updated_at", "2015-11-11 22:36:17.196577"]]
2470
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2471
+  (0.3ms) ROLLBACK
2472
+  (0.2ms) BEGIN
2473
+ ------------------------------------------------
2474
+ SluggableTest: test_validates_unqiueness_of_slug
2475
+ ------------------------------------------------
2476
+  (0.2ms) SAVEPOINT active_record_1
2477
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2478
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:36:17.203638"], ["updated_at", "2015-11-11 22:36:17.203638"]]
2479
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2480
+  (0.2ms) SAVEPOINT active_record_1
2481
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2482
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2483
+  (0.3ms) ROLLBACK
2484
+  (0.2ms) BEGIN
2485
+ ----------------------------------------------
2486
+ SluggableTest: test_validates_presence_of_slug
2487
+ ----------------------------------------------
2488
+  (0.2ms) SAVEPOINT active_record_1
2489
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2490
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2491
+  (0.2ms) ROLLBACK
2492
+  (0.2ms) BEGIN
2493
+ -------------------------------------------------------------------------
2494
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2495
+ -------------------------------------------------------------------------
2496
+  (0.2ms) SAVEPOINT active_record_1
2497
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2498
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:36:17.219368"], ["updated_at", "2015-11-11 22:36:17.219368"]]
2499
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2500
+  (0.2ms) SAVEPOINT active_record_1
2501
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2502
+  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1
2503
+  (0.3ms) ROLLBACK
2504
+  (0.3ms) BEGIN
2505
+ --------------------------------------------------------------------
2506
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2507
+ --------------------------------------------------------------------
2508
+  (0.3ms) SAVEPOINT active_record_1
2509
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2510
+ SQL (0.4ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 22:36:17.251652"], ["updated_at", "2015-11-11 22:36:17.251652"]]
2511
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2512
+  (0.2ms) ROLLBACK
2513
+  (0.2ms) BEGIN
2514
+ ------------------------------------------------------------------------
2515
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2516
+ ------------------------------------------------------------------------
2517
+  (0.2ms) SAVEPOINT active_record_1
2518
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2519
+ SQL (0.3ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 22:36:17.256895"], ["updated_at", "2015-11-11 22:36:17.256895"]]
2520
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2521
+  (0.2ms) ROLLBACK
2522
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
2523
+  (0.3ms) BEGIN
2524
+ -------------------------
2525
+ HumanUrlsTest: test_truth
2526
+ -------------------------
2527
+  (0.2ms) ROLLBACK
2528
+  (0.2ms) BEGIN
2529
+ ----------------------------------------------
2530
+ SluggableTest: test_validates_presence_of_slug
2531
+ ----------------------------------------------
2532
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
2533
+  (0.3ms) BEGIN
2534
+ --------------------------------------------------------------------
2535
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2536
+ --------------------------------------------------------------------
2537
+  (0.3ms) SAVEPOINT active_record_1
2538
+ TaggableWGeneratedSlug Exists (1.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2539
+ SQL (0.7ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 22:38:08.571166"], ["updated_at", "2015-11-11 22:38:08.571166"]]
2540
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2541
+  (0.6ms) ROLLBACK
2542
+  (0.3ms) BEGIN
2543
+ ------------------------------------------------------------------------
2544
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2545
+ ------------------------------------------------------------------------
2546
+  (0.2ms) SAVEPOINT active_record_1
2547
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2548
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 22:38:08.586446"], ["updated_at", "2015-11-11 22:38:08.586446"]]
2549
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2550
+  (0.3ms) ROLLBACK
2551
+  (0.2ms) BEGIN
2552
+ ----------------------------------------------
2553
+ SluggableTest: test_validates_presence_of_slug
2554
+ ----------------------------------------------
2555
+  (0.2ms) SAVEPOINT active_record_1
2556
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2557
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2558
+  (0.3ms) ROLLBACK
2559
+  (0.2ms) BEGIN
2560
+ ----------------------------------------------
2561
+ SluggableTest: test_#to_param_returns_the_slug
2562
+ ----------------------------------------------
2563
+  (0.2ms) SAVEPOINT active_record_1
2564
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2565
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:38:08.596289"], ["updated_at", "2015-11-11 22:38:08.596289"]]
2566
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2567
+  (2.0ms) ROLLBACK
2568
+  (0.3ms) BEGIN
2569
+ -------------------------------------------------------------------------
2570
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2571
+ -------------------------------------------------------------------------
2572
+  (0.2ms) SAVEPOINT active_record_1
2573
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2574
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:38:08.604317"], ["updated_at", "2015-11-11 22:38:08.604317"]]
2575
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2576
+  (0.3ms) SAVEPOINT active_record_1
2577
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2578
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2579
+  (0.2ms) ROLLBACK
2580
+  (0.2ms) BEGIN
2581
+ ------------------------------------------------
2582
+ SluggableTest: test_validates_unqiueness_of_slug
2583
+ ------------------------------------------------
2584
+  (0.2ms) SAVEPOINT active_record_1
2585
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2586
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:38:08.614295"], ["updated_at", "2015-11-11 22:38:08.614295"]]
2587
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2588
+  (0.2ms) SAVEPOINT active_record_1
2589
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2590
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
2591
+  (0.6ms) ROLLBACK
2592
+  (0.1ms) BEGIN
2593
+ ------------------------------------------------------------------------------
2594
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2595
+ ------------------------------------------------------------------------------
2596
+  (0.3ms) ROLLBACK
2597
+  (0.2ms) BEGIN
2598
+ ------------------------------------------------------------------------------------------------------------
2599
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2600
+ ------------------------------------------------------------------------------------------------------------
2601
+  (0.2ms) ROLLBACK
2602
+  (0.2ms) BEGIN
2603
+ -------------------------
2604
+ HumanUrlsTest: test_truth
2605
+ -------------------------
2606
+  (0.1ms) ROLLBACK
2607
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
2608
+  (0.4ms) BEGIN
2609
+ -------------------------
2610
+ HumanUrlsTest: test_truth
2611
+ -------------------------
2612
+  (0.3ms) ROLLBACK
2613
+  (0.2ms) BEGIN
2614
+ ------------------------------------------------------------------------------------------------------------
2615
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2616
+ ------------------------------------------------------------------------------------------------------------
2617
+  (0.5ms) ROLLBACK
2618
+  (0.3ms) BEGIN
2619
+ ------------------------------------------------------------------------------
2620
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2621
+ ------------------------------------------------------------------------------
2622
+  (0.3ms) ROLLBACK
2623
+  (0.1ms) BEGIN
2624
+ ----------------------------------------------
2625
+ SluggableTest: test_#to_param_returns_the_slug
2626
+ ----------------------------------------------
2627
+  (0.3ms) SAVEPOINT active_record_1
2628
+ Taggable Exists (1.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2629
+ SQL (0.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:41:28.968825"], ["updated_at", "2015-11-11 22:41:28.968825"]]
2630
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2631
+  (0.4ms) ROLLBACK
2632
+  (0.2ms) BEGIN
2633
+ -------------------------------------------------------------------------
2634
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2635
+ -------------------------------------------------------------------------
2636
+  (0.3ms) SAVEPOINT active_record_1
2637
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2638
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:41:28.975653"], ["updated_at", "2015-11-11 22:41:28.975653"]]
2639
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2640
+  (0.2ms) SAVEPOINT active_record_1
2641
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2642
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2643
+  (0.3ms) ROLLBACK
2644
+  (0.3ms) BEGIN
2645
+ ------------------------------------------------
2646
+ SluggableTest: test_validates_unqiueness_of_slug
2647
+ ------------------------------------------------
2648
+  (0.2ms) SAVEPOINT active_record_1
2649
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2650
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:41:28.984772"], ["updated_at", "2015-11-11 22:41:28.984772"]]
2651
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2652
+  (0.3ms) SAVEPOINT active_record_1
2653
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2654
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2655
+  (0.3ms) ROLLBACK
2656
+  (0.2ms) BEGIN
2657
+ ----------------------------------------------
2658
+ SluggableTest: test_validates_presence_of_slug
2659
+ ----------------------------------------------
2660
+  (0.2ms) SAVEPOINT active_record_1
2661
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2662
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2663
+  (0.2ms) ROLLBACK
2664
+  (0.2ms) BEGIN
2665
+ --------------------------------------------------------------------
2666
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2667
+ --------------------------------------------------------------------
2668
+  (0.2ms) SAVEPOINT active_record_1
2669
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2670
+ SQL (2.2ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 22:41:29.006546"], ["updated_at", "2015-11-11 22:41:29.006546"]]
2671
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2672
+  (0.3ms) ROLLBACK
2673
+  (0.2ms) BEGIN
2674
+ ------------------------------------------------------------------------
2675
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2676
+ ------------------------------------------------------------------------
2677
+  (0.2ms) SAVEPOINT active_record_1
2678
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2679
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 22:41:29.014396"], ["updated_at", "2015-11-11 22:41:29.014396"]]
2680
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2681
+  (0.3ms) ROLLBACK
2682
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
2683
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
2684
+  (0.4ms) BEGIN
2685
+ ------------------------------------------------
2686
+ SluggableTest: test_validates_unqiueness_of_slug
2687
+ ------------------------------------------------
2688
+  (0.3ms) SAVEPOINT active_record_1
2689
+ Taggable Exists (1.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2690
+ SQL (0.8ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:43:02.344828"], ["updated_at", "2015-11-11 22:43:02.344828"]]
2691
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2692
+  (0.3ms) SAVEPOINT active_record_1
2693
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2694
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2695
+  (0.4ms) ROLLBACK
2696
+  (0.2ms) BEGIN
2697
+ -------------------------------------------------------------------------
2698
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2699
+ -------------------------------------------------------------------------
2700
+  (0.2ms) SAVEPOINT active_record_1
2701
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2702
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:43:02.357100"], ["updated_at", "2015-11-11 22:43:02.357100"]]
2703
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2704
+  (0.2ms) SAVEPOINT active_record_1
2705
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2706
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2707
+  (0.3ms) ROLLBACK
2708
+  (0.2ms) BEGIN
2709
+ ------------------------------------------------------------------------
2710
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2711
+ ------------------------------------------------------------------------
2712
+  (0.2ms) SAVEPOINT active_record_1
2713
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2714
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 22:43:02.364459"], ["updated_at", "2015-11-11 22:43:02.364459"]]
2715
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2716
+  (0.2ms) ROLLBACK
2717
+  (0.2ms) BEGIN
2718
+ ----------------------------------------------
2719
+ SluggableTest: test_#to_param_returns_the_slug
2720
+ ----------------------------------------------
2721
+  (0.2ms) SAVEPOINT active_record_1
2722
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2723
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:43:02.368661"], ["updated_at", "2015-11-11 22:43:02.368661"]]
2724
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2725
+  (0.2ms) ROLLBACK
2726
+  (0.2ms) BEGIN
2727
+ ----------------------------------------------
2728
+ SluggableTest: test_validates_presence_of_slug
2729
+ ----------------------------------------------
2730
+  (0.2ms) SAVEPOINT active_record_1
2731
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2732
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2733
+  (0.3ms) ROLLBACK
2734
+  (0.2ms) BEGIN
2735
+ --------------------------------------------------------------------
2736
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2737
+ --------------------------------------------------------------------
2738
+  (0.3ms) SAVEPOINT active_record_1
2739
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2740
+ SQL (0.4ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 22:43:02.385906"], ["updated_at", "2015-11-11 22:43:02.385906"]]
2741
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2742
+  (0.3ms) ROLLBACK
2743
+  (0.3ms) BEGIN
2744
+ ------------------------------------------------------------------------------
2745
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2746
+ ------------------------------------------------------------------------------
2747
+  (0.3ms) ROLLBACK
2748
+  (0.3ms) BEGIN
2749
+ ------------------------------------------------------------------------------------------------------------
2750
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2751
+ ------------------------------------------------------------------------------------------------------------
2752
+  (0.2ms) ROLLBACK
2753
+  (0.2ms) BEGIN
2754
+ -------------------------
2755
+ HumanUrlsTest: test_truth
2756
+ -------------------------
2757
+  (0.1ms) ROLLBACK
2758
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
2759
+  (0.3ms) BEGIN
2760
+ ------------------------------------------------------------------------
2761
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2762
+ ------------------------------------------------------------------------
2763
+  (0.3ms) SAVEPOINT active_record_1
2764
+ Taggable Exists (1.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2765
+ SQL (0.9ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 22:43:48.682883"], ["updated_at", "2015-11-11 22:43:48.682883"]]
2766
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2767
+  (0.6ms) ROLLBACK
2768
+  (0.3ms) BEGIN
2769
+ ------------------------------------------------
2770
+ SluggableTest: test_validates_unqiueness_of_slug
2771
+ ------------------------------------------------
2772
+  (0.2ms) SAVEPOINT active_record_1
2773
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2774
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:43:48.690954"], ["updated_at", "2015-11-11 22:43:48.690954"]]
2775
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2776
+  (0.2ms) SAVEPOINT active_record_1
2777
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2778
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2779
+  (0.3ms) ROLLBACK
2780
+  (0.2ms) BEGIN
2781
+ -------------------------------------------------------------------------
2782
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2783
+ -------------------------------------------------------------------------
2784
+  (0.3ms) SAVEPOINT active_record_1
2785
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2786
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:43:48.699352"], ["updated_at", "2015-11-11 22:43:48.699352"]]
2787
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2788
+  (0.3ms) SAVEPOINT active_record_1
2789
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2790
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2791
+  (0.2ms) ROLLBACK
2792
+  (0.2ms) BEGIN
2793
+ ----------------------------------------------
2794
+ SluggableTest: test_validates_presence_of_slug
2795
+ ----------------------------------------------
2796
+  (0.3ms) SAVEPOINT active_record_1
2797
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2798
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2799
+  (0.2ms) ROLLBACK
2800
+  (0.2ms) BEGIN
2801
+ --------------------------------------------------------------------
2802
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2803
+ --------------------------------------------------------------------
2804
+  (0.3ms) SAVEPOINT active_record_1
2805
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2806
+ SQL (0.4ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 22:43:48.719676"], ["updated_at", "2015-11-11 22:43:48.719676"]]
2807
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2808
+  (0.2ms) ROLLBACK
2809
+  (0.2ms) BEGIN
2810
+ ----------------------------------------------
2811
+ SluggableTest: test_#to_param_returns_the_slug
2812
+ ----------------------------------------------
2813
+  (0.2ms) SAVEPOINT active_record_1
2814
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2815
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:43:48.725634"], ["updated_at", "2015-11-11 22:43:48.725634"]]
2816
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2817
+  (0.2ms) ROLLBACK
2818
+  (0.2ms) BEGIN
2819
+ ------------------------------------------------------------------------------
2820
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2821
+ ------------------------------------------------------------------------------
2822
+  (0.4ms) ROLLBACK
2823
+  (0.3ms) BEGIN
2824
+ ------------------------------------------------------------------------------------------------------------
2825
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2826
+ ------------------------------------------------------------------------------------------------------------
2827
+  (0.3ms) ROLLBACK
2828
+  (0.1ms) BEGIN
2829
+ -------------------------
2830
+ HumanUrlsTest: test_truth
2831
+ -------------------------
2832
+  (0.1ms) ROLLBACK
2833
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
2834
+  (0.3ms) BEGIN
2835
+ -------------------------
2836
+ HumanUrlsTest: test_truth
2837
+ -------------------------
2838
+  (0.3ms) ROLLBACK
2839
+  (0.2ms) BEGIN
2840
+ ----------------------------------------------
2841
+ SluggableTest: test_#to_param_returns_the_slug
2842
+ ----------------------------------------------
2843
+  (0.3ms) SAVEPOINT active_record_1
2844
+ Taggable Exists (1.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2845
+ SQL (2.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:46:25.505486"], ["updated_at", "2015-11-11 22:46:25.505486"]]
2846
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2847
+  (0.3ms) ROLLBACK
2848
+  (0.2ms) BEGIN
2849
+ --------------------------------------------------------------------
2850
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2851
+ --------------------------------------------------------------------
2852
+  (0.3ms) SAVEPOINT active_record_1
2853
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2854
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 22:46:25.524592"], ["updated_at", "2015-11-11 22:46:25.524592"]]
2855
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2856
+  (0.2ms) ROLLBACK
2857
+  (0.2ms) BEGIN
2858
+ ----------------------------------------------
2859
+ SluggableTest: test_validates_presence_of_slug
2860
+ ----------------------------------------------
2861
+  (0.2ms) SAVEPOINT active_record_1
2862
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2863
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2864
+  (0.2ms) ROLLBACK
2865
+  (0.2ms) BEGIN
2866
+ -------------------------------------------------------------------------
2867
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2868
+ -------------------------------------------------------------------------
2869
+  (0.3ms) SAVEPOINT active_record_1
2870
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2871
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:46:25.535309"], ["updated_at", "2015-11-11 22:46:25.535309"]]
2872
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2873
+  (0.3ms) SAVEPOINT active_record_1
2874
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2875
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2876
+  (0.3ms) ROLLBACK
2877
+  (0.2ms) BEGIN
2878
+ ------------------------------------------------------------------------
2879
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2880
+ ------------------------------------------------------------------------
2881
+  (0.2ms) SAVEPOINT active_record_1
2882
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2883
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 22:46:25.544120"], ["updated_at", "2015-11-11 22:46:25.544120"]]
2884
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2885
+  (0.2ms) ROLLBACK
2886
+  (0.2ms) BEGIN
2887
+ ------------------------------------------------
2888
+ SluggableTest: test_validates_unqiueness_of_slug
2889
+ ------------------------------------------------
2890
+  (0.2ms) SAVEPOINT active_record_1
2891
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2892
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:46:25.548587"], ["updated_at", "2015-11-11 22:46:25.548587"]]
2893
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2894
+  (0.3ms) SAVEPOINT active_record_1
2895
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2896
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2897
+  (0.2ms) ROLLBACK
2898
+  (0.2ms) BEGIN
2899
+ ------------------------------------------------------------------------------
2900
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2901
+ ------------------------------------------------------------------------------
2902
+  (0.4ms) ROLLBACK
2903
+  (0.2ms) BEGIN
2904
+ ------------------------------------------------------------------------------------------------------------
2905
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2906
+ ------------------------------------------------------------------------------------------------------------
2907
+  (0.3ms) ROLLBACK
2908
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
2909
+  (0.3ms) BEGIN
2910
+ -------------------------
2911
+ HumanUrlsTest: test_truth
2912
+ -------------------------
2913
+  (0.2ms) ROLLBACK
2914
+  (0.2ms) BEGIN
2915
+ ----------------------------------------------
2916
+ SluggableTest: test_#to_param_returns_the_slug
2917
+ ----------------------------------------------
2918
+  (0.3ms) SAVEPOINT active_record_1
2919
+ Taggable Exists (1.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2920
+ SQL (0.8ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:46:59.831446"], ["updated_at", "2015-11-11 22:46:59.831446"]]
2921
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2922
+  (0.5ms) ROLLBACK
2923
+  (0.2ms) BEGIN
2924
+ ------------------------------------------------
2925
+ SluggableTest: test_validates_unqiueness_of_slug
2926
+ ------------------------------------------------
2927
+  (0.3ms) SAVEPOINT active_record_1
2928
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2929
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:46:59.840440"], ["updated_at", "2015-11-11 22:46:59.840440"]]
2930
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2931
+  (0.3ms) SAVEPOINT active_record_1
2932
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2933
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2934
+  (0.3ms) ROLLBACK
2935
+  (0.2ms) BEGIN
2936
+ ----------------------------------------------
2937
+ SluggableTest: test_validates_presence_of_slug
2938
+ ----------------------------------------------
2939
+  (0.2ms) SAVEPOINT active_record_1
2940
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2941
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
2942
+  (0.3ms) ROLLBACK
2943
+  (0.2ms) BEGIN
2944
+ -------------------------------------------------------------------------
2945
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
2946
+ -------------------------------------------------------------------------
2947
+  (0.2ms) SAVEPOINT active_record_1
2948
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2949
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-11 22:46:59.856644"], ["updated_at", "2015-11-11 22:46:59.856644"]]
2950
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2951
+  (0.3ms) SAVEPOINT active_record_1
2952
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
2953
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
2954
+  (0.3ms) ROLLBACK
2955
+  (0.2ms) BEGIN
2956
+ --------------------------------------------------------------------
2957
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
2958
+ --------------------------------------------------------------------
2959
+  (0.2ms) SAVEPOINT active_record_1
2960
+ TaggableWGeneratedSlug Exists (0.9ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
2961
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-11 22:46:59.873689"], ["updated_at", "2015-11-11 22:46:59.873689"]]
2962
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2963
+  (0.3ms) ROLLBACK
2964
+  (0.3ms) BEGIN
2965
+ ------------------------------------------------------------------------
2966
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
2967
+ ------------------------------------------------------------------------
2968
+  (0.2ms) SAVEPOINT active_record_1
2969
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
2970
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-11 22:46:59.880070"], ["updated_at", "2015-11-11 22:46:59.880070"]]
2971
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2972
+  (0.4ms) ROLLBACK
2973
+  (0.3ms) BEGIN
2974
+ ------------------------------------------------------------------------------
2975
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
2976
+ ------------------------------------------------------------------------------
2977
+  (0.3ms) ROLLBACK
2978
+  (0.2ms) BEGIN
2979
+ ------------------------------------------------------------------------------------------------------------
2980
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
2981
+ ------------------------------------------------------------------------------------------------------------
2982
+  (0.2ms) ROLLBACK
2983
+ ActiveRecord::SchemaMigration Load (2.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2984
+  (1.1ms) BEGIN
2985
+ -------------------------
2986
+ HumanUrlsTest: test_truth
2987
+ -------------------------
2988
+  (0.8ms) ROLLBACK
2989
+  (0.2ms) BEGIN
2990
+ ----------------------------------------------
2991
+ SluggableTest: test_validates_presence_of_slug
2992
+ ----------------------------------------------
2993
+  (0.8ms) SAVEPOINT active_record_1
2994
+ Taggable Exists (2.9ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
2995
+  (1.4ms) ROLLBACK TO SAVEPOINT active_record_1
2996
+  (0.3ms) ROLLBACK
2997
+  (0.2ms) BEGIN
2998
+ ------------------------------------------------------------------------
2999
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3000
+ ------------------------------------------------------------------------
3001
+  (0.2ms) SAVEPOINT active_record_1
3002
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3003
+ SQL (5.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-12 01:59:43.430416"], ["updated_at", "2015-11-12 01:59:43.430416"]]
3004
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3005
+  (0.3ms) ROLLBACK
3006
+  (0.3ms) BEGIN
3007
+ -------------------------------------------------------------------------
3008
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
3009
+ -------------------------------------------------------------------------
3010
+  (0.3ms) SAVEPOINT active_record_1
3011
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3012
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 01:59:43.452599"], ["updated_at", "2015-11-12 01:59:43.452599"]]
3013
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3014
+  (0.2ms) SAVEPOINT active_record_1
3015
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3016
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3017
+  (0.3ms) ROLLBACK
3018
+  (0.2ms) BEGIN
3019
+ ------------------------------------------------
3020
+ SluggableTest: test_validates_unqiueness_of_slug
3021
+ ------------------------------------------------
3022
+  (0.2ms) SAVEPOINT active_record_1
3023
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3024
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 01:59:43.461347"], ["updated_at", "2015-11-12 01:59:43.461347"]]
3025
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3026
+  (0.2ms) SAVEPOINT active_record_1
3027
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3028
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3029
+  (0.3ms) ROLLBACK
3030
+  (0.2ms) BEGIN
3031
+ --------------------------------------------------------------------
3032
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3033
+ --------------------------------------------------------------------
3034
+  (0.3ms) SAVEPOINT active_record_1
3035
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
3036
+ SQL (0.6ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-12 01:59:43.476782"], ["updated_at", "2015-11-12 01:59:43.476782"]]
3037
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3038
+  (0.3ms) ROLLBACK
3039
+  (0.2ms) BEGIN
3040
+ ----------------------------------------------
3041
+ SluggableTest: test_#to_param_returns_the_slug
3042
+ ----------------------------------------------
3043
+  (0.2ms) SAVEPOINT active_record_1
3044
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3045
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 01:59:43.482742"], ["updated_at", "2015-11-12 01:59:43.482742"]]
3046
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3047
+  (0.2ms) ROLLBACK
3048
+  (0.3ms) BEGIN
3049
+ ------------------------------------------------------------------------------
3050
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3051
+ ------------------------------------------------------------------------------
3052
+  (0.3ms) ROLLBACK
3053
+  (0.2ms) BEGIN
3054
+ ------------------------------------------------------------------------------------------------------------
3055
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3056
+ ------------------------------------------------------------------------------------------------------------
3057
+  (0.3ms) ROLLBACK
3058
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
3059
+  (0.3ms) BEGIN
3060
+ ----------------------------------------------
3061
+ SluggableTest: test_validates_presence_of_slug
3062
+ ----------------------------------------------
3063
+  (0.3ms) SAVEPOINT active_record_1
3064
+ Taggable Exists (1.2ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
3065
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3066
+  (0.3ms) ROLLBACK
3067
+  (0.2ms) BEGIN
3068
+ ------------------------------------------------------------------------
3069
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3070
+ ------------------------------------------------------------------------
3071
+  (0.2ms) SAVEPOINT active_record_1
3072
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3073
+ SQL (0.9ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-12 02:05:00.223625"], ["updated_at", "2015-11-12 02:05:00.223625"]]
3074
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3075
+  (0.4ms) ROLLBACK
3076
+  (0.2ms) BEGIN
3077
+ ------------------------------------------------
3078
+ SluggableTest: test_validates_unqiueness_of_slug
3079
+ ------------------------------------------------
3080
+  (0.3ms) SAVEPOINT active_record_1
3081
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3082
+ SQL (6.1ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 02:05:00.231163"], ["updated_at", "2015-11-12 02:05:00.231163"]]
3083
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3084
+  (0.2ms) SAVEPOINT active_record_1
3085
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3086
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
3087
+  (0.3ms) ROLLBACK
3088
+  (0.3ms) BEGIN
3089
+ -------------------------------------------------------------------------
3090
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
3091
+ -------------------------------------------------------------------------
3092
+  (0.2ms) SAVEPOINT active_record_1
3093
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3094
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 02:05:00.245784"], ["updated_at", "2015-11-12 02:05:00.245784"]]
3095
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3096
+  (0.3ms) SAVEPOINT active_record_1
3097
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3098
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3099
+  (0.2ms) ROLLBACK
3100
+  (0.2ms) BEGIN
3101
+ --------------------------------------------------------------------
3102
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3103
+ --------------------------------------------------------------------
3104
+  (0.3ms) SAVEPOINT active_record_1
3105
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
3106
+ SQL (0.6ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-12 02:05:00.262007"], ["updated_at", "2015-11-12 02:05:00.262007"]]
3107
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3108
+  (0.2ms) ROLLBACK
3109
+  (0.2ms) BEGIN
3110
+ ----------------------------------------------
3111
+ SluggableTest: test_#to_param_returns_the_slug
3112
+ ----------------------------------------------
3113
+  (0.2ms) SAVEPOINT active_record_1
3114
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3115
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 02:05:00.268663"], ["updated_at", "2015-11-12 02:05:00.268663"]]
3116
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3117
+  (0.2ms) ROLLBACK
3118
+  (0.3ms) BEGIN
3119
+ -------------------------
3120
+ HumanUrlsTest: test_truth
3121
+ -------------------------
3122
+  (0.3ms) ROLLBACK
3123
+  (0.2ms) BEGIN
3124
+ ------------------------------------------------------------------------------
3125
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3126
+ ------------------------------------------------------------------------------
3127
+  (0.3ms) ROLLBACK
3128
+  (0.2ms) BEGIN
3129
+ ------------------------------------------------------------------------------------------------------------
3130
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3131
+ ------------------------------------------------------------------------------------------------------------
3132
+  (0.4ms) ROLLBACK
3133
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
3134
+  (0.4ms) BEGIN
3135
+ -------------------------
3136
+ HumanUrlsTest: test_truth
3137
+ -------------------------
3138
+  (0.3ms) ROLLBACK
3139
+  (0.2ms) BEGIN
3140
+ --------------------------------------------------------------------
3141
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3142
+ --------------------------------------------------------------------
3143
+  (0.3ms) SAVEPOINT active_record_1
3144
+ TaggableWGeneratedSlug Exists (1.6ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
3145
+ SQL (0.9ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-12 02:07:31.206508"], ["updated_at", "2015-11-12 02:07:31.206508"]]
3146
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3147
+  (0.4ms) ROLLBACK
3148
+  (0.2ms) BEGIN
3149
+ ----------------------------------------------
3150
+ SluggableTest: test_#to_param_returns_the_slug
3151
+ ----------------------------------------------
3152
+  (0.3ms) SAVEPOINT active_record_1
3153
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3154
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 02:07:31.225598"], ["updated_at", "2015-11-12 02:07:31.225598"]]
3155
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3156
+  (0.3ms) ROLLBACK
3157
+  (0.2ms) BEGIN
3158
+ ------------------------------------------------------------------------
3159
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3160
+ ------------------------------------------------------------------------
3161
+  (0.3ms) SAVEPOINT active_record_1
3162
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3163
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-12 02:07:31.231656"], ["updated_at", "2015-11-12 02:07:31.231656"]]
3164
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3165
+  (0.2ms) ROLLBACK
3166
+  (0.2ms) BEGIN
3167
+ ------------------------------------------------
3168
+ SluggableTest: test_validates_unqiueness_of_slug
3169
+ ------------------------------------------------
3170
+  (0.2ms) SAVEPOINT active_record_1
3171
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3172
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 02:07:31.236355"], ["updated_at", "2015-11-12 02:07:31.236355"]]
3173
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3174
+  (0.3ms) SAVEPOINT active_record_1
3175
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3176
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3177
+  (0.3ms) ROLLBACK
3178
+  (0.2ms) BEGIN
3179
+ ----------------------------------------------
3180
+ SluggableTest: test_validates_presence_of_slug
3181
+ ----------------------------------------------
3182
+  (0.3ms) SAVEPOINT active_record_1
3183
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
3184
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
3185
+  (0.2ms) ROLLBACK
3186
+  (0.2ms) BEGIN
3187
+ -------------------------------------------------------------------------
3188
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
3189
+ -------------------------------------------------------------------------
3190
+  (0.2ms) SAVEPOINT active_record_1
3191
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3192
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 02:07:31.249291"], ["updated_at", "2015-11-12 02:07:31.249291"]]
3193
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3194
+  (0.2ms) SAVEPOINT active_record_1
3195
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3196
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3197
+  (0.2ms) ROLLBACK
3198
+  (0.2ms) BEGIN
3199
+ ------------------------------------------------------------------------------
3200
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3201
+ ------------------------------------------------------------------------------
3202
+  (0.2ms) ROLLBACK
3203
+  (0.1ms) BEGIN
3204
+ ------------------------------------------------------------------------------------------------------------
3205
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3206
+ ------------------------------------------------------------------------------------------------------------
3207
+  (0.2ms) ROLLBACK
3208
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
3209
+  (0.3ms) BEGIN
3210
+ ------------------------------------------------------------------------------------------------------------
3211
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3212
+ ------------------------------------------------------------------------------------------------------------
3213
+  (0.4ms) ROLLBACK
3214
+  (0.3ms) BEGIN
3215
+ ------------------------------------------------------------------------------
3216
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3217
+ ------------------------------------------------------------------------------
3218
+  (0.3ms) ROLLBACK
3219
+  (0.2ms) BEGIN
3220
+ -------------------------
3221
+ HumanUrlsTest: test_truth
3222
+ -------------------------
3223
+  (0.1ms) ROLLBACK
3224
+  (0.1ms) BEGIN
3225
+ --------------------------------------------------------------------
3226
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3227
+ --------------------------------------------------------------------
3228
+  (0.3ms) SAVEPOINT active_record_1
3229
+ TaggableWGeneratedSlug Exists (1.3ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
3230
+ SQL (0.8ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-12 02:08:27.702677"], ["updated_at", "2015-11-12 02:08:27.702677"]]
3231
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3232
+  (0.5ms) ROLLBACK
3233
+  (0.2ms) BEGIN
3234
+ ----------------------------------------------
3235
+ SluggableTest: test_#to_param_returns_the_slug
3236
+ ----------------------------------------------
3237
+  (0.4ms) SAVEPOINT active_record_1
3238
+ Taggable Exists (0.9ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3239
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 02:08:27.720638"], ["updated_at", "2015-11-12 02:08:27.720638"]]
3240
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3241
+  (0.3ms) ROLLBACK
3242
+  (0.2ms) BEGIN
3243
+ ----------------------------------------------
3244
+ SluggableTest: test_validates_presence_of_slug
3245
+ ----------------------------------------------
3246
+  (0.3ms) SAVEPOINT active_record_1
3247
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
3248
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3249
+  (0.2ms) ROLLBACK
3250
+  (0.2ms) BEGIN
3251
+ ------------------------------------------------------------------------
3252
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3253
+ ------------------------------------------------------------------------
3254
+  (0.2ms) SAVEPOINT active_record_1
3255
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3256
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-12 02:08:27.733640"], ["updated_at", "2015-11-12 02:08:27.733640"]]
3257
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3258
+  (0.2ms) ROLLBACK
3259
+  (0.2ms) BEGIN
3260
+ ------------------------------------------------
3261
+ SluggableTest: test_validates_unqiueness_of_slug
3262
+ ------------------------------------------------
3263
+  (0.2ms) SAVEPOINT active_record_1
3264
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3265
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 02:08:27.739008"], ["updated_at", "2015-11-12 02:08:27.739008"]]
3266
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3267
+  (0.3ms) SAVEPOINT active_record_1
3268
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3269
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
3270
+  (0.3ms) ROLLBACK
3271
+  (0.2ms) BEGIN
3272
+ -------------------------------------------------------------------------
3273
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
3274
+ -------------------------------------------------------------------------
3275
+  (0.2ms) SAVEPOINT active_record_1
3276
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3277
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 02:08:27.750271"], ["updated_at", "2015-11-12 02:08:27.750271"]]
3278
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3279
+  (0.2ms) SAVEPOINT active_record_1
3280
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3281
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3282
+  (0.3ms) ROLLBACK
3283
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
3284
+  (0.3ms) BEGIN
3285
+ ------------------------------------------------------------------------------
3286
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3287
+ ------------------------------------------------------------------------------
3288
+  (0.4ms) ROLLBACK
3289
+  (0.2ms) BEGIN
3290
+ ------------------------------------------------------------------------------------------------------------
3291
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3292
+ ------------------------------------------------------------------------------------------------------------
3293
+  (0.3ms) ROLLBACK
3294
+  (0.2ms) BEGIN
3295
+ ------------------------------------------------------------------------
3296
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3297
+ ------------------------------------------------------------------------
3298
+  (0.3ms) SAVEPOINT active_record_1
3299
+ Taggable Exists (1.3ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3300
+ SQL (0.9ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-12 02:08:42.041776"], ["updated_at", "2015-11-12 02:08:42.041776"]]
3301
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3302
+  (0.3ms) ROLLBACK
3303
+  (0.2ms) BEGIN
3304
+ ------------------------------------------------
3305
+ SluggableTest: test_validates_unqiueness_of_slug
3306
+ ------------------------------------------------
3307
+  (0.2ms) SAVEPOINT active_record_1
3308
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3309
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 02:08:42.048768"], ["updated_at", "2015-11-12 02:08:42.048768"]]
3310
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3311
+  (0.3ms) SAVEPOINT active_record_1
3312
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3313
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3314
+  (0.3ms) ROLLBACK
3315
+  (0.2ms) BEGIN
3316
+ -------------------------------------------------------------------------
3317
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
3318
+ -------------------------------------------------------------------------
3319
+  (0.2ms) SAVEPOINT active_record_1
3320
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3321
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 02:08:42.057962"], ["updated_at", "2015-11-12 02:08:42.057962"]]
3322
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3323
+  (0.2ms) SAVEPOINT active_record_1
3324
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3325
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3326
+  (0.4ms) ROLLBACK
3327
+  (0.2ms) BEGIN
3328
+ ----------------------------------------------
3329
+ SluggableTest: test_validates_presence_of_slug
3330
+ ----------------------------------------------
3331
+  (0.2ms) SAVEPOINT active_record_1
3332
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
3333
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
3334
+  (0.2ms) ROLLBACK
3335
+  (0.2ms) BEGIN
3336
+ ----------------------------------------------
3337
+ SluggableTest: test_#to_param_returns_the_slug
3338
+ ----------------------------------------------
3339
+  (0.2ms) SAVEPOINT active_record_1
3340
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3341
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-12 02:08:42.070187"], ["updated_at", "2015-11-12 02:08:42.070187"]]
3342
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3343
+  (0.2ms) ROLLBACK
3344
+  (0.2ms) BEGIN
3345
+ --------------------------------------------------------------------
3346
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3347
+ --------------------------------------------------------------------
3348
+  (0.3ms) SAVEPOINT active_record_1
3349
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
3350
+ SQL (0.4ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", "2015-11-12 02:08:42.085175"], ["updated_at", "2015-11-12 02:08:42.085175"]]
3351
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3352
+  (0.2ms) ROLLBACK
3353
+  (0.2ms) BEGIN
3354
+ -------------------------
3355
+ HumanUrlsTest: test_truth
3356
+ -------------------------
3357
+  (0.3ms) ROLLBACK