human_urls 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3355,3 +3355,1658 @@ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3355
3355
  HumanUrlsTest: test_truth
3356
3356
  -------------------------
3357
3357
   (0.3ms) ROLLBACK
3358
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
3359
+  (0.3ms) BEGIN
3360
+ ------------------------------------------------------------------------------
3361
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3362
+ ------------------------------------------------------------------------------
3363
+  (0.7ms) ROLLBACK
3364
+  (0.3ms) BEGIN
3365
+ ------------------------------------------------------------------------------------------------------------
3366
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3367
+ ------------------------------------------------------------------------------------------------------------
3368
+  (0.3ms) ROLLBACK
3369
+  (0.3ms) BEGIN
3370
+ -------------------------------------------------------------------------
3371
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
3372
+ -------------------------------------------------------------------------
3373
+  (0.3ms) SAVEPOINT active_record_1
3374
+ Taggable Exists (2.2ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3375
+ SQL (1.1ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 18:51:04.615586"], ["updated_at", "2015-11-13 18:51:04.615586"]]
3376
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3377
+  (0.3ms) SAVEPOINT active_record_1
3378
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3379
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
3380
+  (0.3ms) ROLLBACK
3381
+  (0.2ms) BEGIN
3382
+ --------------------------------------------------------------------
3383
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3384
+ --------------------------------------------------------------------
3385
+  (0.3ms) SAVEPOINT active_record_1
3386
+ 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
3387
+ 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-13 18:51:04.639658"], ["updated_at", "2015-11-13 18:51:04.639658"]]
3388
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3389
+  (0.3ms) ROLLBACK
3390
+  (0.3ms) BEGIN
3391
+ ----------------------------------------------
3392
+ SluggableTest: test_#to_param_returns_the_slug
3393
+ ----------------------------------------------
3394
+  (0.2ms) SAVEPOINT active_record_1
3395
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3396
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 18:51:04.645895"], ["updated_at", "2015-11-13 18:51:04.645895"]]
3397
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3398
+  (0.2ms) ROLLBACK
3399
+  (0.2ms) BEGIN
3400
+ ------------------------------------------------
3401
+ SluggableTest: test_validates_unqiueness_of_slug
3402
+ ------------------------------------------------
3403
+  (0.2ms) SAVEPOINT active_record_1
3404
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3405
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 18:51:04.650478"], ["updated_at", "2015-11-13 18:51:04.650478"]]
3406
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3407
+  (0.4ms) SAVEPOINT active_record_1
3408
+ Taggable Exists (1.2ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3409
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3410
+  (0.2ms) ROLLBACK
3411
+  (0.2ms) BEGIN
3412
+ ------------------------------------------------------------------------
3413
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3414
+ ------------------------------------------------------------------------
3415
+  (0.2ms) SAVEPOINT active_record_1
3416
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3417
+ 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-13 18:51:04.660285"], ["updated_at", "2015-11-13 18:51:04.660285"]]
3418
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3419
+  (0.2ms) ROLLBACK
3420
+  (0.2ms) BEGIN
3421
+ ----------------------------------------------
3422
+ SluggableTest: test_validates_presence_of_slug
3423
+ ----------------------------------------------
3424
+  (0.2ms) SAVEPOINT active_record_1
3425
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
3426
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3427
+  (0.4ms) ROLLBACK
3428
+  (0.4ms) BEGIN
3429
+ ----------------------------------------------------------
3430
+ SluggableTest: test_slug_properly_updates_an_existing_slug
3431
+ ----------------------------------------------------------
3432
+  (0.5ms) SAVEPOINT active_record_1
3433
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('my-old-slug') LIMIT 1
3434
+ SQL (0.3ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "my-old-slug"], ["created_at", "2015-11-13 18:51:04.672806"], ["updated_at", "2015-11-13 18:51:04.672806"]]
3435
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3436
+  (0.1ms) SAVEPOINT active_record_1
3437
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE (LOWER("taggables"."slug") = LOWER('my-new-slug') AND "taggables"."id" != 133) LIMIT 1
3438
+ SQL (0.7ms) UPDATE "taggables" SET "slug" = $1, "updated_at" = $2 WHERE "taggables"."id" = $3 [["slug", "my-new-slug"], ["updated_at", "2015-11-13 18:51:04.676632"], ["id", 133]]
3439
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3440
+  (0.4ms) ROLLBACK
3441
+  (0.2ms) BEGIN
3442
+ -------------------------
3443
+ HumanUrlsTest: test_truth
3444
+ -------------------------
3445
+  (0.2ms) ROLLBACK
3446
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
3447
+  (0.3ms) BEGIN
3448
+ --------------------------------------------------------------------
3449
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3450
+ --------------------------------------------------------------------
3451
+  (0.3ms) SAVEPOINT active_record_1
3452
+ 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
3453
+ 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-13 18:51:32.890021"], ["updated_at", "2015-11-13 18:51:32.890021"]]
3454
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3455
+  (0.4ms) ROLLBACK
3456
+  (0.3ms) BEGIN
3457
+ ----------------------------------------------
3458
+ SluggableTest: test_#to_param_returns_the_slug
3459
+ ----------------------------------------------
3460
+  (0.3ms) SAVEPOINT active_record_1
3461
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3462
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 18:51:32.906359"], ["updated_at", "2015-11-13 18:51:32.906359"]]
3463
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3464
+  (0.2ms) ROLLBACK
3465
+  (0.2ms) BEGIN
3466
+ ------------------------------------------------
3467
+ SluggableTest: test_validates_unqiueness_of_slug
3468
+ ------------------------------------------------
3469
+  (0.3ms) SAVEPOINT active_record_1
3470
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3471
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 18:51:32.912548"], ["updated_at", "2015-11-13 18:51:32.912548"]]
3472
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3473
+  (0.3ms) SAVEPOINT active_record_1
3474
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3475
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3476
+  (0.3ms) ROLLBACK
3477
+  (0.2ms) BEGIN
3478
+ ------------------------------------------------------------------------
3479
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3480
+ ------------------------------------------------------------------------
3481
+  (0.3ms) SAVEPOINT active_record_1
3482
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3483
+ 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-13 18:51:32.922283"], ["updated_at", "2015-11-13 18:51:32.922283"]]
3484
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3485
+  (0.3ms) ROLLBACK
3486
+  (0.2ms) BEGIN
3487
+ ----------------------------------------------
3488
+ SluggableTest: test_validates_presence_of_slug
3489
+ ----------------------------------------------
3490
+  (0.3ms) SAVEPOINT active_record_1
3491
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
3492
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
3493
+  (0.2ms) ROLLBACK
3494
+  (0.2ms) BEGIN
3495
+ ----------------------------------------------------------
3496
+ SluggableTest: test_slug_properly_updates_an_existing_slug
3497
+ ----------------------------------------------------------
3498
+  (0.2ms) SAVEPOINT active_record_1
3499
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('my-old-slug') LIMIT 1
3500
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "my-old-slug"], ["created_at", "2015-11-13 18:51:32.931433"], ["updated_at", "2015-11-13 18:51:32.931433"]]
3501
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3502
+  (0.2ms) SAVEPOINT active_record_1
3503
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE (LOWER("taggables"."slug") = LOWER('my-new-slug') AND "taggables"."id" != 137) LIMIT 1
3504
+ SQL (0.8ms) UPDATE "taggables" SET "slug" = $1, "updated_at" = $2 WHERE "taggables"."id" = $3 [["slug", "my-new-slug"], ["updated_at", "2015-11-13 18:51:32.935847"], ["id", 137]]
3505
+  (1.4ms) RELEASE SAVEPOINT active_record_1
3506
+  (0.4ms) ROLLBACK
3507
+  (0.2ms) BEGIN
3508
+ -------------------------------------------------------------------------
3509
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
3510
+ -------------------------------------------------------------------------
3511
+  (0.2ms) SAVEPOINT active_record_1
3512
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3513
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 18:51:32.960139"], ["updated_at", "2015-11-13 18:51:32.960139"]]
3514
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3515
+  (0.3ms) SAVEPOINT active_record_1
3516
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3517
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
3518
+  (0.2ms) ROLLBACK
3519
+  (0.3ms) BEGIN
3520
+ ------------------------------------------------------------------------------
3521
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3522
+ ------------------------------------------------------------------------------
3523
+  (0.3ms) ROLLBACK
3524
+  (0.2ms) BEGIN
3525
+ ------------------------------------------------------------------------------------------------------------
3526
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3527
+ ------------------------------------------------------------------------------------------------------------
3528
+  (0.4ms) ROLLBACK
3529
+  (0.2ms) BEGIN
3530
+ -------------------------
3531
+ HumanUrlsTest: test_truth
3532
+ -------------------------
3533
+  (0.2ms) ROLLBACK
3534
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
3535
+  (0.4ms) BEGIN
3536
+ ------------------------------------------------------------------------------
3537
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3538
+ ------------------------------------------------------------------------------
3539
+  (0.8ms) ROLLBACK
3540
+  (0.2ms) BEGIN
3541
+ ------------------------------------------------------------------------------------------------------------
3542
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3543
+ ------------------------------------------------------------------------------------------------------------
3544
+  (0.3ms) ROLLBACK
3545
+  (0.2ms) BEGIN
3546
+ ----------------------------------------------
3547
+ SluggableTest: test_#to_param_returns_the_slug
3548
+ ----------------------------------------------
3549
+  (0.7ms) SAVEPOINT active_record_1
3550
+ Taggable Exists (2.2ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3551
+ SQL (4.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 21:54:43.980931"], ["updated_at", "2015-11-13 21:54:43.980931"]]
3552
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3553
+  (0.6ms) ROLLBACK
3554
+  (0.3ms) BEGIN
3555
+ ------------------------------------------------------------------------
3556
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3557
+ ------------------------------------------------------------------------
3558
+  (0.4ms) SAVEPOINT active_record_1
3559
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3560
+ SQL (0.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-13 21:54:43.996448"], ["updated_at", "2015-11-13 21:54:43.996448"]]
3561
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3562
+  (0.2ms) ROLLBACK
3563
+  (0.2ms) BEGIN
3564
+ --------------------------------------------------------------------
3565
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3566
+ --------------------------------------------------------------------
3567
+  (0.4ms) SAVEPOINT active_record_1
3568
+ 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
3569
+ 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-13 21:54:44.014850"], ["updated_at", "2015-11-13 21:54:44.014850"]]
3570
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3571
+  (0.3ms) ROLLBACK
3572
+  (0.3ms) BEGIN
3573
+ ----------------------------------------------
3574
+ SluggableTest: test_validates_presence_of_slug
3575
+ ----------------------------------------------
3576
+  (0.3ms) SAVEPOINT active_record_1
3577
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
3578
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
3579
+  (0.6ms) ROLLBACK
3580
+  (0.3ms) BEGIN
3581
+ -------------------------------------------------------------------------
3582
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
3583
+ -------------------------------------------------------------------------
3584
+  (0.2ms) SAVEPOINT active_record_1
3585
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3586
+ SQL (1.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 21:54:44.032936"], ["updated_at", "2015-11-13 21:54:44.032936"]]
3587
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3588
+  (0.2ms) SAVEPOINT active_record_1
3589
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3590
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3591
+  (0.3ms) ROLLBACK
3592
+  (0.2ms) BEGIN
3593
+ ----------------------------------------------------------
3594
+ SluggableTest: test_slug_properly_updates_an_existing_slug
3595
+ ----------------------------------------------------------
3596
+  (0.2ms) SAVEPOINT active_record_1
3597
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('my-old-slug') LIMIT 1
3598
+ SQL (0.5ms) INSERT INTO "taggables" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "my-title"], ["slug", "my-old-slug"], ["created_at", "2015-11-13 21:54:44.045859"], ["updated_at", "2015-11-13 21:54:44.045859"]]
3599
+  (0.5ms) RELEASE SAVEPOINT active_record_1
3600
+  (0.4ms) SAVEPOINT active_record_1
3601
+ Taggable Exists (1.5ms) SELECT 1 AS one FROM "taggables" WHERE (LOWER("taggables"."slug") = LOWER('my-new-slug') AND "taggables"."id" != 142) LIMIT 1
3602
+ SQL (0.7ms) UPDATE "taggables" SET "slug" = $1, "updated_at" = $2 WHERE "taggables"."id" = $3 [["slug", "my-new-slug"], ["updated_at", "2015-11-13 21:54:44.054292"], ["id", 142]]
3603
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3604
+  (0.3ms) ROLLBACK
3605
+  (0.3ms) BEGIN
3606
+ ------------------------------------------------
3607
+ SluggableTest: test_validates_unqiueness_of_slug
3608
+ ------------------------------------------------
3609
+  (0.2ms) SAVEPOINT active_record_1
3610
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3611
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 21:54:44.067316"], ["updated_at", "2015-11-13 21:54:44.067316"]]
3612
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3613
+  (0.3ms) SAVEPOINT active_record_1
3614
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3615
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
3616
+  (0.5ms) ROLLBACK
3617
+  (0.2ms) BEGIN
3618
+ -------------------------
3619
+ HumanUrlsTest: test_truth
3620
+ -------------------------
3621
+  (0.2ms) ROLLBACK
3622
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
3623
+  (0.3ms) BEGIN
3624
+ ------------------------------------------------------------------------------
3625
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3626
+ ------------------------------------------------------------------------------
3627
+  (0.4ms) ROLLBACK
3628
+  (0.2ms) BEGIN
3629
+ ------------------------------------------------------------------------------------------------------------
3630
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3631
+ ------------------------------------------------------------------------------------------------------------
3632
+  (0.4ms) ROLLBACK
3633
+  (0.3ms) BEGIN
3634
+ ----------------------------------------------
3635
+ SluggableTest: test_validates_presence_of_slug
3636
+ ----------------------------------------------
3637
+  (0.3ms) SAVEPOINT active_record_1
3638
+ Taggable Exists (1.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
3639
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3640
+  (0.3ms) ROLLBACK
3641
+  (0.3ms) BEGIN
3642
+ ------------------------------------------------
3643
+ SluggableTest: test_validates_unqiueness_of_slug
3644
+ ------------------------------------------------
3645
+  (0.8ms) SAVEPOINT active_record_1
3646
+ Taggable Exists (0.9ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3647
+ SQL (1.0ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 21:56:10.592978"], ["updated_at", "2015-11-13 21:56:10.592978"]]
3648
+  (0.6ms) RELEASE SAVEPOINT active_record_1
3649
+  (0.7ms) SAVEPOINT active_record_1
3650
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3651
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
3652
+  (0.4ms) ROLLBACK
3653
+  (0.2ms) BEGIN
3654
+ ----------------------------------------------
3655
+ SluggableTest: test_#to_param_returns_the_slug
3656
+ ----------------------------------------------
3657
+  (0.2ms) SAVEPOINT active_record_1
3658
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3659
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 21:56:10.610292"], ["updated_at", "2015-11-13 21:56:10.610292"]]
3660
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3661
+  (0.3ms) ROLLBACK
3662
+  (0.2ms) BEGIN
3663
+ ------------------------------------------------------------------------------
3664
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
3665
+ ------------------------------------------------------------------------------
3666
+  (0.6ms) SAVEPOINT active_record_1
3667
+ 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
3668
+ 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-13 21:56:10.631758"], ["updated_at", "2015-11-13 21:56:10.631758"]]
3669
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3670
+  (0.1ms) SAVEPOINT active_record_1
3671
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') AND "taggable_w_generated_slugs"."id" != 36) LIMIT 1
3672
+  (0.5ms) RELEASE SAVEPOINT active_record_1
3673
+  (0.3ms) ROLLBACK
3674
+  (0.2ms) BEGIN
3675
+ ------------------------------------------------------------------------
3676
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3677
+ ------------------------------------------------------------------------
3678
+  (0.3ms) SAVEPOINT active_record_1
3679
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3680
+ SQL (0.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-13 21:56:10.643814"], ["updated_at", "2015-11-13 21:56:10.643814"]]
3681
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3682
+  (0.3ms) ROLLBACK
3683
+  (0.2ms) BEGIN
3684
+ --------------------------------------------------------------------
3685
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3686
+ --------------------------------------------------------------------
3687
+  (0.2ms) SAVEPOINT active_record_1
3688
+ 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
3689
+ 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-13 21:56:10.651507"], ["updated_at", "2015-11-13 21:56:10.651507"]]
3690
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3691
+  (0.3ms) ROLLBACK
3692
+  (0.4ms) BEGIN
3693
+ -------------------------------------------------------------------------
3694
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
3695
+ -------------------------------------------------------------------------
3696
+  (0.7ms) SAVEPOINT active_record_1
3697
+ Taggable Exists (1.0ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3698
+ SQL (0.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 21:56:10.660728"], ["updated_at", "2015-11-13 21:56:10.660728"]]
3699
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3700
+  (0.2ms) SAVEPOINT active_record_1
3701
+ Taggable Exists (1.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3702
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
3703
+  (0.3ms) ROLLBACK
3704
+  (0.2ms) BEGIN
3705
+ -------------------------
3706
+ HumanUrlsTest: test_truth
3707
+ -------------------------
3708
+  (0.2ms) ROLLBACK
3709
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
3710
+  (0.4ms) BEGIN
3711
+ ------------------------------------------------------------------------------
3712
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3713
+ ------------------------------------------------------------------------------
3714
+  (0.4ms) ROLLBACK
3715
+  (0.2ms) BEGIN
3716
+ ------------------------------------------------------------------------------------------------------------
3717
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3718
+ ------------------------------------------------------------------------------------------------------------
3719
+  (0.3ms) ROLLBACK
3720
+  (0.2ms) BEGIN
3721
+ -------------------------
3722
+ HumanUrlsTest: test_truth
3723
+ -------------------------
3724
+  (0.2ms) ROLLBACK
3725
+  (0.2ms) BEGIN
3726
+ -------------------------------------------------------------------------
3727
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
3728
+ -------------------------------------------------------------------------
3729
+  (0.3ms) SAVEPOINT active_record_1
3730
+ Taggable Exists (1.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3731
+ SQL (0.8ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 22:01:38.118768"], ["updated_at", "2015-11-13 22:01:38.118768"]]
3732
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3733
+  (0.2ms) SAVEPOINT active_record_1
3734
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3735
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3736
+  (0.3ms) ROLLBACK
3737
+  (0.3ms) BEGIN
3738
+ ------------------------------------------------
3739
+ SluggableTest: test_validates_unqiueness_of_slug
3740
+ ------------------------------------------------
3741
+  (0.3ms) SAVEPOINT active_record_1
3742
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3743
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 22:01:38.130623"], ["updated_at", "2015-11-13 22:01:38.130623"]]
3744
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3745
+  (0.2ms) SAVEPOINT active_record_1
3746
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3747
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
3748
+  (0.2ms) ROLLBACK
3749
+  (0.2ms) BEGIN
3750
+ --------------------------------------------------------------------
3751
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3752
+ --------------------------------------------------------------------
3753
+  (0.3ms) SAVEPOINT active_record_1
3754
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3755
+  (0.2ms) ROLLBACK
3756
+  (0.3ms) BEGIN
3757
+ ------------------------------------------------------------------------
3758
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3759
+ ------------------------------------------------------------------------
3760
+  (0.2ms) SAVEPOINT active_record_1
3761
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3762
+ 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-13 22:01:38.148931"], ["updated_at", "2015-11-13 22:01:38.148931"]]
3763
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3764
+  (0.3ms) ROLLBACK
3765
+  (0.2ms) BEGIN
3766
+ ------------------------------------------------------------------------------
3767
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
3768
+ ------------------------------------------------------------------------------
3769
+  (0.2ms) SAVEPOINT active_record_1
3770
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
3771
+  (0.2ms) ROLLBACK
3772
+  (0.2ms) BEGIN
3773
+ ----------------------------------------------
3774
+ SluggableTest: test_validates_presence_of_slug
3775
+ ----------------------------------------------
3776
+  (0.2ms) SAVEPOINT active_record_1
3777
+ Taggable Exists (1.1ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
3778
+  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1
3779
+  (0.3ms) ROLLBACK
3780
+  (0.2ms) BEGIN
3781
+ ----------------------------------------------
3782
+ SluggableTest: test_#to_param_returns_the_slug
3783
+ ----------------------------------------------
3784
+  (0.3ms) SAVEPOINT active_record_1
3785
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3786
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 22:01:38.165349"], ["updated_at", "2015-11-13 22:01:38.165349"]]
3787
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3788
+  (0.1ms) ROLLBACK
3789
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
3790
+  (0.4ms) BEGIN
3791
+ ------------------------------------------------------------------------------
3792
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3793
+ ------------------------------------------------------------------------------
3794
+  (0.4ms) ROLLBACK
3795
+  (0.3ms) BEGIN
3796
+ ------------------------------------------------------------------------------------------------------------
3797
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3798
+ ------------------------------------------------------------------------------------------------------------
3799
+  (0.4ms) ROLLBACK
3800
+  (0.2ms) BEGIN
3801
+ -------------------------
3802
+ HumanUrlsTest: test_truth
3803
+ -------------------------
3804
+  (0.2ms) ROLLBACK
3805
+  (0.3ms) BEGIN
3806
+ --------------------------------------------------------------------
3807
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3808
+ --------------------------------------------------------------------
3809
+  (0.3ms) SAVEPOINT active_record_1
3810
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3811
+  (0.2ms) ROLLBACK
3812
+  (0.2ms) BEGIN
3813
+ -------------------------------------------------------------------------
3814
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
3815
+ -------------------------------------------------------------------------
3816
+  (0.3ms) SAVEPOINT active_record_1
3817
+ Taggable Exists (1.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3818
+ SQL (0.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 22:03:01.906457"], ["updated_at", "2015-11-13 22:03:01.906457"]]
3819
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3820
+  (0.3ms) SAVEPOINT active_record_1
3821
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3822
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3823
+  (0.3ms) ROLLBACK
3824
+  (0.2ms) BEGIN
3825
+ ----------------------------------------------
3826
+ SluggableTest: test_validates_presence_of_slug
3827
+ ----------------------------------------------
3828
+  (0.2ms) SAVEPOINT active_record_1
3829
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
3830
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
3831
+  (0.2ms) ROLLBACK
3832
+  (0.2ms) BEGIN
3833
+ ------------------------------------------------------------------------------
3834
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
3835
+ ------------------------------------------------------------------------------
3836
+  (0.2ms) SAVEPOINT active_record_1
3837
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
3838
+  (0.1ms) ROLLBACK
3839
+  (0.2ms) BEGIN
3840
+ ------------------------------------------------------------------------
3841
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3842
+ ------------------------------------------------------------------------
3843
+  (0.2ms) SAVEPOINT active_record_1
3844
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3845
+ 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-13 22:03:01.932236"], ["updated_at", "2015-11-13 22:03:01.932236"]]
3846
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3847
+  (0.3ms) ROLLBACK
3848
+  (0.2ms) BEGIN
3849
+ ------------------------------------------------
3850
+ SluggableTest: test_validates_unqiueness_of_slug
3851
+ ------------------------------------------------
3852
+  (0.3ms) SAVEPOINT active_record_1
3853
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3854
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 22:03:01.940763"], ["updated_at", "2015-11-13 22:03:01.940763"]]
3855
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3856
+  (0.2ms) SAVEPOINT active_record_1
3857
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3858
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3859
+  (0.3ms) ROLLBACK
3860
+  (0.3ms) BEGIN
3861
+ ----------------------------------------------
3862
+ SluggableTest: test_#to_param_returns_the_slug
3863
+ ----------------------------------------------
3864
+  (0.2ms) SAVEPOINT active_record_1
3865
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3866
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-13 22:03:01.950259"], ["updated_at", "2015-11-13 22:03:01.950259"]]
3867
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3868
+  (0.2ms) ROLLBACK
3869
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
3870
+  (0.7ms) BEGIN
3871
+ -------------------------
3872
+ HumanUrlsTest: test_truth
3873
+ -------------------------
3874
+  (0.8ms) ROLLBACK
3875
+  (0.3ms) BEGIN
3876
+ ----------------------------------------------
3877
+ SluggableTest: test_validates_presence_of_slug
3878
+ ----------------------------------------------
3879
+  (1.8ms) SAVEPOINT active_record_1
3880
+ Taggable Exists (3.0ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
3881
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
3882
+  (0.3ms) ROLLBACK
3883
+  (0.2ms) BEGIN
3884
+ ------------------------------------------------
3885
+ SluggableTest: test_validates_unqiueness_of_slug
3886
+ ------------------------------------------------
3887
+  (0.3ms) SAVEPOINT active_record_1
3888
+ Taggable Exists (0.9ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3889
+ SQL (6.0ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:49:24.254439"], ["updated_at", "2015-11-14 21:49:24.254439"]]
3890
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3891
+  (0.2ms) SAVEPOINT active_record_1
3892
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3893
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
3894
+  (0.8ms) ROLLBACK
3895
+  (0.4ms) BEGIN
3896
+ --------------------------------------------------------------------
3897
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
3898
+ --------------------------------------------------------------------
3899
+  (0.7ms) SAVEPOINT active_record_1
3900
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
3901
+  (0.5ms) ROLLBACK
3902
+  (0.2ms) BEGIN
3903
+ ------------------------------------------------------------------------
3904
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3905
+ ------------------------------------------------------------------------
3906
+  (0.3ms) SAVEPOINT active_record_1
3907
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3908
+ 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-14 21:49:24.292893"], ["updated_at", "2015-11-14 21:49:24.292893"]]
3909
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3910
+  (0.2ms) ROLLBACK
3911
+  (0.2ms) BEGIN
3912
+ -------------------------------------------------------------------------
3913
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
3914
+ -------------------------------------------------------------------------
3915
+  (0.2ms) SAVEPOINT active_record_1
3916
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3917
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:49:24.297375"], ["updated_at", "2015-11-14 21:49:24.297375"]]
3918
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3919
+  (0.2ms) SAVEPOINT active_record_1
3920
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3921
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3922
+  (0.3ms) ROLLBACK
3923
+  (0.2ms) BEGIN
3924
+ ------------------------------------------------------------------------------
3925
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
3926
+ ------------------------------------------------------------------------------
3927
+  (0.3ms) SAVEPOINT active_record_1
3928
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
3929
+  (0.3ms) ROLLBACK
3930
+  (0.3ms) BEGIN
3931
+ ----------------------------------------------
3932
+ SluggableTest: test_#to_param_returns_the_slug
3933
+ ----------------------------------------------
3934
+  (0.3ms) SAVEPOINT active_record_1
3935
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3936
+ SQL (0.8ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:49:24.311500"], ["updated_at", "2015-11-14 21:49:24.311500"]]
3937
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3938
+  (0.2ms) ROLLBACK
3939
+  (0.2ms) BEGIN
3940
+ ------------------------------------------------------------------------------------------------------------
3941
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3942
+ ------------------------------------------------------------------------------------------------------------
3943
+  (0.4ms) ROLLBACK
3944
+  (0.3ms) BEGIN
3945
+ ------------------------------------------------------------------------------
3946
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3947
+ ------------------------------------------------------------------------------
3948
+  (0.3ms) ROLLBACK
3949
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
3950
+  (0.3ms) BEGIN
3951
+ -------------------------
3952
+ HumanUrlsTest: test_truth
3953
+ -------------------------
3954
+  (0.6ms) ROLLBACK
3955
+  (0.3ms) BEGIN
3956
+ ------------------------------------------------------------------------------
3957
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
3958
+ ------------------------------------------------------------------------------
3959
+  (0.2ms) ROLLBACK
3960
+  (0.2ms) BEGIN
3961
+ ------------------------------------------------------------------------------------------------------------
3962
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
3963
+ ------------------------------------------------------------------------------------------------------------
3964
+  (0.3ms) ROLLBACK
3965
+  (0.2ms) BEGIN
3966
+ ----------------------------------------------
3967
+ SluggableTest: test_validates_presence_of_slug
3968
+ ----------------------------------------------
3969
+  (0.3ms) SAVEPOINT active_record_1
3970
+ Taggable Exists (3.0ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
3971
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
3972
+  (0.6ms) ROLLBACK
3973
+  (0.2ms) BEGIN
3974
+ ------------------------------------------------
3975
+ SluggableTest: test_validates_unqiueness_of_slug
3976
+ ------------------------------------------------
3977
+  (0.5ms) SAVEPOINT active_record_1
3978
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3979
+ SQL (1.0ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:51:53.445990"], ["updated_at", "2015-11-14 21:51:53.445990"]]
3980
+  (0.5ms) RELEASE SAVEPOINT active_record_1
3981
+  (0.4ms) SAVEPOINT active_record_1
3982
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
3983
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
3984
+  (0.3ms) ROLLBACK
3985
+  (0.2ms) BEGIN
3986
+ ------------------------------------------------------------------------
3987
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
3988
+ ------------------------------------------------------------------------
3989
+  (0.2ms) SAVEPOINT active_record_1
3990
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
3991
+ 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-14 21:51:53.463834"], ["updated_at", "2015-11-14 21:51:53.463834"]]
3992
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3993
+  (0.3ms) ROLLBACK
3994
+  (0.2ms) BEGIN
3995
+ ----------------------------------------------
3996
+ SluggableTest: test_#to_param_returns_the_slug
3997
+ ----------------------------------------------
3998
+  (0.2ms) SAVEPOINT active_record_1
3999
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4000
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:51:53.469621"], ["updated_at", "2015-11-14 21:51:53.469621"]]
4001
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4002
+  (0.2ms) ROLLBACK
4003
+  (0.5ms) BEGIN
4004
+ ------------------------------------------------------------------------------
4005
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
4006
+ ------------------------------------------------------------------------------
4007
+  (0.3ms) SAVEPOINT active_record_1
4008
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
4009
+  (0.1ms) ROLLBACK
4010
+  (0.2ms) BEGIN
4011
+ --------------------------------------------------------------------
4012
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
4013
+ --------------------------------------------------------------------
4014
+  (0.2ms) SAVEPOINT active_record_1
4015
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4016
+  (0.2ms) ROLLBACK
4017
+  (0.2ms) BEGIN
4018
+ -------------------------------------------------------------------------
4019
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
4020
+ -------------------------------------------------------------------------
4021
+  (0.2ms) SAVEPOINT active_record_1
4022
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4023
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:51:53.494221"], ["updated_at", "2015-11-14 21:51:53.494221"]]
4024
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4025
+  (0.3ms) SAVEPOINT active_record_1
4026
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4027
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4028
+  (0.3ms) ROLLBACK
4029
+ ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
4030
+  (0.3ms) BEGIN
4031
+ ------------------------------------------------------------------------------
4032
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
4033
+ ------------------------------------------------------------------------------
4034
+  (0.5ms) ROLLBACK
4035
+  (0.3ms) BEGIN
4036
+ ------------------------------------------------------------------------------------------------------------
4037
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
4038
+ ------------------------------------------------------------------------------------------------------------
4039
+  (0.3ms) ROLLBACK
4040
+  (0.1ms) BEGIN
4041
+ ----------------------------------------------
4042
+ SluggableTest: test_validates_presence_of_slug
4043
+ ----------------------------------------------
4044
+  (0.3ms) SAVEPOINT active_record_1
4045
+ Taggable Exists (2.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
4046
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4047
+  (0.3ms) ROLLBACK
4048
+  (0.2ms) BEGIN
4049
+ ------------------------------------------------
4050
+ SluggableTest: test_validates_unqiueness_of_slug
4051
+ ------------------------------------------------
4052
+  (0.2ms) SAVEPOINT active_record_1
4053
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4054
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:53:40.790939"], ["updated_at", "2015-11-14 21:53:40.790939"]]
4055
+  (0.4ms) RELEASE SAVEPOINT active_record_1
4056
+  (0.3ms) SAVEPOINT active_record_1
4057
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4058
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4059
+  (0.4ms) ROLLBACK
4060
+  (0.4ms) BEGIN
4061
+ ------------------------------------------------------------------------------
4062
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
4063
+ ------------------------------------------------------------------------------
4064
+  (0.3ms) SAVEPOINT active_record_1
4065
+ TaggableWGeneratedSlug Exists (3.2ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-old-slug') LIMIT 1
4066
+ SQL (2.3ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "my-title"], ["slug", "my-old-slug"], ["created_at", "2015-11-14 21:53:40.816838"], ["updated_at", "2015-11-14 21:53:40.816838"]]
4067
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4068
+  (0.2ms) SAVEPOINT active_record_1
4069
+ TaggableWGeneratedSlug Exists (1.2ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-new-slug') AND "taggable_w_generated_slugs"."id" != 38) LIMIT 1
4070
+ SQL (2.9ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", "2015-11-14 21:53:40.826134"], ["id", 38]]
4071
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4072
+  (0.3ms) ROLLBACK
4073
+  (0.2ms) BEGIN
4074
+ --------------------------------------------------------------------
4075
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
4076
+ --------------------------------------------------------------------
4077
+  (0.3ms) SAVEPOINT active_record_1
4078
+ TaggableWGeneratedSlug Exists (0.4ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
4079
+ 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-14 21:53:40.843875"], ["updated_at", "2015-11-14 21:53:40.843875"]]
4080
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4081
+  (0.3ms) ROLLBACK
4082
+  (0.4ms) BEGIN
4083
+ -------------------------------------------------------------------------
4084
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
4085
+ -------------------------------------------------------------------------
4086
+  (0.5ms) SAVEPOINT active_record_1
4087
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4088
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:53:40.855565"], ["updated_at", "2015-11-14 21:53:40.855565"]]
4089
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4090
+  (0.2ms) SAVEPOINT active_record_1
4091
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4092
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4093
+  (0.4ms) ROLLBACK
4094
+  (0.2ms) BEGIN
4095
+ ------------------------------------------------------------------------
4096
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
4097
+ ------------------------------------------------------------------------
4098
+  (0.2ms) SAVEPOINT active_record_1
4099
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
4100
+ 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-14 21:53:40.865917"], ["updated_at", "2015-11-14 21:53:40.865917"]]
4101
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4102
+  (0.3ms) ROLLBACK
4103
+  (0.3ms) BEGIN
4104
+ ----------------------------------------------
4105
+ SluggableTest: test_#to_param_returns_the_slug
4106
+ ----------------------------------------------
4107
+  (0.2ms) SAVEPOINT active_record_1
4108
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4109
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:53:40.871124"], ["updated_at", "2015-11-14 21:53:40.871124"]]
4110
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4111
+  (0.3ms) ROLLBACK
4112
+  (0.2ms) BEGIN
4113
+ -------------------------
4114
+ HumanUrlsTest: test_truth
4115
+ -------------------------
4116
+  (0.2ms) ROLLBACK
4117
+ ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
4118
+  (0.5ms) BEGIN
4119
+ ------------------------------------------------------------------------------
4120
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
4121
+ ------------------------------------------------------------------------------
4122
+  (0.3ms) SAVEPOINT active_record_1
4123
+ 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
4124
+ 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-14 21:54:02.919275"], ["updated_at", "2015-11-14 21:54:02.919275"]]
4125
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4126
+  (0.2ms) SAVEPOINT active_record_1
4127
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') AND "taggable_w_generated_slugs"."id" != 40) LIMIT 1
4128
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4129
+  (0.5ms) ROLLBACK
4130
+  (0.2ms) BEGIN
4131
+ ----------------------------------------------
4132
+ SluggableTest: test_#to_param_returns_the_slug
4133
+ ----------------------------------------------
4134
+  (0.5ms) SAVEPOINT active_record_1
4135
+ Taggable Exists (1.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4136
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:54:02.941422"], ["updated_at", "2015-11-14 21:54:02.941422"]]
4137
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4138
+  (0.3ms) ROLLBACK
4139
+  (0.2ms) BEGIN
4140
+ ------------------------------------------------
4141
+ SluggableTest: test_validates_unqiueness_of_slug
4142
+ ------------------------------------------------
4143
+  (0.2ms) SAVEPOINT active_record_1
4144
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4145
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:54:02.948253"], ["updated_at", "2015-11-14 21:54:02.948253"]]
4146
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4147
+  (0.2ms) SAVEPOINT active_record_1
4148
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4149
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4150
+  (0.2ms) ROLLBACK
4151
+  (0.2ms) BEGIN
4152
+ --------------------------------------------------------------------
4153
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
4154
+ --------------------------------------------------------------------
4155
+  (0.2ms) SAVEPOINT active_record_1
4156
+ TaggableWGeneratedSlug Exists (0.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('') LIMIT 1
4157
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4158
+  (0.3ms) ROLLBACK
4159
+  (0.2ms) BEGIN
4160
+ ------------------------------------------------------------------------
4161
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
4162
+ ------------------------------------------------------------------------
4163
+  (0.2ms) SAVEPOINT active_record_1
4164
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
4165
+ 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-14 21:54:02.961367"], ["updated_at", "2015-11-14 21:54:02.961367"]]
4166
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4167
+  (0.2ms) ROLLBACK
4168
+  (0.2ms) BEGIN
4169
+ -------------------------------------------------------------------------
4170
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
4171
+ -------------------------------------------------------------------------
4172
+  (0.2ms) SAVEPOINT active_record_1
4173
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4174
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:54:02.966396"], ["updated_at", "2015-11-14 21:54:02.966396"]]
4175
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4176
+  (0.2ms) SAVEPOINT active_record_1
4177
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4178
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4179
+  (0.2ms) ROLLBACK
4180
+  (0.2ms) BEGIN
4181
+ ----------------------------------------------
4182
+ SluggableTest: test_validates_presence_of_slug
4183
+ ----------------------------------------------
4184
+  (0.2ms) SAVEPOINT active_record_1
4185
+ Taggable Exists (1.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
4186
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
4187
+  (0.3ms) ROLLBACK
4188
+  (0.3ms) BEGIN
4189
+ ------------------------------------------------------------------------------
4190
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
4191
+ ------------------------------------------------------------------------------
4192
+  (0.3ms) ROLLBACK
4193
+  (0.2ms) BEGIN
4194
+ ------------------------------------------------------------------------------------------------------------
4195
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
4196
+ ------------------------------------------------------------------------------------------------------------
4197
+  (0.4ms) ROLLBACK
4198
+  (0.3ms) BEGIN
4199
+ -------------------------
4200
+ HumanUrlsTest: test_truth
4201
+ -------------------------
4202
+  (0.2ms) ROLLBACK
4203
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
4204
+  (0.3ms) BEGIN
4205
+ -------------------------
4206
+ HumanUrlsTest: test_truth
4207
+ -------------------------
4208
+  (0.3ms) ROLLBACK
4209
+  (0.3ms) BEGIN
4210
+ -------------------------------------------------------------------------
4211
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
4212
+ -------------------------------------------------------------------------
4213
+  (0.4ms) SAVEPOINT active_record_1
4214
+ Taggable Exists (1.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4215
+ SQL (0.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:55:19.888612"], ["updated_at", "2015-11-14 21:55:19.888612"]]
4216
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4217
+  (0.2ms) SAVEPOINT active_record_1
4218
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4219
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4220
+  (0.3ms) ROLLBACK
4221
+  (0.2ms) BEGIN
4222
+ ------------------------------------------------------------------------
4223
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
4224
+ ------------------------------------------------------------------------
4225
+  (0.3ms) SAVEPOINT active_record_1
4226
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
4227
+ 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-14 21:55:19.898931"], ["updated_at", "2015-11-14 21:55:19.898931"]]
4228
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4229
+  (0.2ms) ROLLBACK
4230
+  (0.2ms) BEGIN
4231
+ ----------------------------------------------
4232
+ SluggableTest: test_validates_presence_of_slug
4233
+ ----------------------------------------------
4234
+  (0.2ms) SAVEPOINT active_record_1
4235
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
4236
+  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1
4237
+  (0.5ms) ROLLBACK
4238
+  (0.5ms) BEGIN
4239
+ ------------------------------------------------------------------------------
4240
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
4241
+ ------------------------------------------------------------------------------
4242
+  (0.3ms) SAVEPOINT active_record_1
4243
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4244
+  (0.2ms) ROLLBACK
4245
+  (0.2ms) BEGIN
4246
+ --------------------------------------------------------------------
4247
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
4248
+ --------------------------------------------------------------------
4249
+  (0.2ms) SAVEPOINT active_record_1
4250
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4251
+  (0.2ms) ROLLBACK
4252
+  (0.2ms) BEGIN
4253
+ ----------------------------------------------
4254
+ SluggableTest: test_#to_param_returns_the_slug
4255
+ ----------------------------------------------
4256
+  (0.3ms) SAVEPOINT active_record_1
4257
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4258
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:55:19.928424"], ["updated_at", "2015-11-14 21:55:19.928424"]]
4259
+  (0.4ms) RELEASE SAVEPOINT active_record_1
4260
+  (0.3ms) ROLLBACK
4261
+  (0.2ms) BEGIN
4262
+ ------------------------------------------------
4263
+ SluggableTest: test_validates_unqiueness_of_slug
4264
+ ------------------------------------------------
4265
+  (0.2ms) SAVEPOINT active_record_1
4266
+ Taggable Exists (0.9ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4267
+ SQL (1.2ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:55:19.935462"], ["updated_at", "2015-11-14 21:55:19.935462"]]
4268
+  (0.7ms) RELEASE SAVEPOINT active_record_1
4269
+  (0.3ms) SAVEPOINT active_record_1
4270
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4271
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4272
+  (0.2ms) ROLLBACK
4273
+  (0.3ms) BEGIN
4274
+ ------------------------------------------------------------------------------
4275
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
4276
+ ------------------------------------------------------------------------------
4277
+  (0.2ms) ROLLBACK
4278
+  (0.2ms) BEGIN
4279
+ ------------------------------------------------------------------------------------------------------------
4280
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
4281
+ ------------------------------------------------------------------------------------------------------------
4282
+  (0.4ms) ROLLBACK
4283
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
4284
+  (0.4ms) BEGIN
4285
+ ------------------------------------------------------------------------------
4286
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
4287
+ ------------------------------------------------------------------------------
4288
+  (0.4ms) ROLLBACK
4289
+  (0.2ms) BEGIN
4290
+ ------------------------------------------------------------------------------------------------------------
4291
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
4292
+ ------------------------------------------------------------------------------------------------------------
4293
+  (0.2ms) ROLLBACK
4294
+  (0.2ms) BEGIN
4295
+ -------------------------
4296
+ HumanUrlsTest: test_truth
4297
+ -------------------------
4298
+  (0.2ms) ROLLBACK
4299
+  (0.2ms) BEGIN
4300
+ -------------------------------------------------------------------------
4301
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
4302
+ -------------------------------------------------------------------------
4303
+  (0.7ms) SAVEPOINT active_record_1
4304
+ Taggable Exists (1.3ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4305
+ SQL (0.8ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:57:27.397578"], ["updated_at", "2015-11-14 21:57:27.397578"]]
4306
+  (0.4ms) RELEASE SAVEPOINT active_record_1
4307
+  (0.5ms) SAVEPOINT active_record_1
4308
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4309
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4310
+  (0.3ms) ROLLBACK
4311
+  (0.2ms) BEGIN
4312
+ ------------------------------------------------
4313
+ SluggableTest: test_validates_unqiueness_of_slug
4314
+ ------------------------------------------------
4315
+  (0.2ms) SAVEPOINT active_record_1
4316
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4317
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:57:27.409948"], ["updated_at", "2015-11-14 21:57:27.409948"]]
4318
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4319
+  (0.2ms) SAVEPOINT active_record_1
4320
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4321
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4322
+  (0.3ms) ROLLBACK
4323
+  (0.2ms) BEGIN
4324
+ ----------------------------------------------
4325
+ SluggableTest: test_validates_presence_of_slug
4326
+ ----------------------------------------------
4327
+  (0.2ms) SAVEPOINT active_record_1
4328
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
4329
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4330
+  (0.2ms) ROLLBACK
4331
+  (0.2ms) BEGIN
4332
+ ------------------------------------------------------------------------------
4333
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
4334
+ ------------------------------------------------------------------------------
4335
+  (0.3ms) SAVEPOINT active_record_1
4336
+ TaggableWGeneratedSlug Exists (0.9ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-old-slug') LIMIT 1
4337
+ SQL (2.3ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "my-title"], ["slug", "my-old-slug"], ["created_at", "2015-11-14 21:57:27.431185"], ["updated_at", "2015-11-14 21:57:27.431185"]]
4338
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4339
+  (0.2ms) SAVEPOINT active_record_1
4340
+ TaggableWGeneratedSlug Exists (1.0ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-new-slug') AND "taggable_w_generated_slugs"."id" != 41) LIMIT 1
4341
+ SQL (1.2ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", "2015-11-14 21:57:27.439013"], ["id", 41]]
4342
+  (1.1ms) RELEASE SAVEPOINT active_record_1
4343
+  (0.3ms) SAVEPOINT active_record_1
4344
+ TaggableWGeneratedSlug Exists (1.2ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('') AND "taggable_w_generated_slugs"."id" != 41) LIMIT 1
4345
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
4346
+  (0.4ms) ROLLBACK
4347
+  (0.3ms) BEGIN
4348
+ ------------------------------------------------------------------------
4349
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
4350
+ ------------------------------------------------------------------------
4351
+  (0.3ms) SAVEPOINT active_record_1
4352
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
4353
+ SQL (0.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-14 21:57:27.465405"], ["updated_at", "2015-11-14 21:57:27.465405"]]
4354
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4355
+  (0.2ms) ROLLBACK
4356
+  (0.2ms) BEGIN
4357
+ --------------------------------------------------------------------
4358
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
4359
+ --------------------------------------------------------------------
4360
+  (0.2ms) SAVEPOINT active_record_1
4361
+ TaggableWGeneratedSlug Exists (0.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
4362
+ 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-14 21:57:27.472058"], ["updated_at", "2015-11-14 21:57:27.472058"]]
4363
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4364
+  (0.3ms) ROLLBACK
4365
+  (0.2ms) BEGIN
4366
+ ----------------------------------------------
4367
+ SluggableTest: test_#to_param_returns_the_slug
4368
+ ----------------------------------------------
4369
+  (0.3ms) SAVEPOINT active_record_1
4370
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4371
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 21:57:27.478125"], ["updated_at", "2015-11-14 21:57:27.478125"]]
4372
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4373
+  (0.2ms) ROLLBACK
4374
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
4375
+  (0.3ms) BEGIN
4376
+ ------------------------------------------------------------------------------
4377
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
4378
+ ------------------------------------------------------------------------------
4379
+  (0.5ms) ROLLBACK
4380
+  (0.3ms) BEGIN
4381
+ ------------------------------------------------------------------------------------------------------------
4382
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
4383
+ ------------------------------------------------------------------------------------------------------------
4384
+  (0.3ms) ROLLBACK
4385
+  (0.2ms) BEGIN
4386
+ ------------------------------------------------------------------------
4387
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
4388
+ ------------------------------------------------------------------------
4389
+  (0.3ms) SAVEPOINT active_record_1
4390
+ Taggable Exists (2.0ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
4391
+ SQL (2.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", "2015-11-14 22:33:17.173037"], ["updated_at", "2015-11-14 22:33:17.173037"]]
4392
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4393
+  (0.5ms) ROLLBACK
4394
+  (0.2ms) BEGIN
4395
+ ------------------------------------------------
4396
+ SluggableTest: test_validates_unqiueness_of_slug
4397
+ ------------------------------------------------
4398
+  (0.2ms) SAVEPOINT active_record_1
4399
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4400
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:33:18.719502"], ["updated_at", "2015-11-14 22:33:18.719502"]]
4401
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4402
+  (0.3ms) SAVEPOINT active_record_1
4403
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4404
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4405
+  (0.2ms) ROLLBACK
4406
+  (0.2ms) BEGIN
4407
+ ----------------------------------------------
4408
+ SluggableTest: test_#to_param_returns_the_slug
4409
+ ----------------------------------------------
4410
+  (0.2ms) SAVEPOINT active_record_1
4411
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4412
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:33:20.682734"], ["updated_at", "2015-11-14 22:33:20.682734"]]
4413
+  (0.4ms) RELEASE SAVEPOINT active_record_1
4414
+  (0.3ms) ROLLBACK
4415
+  (0.2ms) BEGIN
4416
+ ------------------------------------------------------------------------------
4417
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
4418
+ ------------------------------------------------------------------------------
4419
+  (0.3ms) SAVEPOINT active_record_1
4420
+ TaggableWGeneratedSlug Exists (1.0ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-old-slug') LIMIT 1
4421
+ 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-old-slug"], ["created_at", "2015-11-14 22:33:21.548305"], ["updated_at", "2015-11-14 22:33:21.548305"]]
4422
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4423
+  (0.2ms) SAVEPOINT active_record_1
4424
+ TaggableWGeneratedSlug Exists (0.9ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-new-slug') AND "taggable_w_generated_slugs"."id" != 43) LIMIT 1
4425
+ SQL (0.8ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", "2015-11-14 22:33:22.498418"], ["id", 43]]
4426
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4427
+  (0.3ms) SAVEPOINT active_record_1
4428
+ TaggableWGeneratedSlug Exists (0.6ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('') AND "taggable_w_generated_slugs"."id" != 43) LIMIT 1
4429
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4430
+  (0.3ms) ROLLBACK
4431
+  (0.2ms) BEGIN
4432
+ ----------------------------------------------
4433
+ SluggableTest: test_validates_presence_of_slug
4434
+ ----------------------------------------------
4435
+  (0.3ms) SAVEPOINT active_record_1
4436
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
4437
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4438
+  (0.3ms) ROLLBACK
4439
+  (0.3ms) BEGIN
4440
+ -------------------------------------------------------------------------
4441
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
4442
+ -------------------------------------------------------------------------
4443
+  (0.2ms) SAVEPOINT active_record_1
4444
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4445
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:33:25.249035"], ["updated_at", "2015-11-14 22:33:25.249035"]]
4446
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4447
+  (0.2ms) SAVEPOINT active_record_1
4448
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4449
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4450
+  (0.3ms) ROLLBACK
4451
+  (0.2ms) BEGIN
4452
+ --------------------------------------------------------------------
4453
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
4454
+ --------------------------------------------------------------------
4455
+  (0.2ms) SAVEPOINT active_record_1
4456
+ TaggableWGeneratedSlug Exists (0.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
4457
+ 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-14 22:33:27.093842"], ["updated_at", "2015-11-14 22:33:27.093842"]]
4458
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4459
+  (0.3ms) ROLLBACK
4460
+  (0.2ms) BEGIN
4461
+ -------------------------
4462
+ HumanUrlsTest: test_truth
4463
+ -------------------------
4464
+  (0.2ms) ROLLBACK
4465
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
4466
+  (0.4ms) BEGIN
4467
+ -------------------------------------------------------------------------
4468
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
4469
+ -------------------------------------------------------------------------
4470
+  (0.3ms) SAVEPOINT active_record_1
4471
+ Taggable Exists (1.0ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4472
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:33:35.496559"], ["updated_at", "2015-11-14 22:33:35.496559"]]
4473
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4474
+  (0.2ms) SAVEPOINT active_record_1
4475
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4476
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4477
+  (0.4ms) ROLLBACK
4478
+  (0.2ms) BEGIN
4479
+ --------------------------------------------------------------------
4480
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
4481
+ --------------------------------------------------------------------
4482
+  (0.2ms) SAVEPOINT active_record_1
4483
+ 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
4484
+ 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-14 22:33:35.514084"], ["updated_at", "2015-11-14 22:33:35.514084"]]
4485
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4486
+  (0.2ms) ROLLBACK
4487
+  (0.2ms) BEGIN
4488
+ ----------------------------------------------
4489
+ SluggableTest: test_validates_presence_of_slug
4490
+ ----------------------------------------------
4491
+  (0.2ms) SAVEPOINT active_record_1
4492
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
4493
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4494
+  (0.3ms) ROLLBACK
4495
+  (0.2ms) BEGIN
4496
+ ----------------------------------------------
4497
+ SluggableTest: test_#to_param_returns_the_slug
4498
+ ----------------------------------------------
4499
+  (0.3ms) SAVEPOINT active_record_1
4500
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4501
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:33:35.524101"], ["updated_at", "2015-11-14 22:33:35.524101"]]
4502
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4503
+  (0.2ms) ROLLBACK
4504
+  (0.2ms) BEGIN
4505
+ ------------------------------------------------------------------------------
4506
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
4507
+ ------------------------------------------------------------------------------
4508
+  (0.2ms) SAVEPOINT active_record_1
4509
+ TaggableWGeneratedSlug Exists (0.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-old-slug') LIMIT 1
4510
+ 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-old-slug"], ["created_at", "2015-11-14 22:33:35.529124"], ["updated_at", "2015-11-14 22:33:35.529124"]]
4511
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4512
+  (0.2ms) SAVEPOINT active_record_1
4513
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-new-slug') AND "taggable_w_generated_slugs"."id" != 46) LIMIT 1
4514
+ SQL (0.6ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", "2015-11-14 22:33:35.533550"], ["id", 46]]
4515
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4516
+  (0.2ms) SAVEPOINT active_record_1
4517
+ TaggableWGeneratedSlug Exists (0.6ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('') AND "taggable_w_generated_slugs"."id" != 46) LIMIT 1
4518
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4519
+  (0.3ms) ROLLBACK
4520
+  (0.2ms) BEGIN
4521
+ ------------------------------------------------
4522
+ SluggableTest: test_validates_unqiueness_of_slug
4523
+ ------------------------------------------------
4524
+  (0.2ms) SAVEPOINT active_record_1
4525
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4526
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:33:35.546527"], ["updated_at", "2015-11-14 22:33:35.546527"]]
4527
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4528
+  (0.2ms) SAVEPOINT active_record_1
4529
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4530
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4531
+  (0.3ms) ROLLBACK
4532
+  (0.2ms) BEGIN
4533
+ ------------------------------------------------------------------------
4534
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
4535
+ ------------------------------------------------------------------------
4536
+  (0.2ms) SAVEPOINT active_record_1
4537
+ Taggable Exists (1.1ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
4538
+ 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-14 22:33:35.557089"], ["updated_at", "2015-11-14 22:33:35.557089"]]
4539
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4540
+  (0.2ms) ROLLBACK
4541
+  (0.2ms) BEGIN
4542
+ -------------------------
4543
+ HumanUrlsTest: test_truth
4544
+ -------------------------
4545
+  (0.3ms) ROLLBACK
4546
+  (0.3ms) BEGIN
4547
+ ------------------------------------------------------------------------------
4548
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
4549
+ ------------------------------------------------------------------------------
4550
+  (0.3ms) ROLLBACK
4551
+  (0.1ms) BEGIN
4552
+ ------------------------------------------------------------------------------------------------------------
4553
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
4554
+ ------------------------------------------------------------------------------------------------------------
4555
+  (0.3ms) ROLLBACK
4556
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
4557
+  (0.3ms) BEGIN
4558
+ -------------------------------------------------------------------------
4559
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
4560
+ -------------------------------------------------------------------------
4561
+  (0.3ms) SAVEPOINT active_record_1
4562
+ Taggable Exists (1.3ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4563
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:37:49.387958"], ["updated_at", "2015-11-14 22:37:49.387958"]]
4564
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4565
+  (0.1ms) SAVEPOINT active_record_1
4566
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4567
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4568
+  (0.4ms) ROLLBACK
4569
+  (0.2ms) BEGIN
4570
+ ------------------------------------------------
4571
+ SluggableTest: test_validates_unqiueness_of_slug
4572
+ ------------------------------------------------
4573
+  (0.2ms) SAVEPOINT active_record_1
4574
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4575
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:37:49.397435"], ["updated_at", "2015-11-14 22:37:49.397435"]]
4576
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4577
+  (0.1ms) SAVEPOINT active_record_1
4578
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4579
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4580
+  (0.2ms) ROLLBACK
4581
+  (0.2ms) BEGIN
4582
+ ------------------------------------------------------------------------
4583
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
4584
+ ------------------------------------------------------------------------
4585
+  (0.2ms) SAVEPOINT active_record_1
4586
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
4587
+ 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-14 22:37:49.405149"], ["updated_at", "2015-11-14 22:37:49.405149"]]
4588
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4589
+  (0.2ms) ROLLBACK
4590
+  (0.2ms) BEGIN
4591
+ ----------------------------------------------
4592
+ SluggableTest: test_#to_param_returns_the_slug
4593
+ ----------------------------------------------
4594
+  (0.2ms) SAVEPOINT active_record_1
4595
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4596
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:37:49.409672"], ["updated_at", "2015-11-14 22:37:49.409672"]]
4597
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4598
+  (0.2ms) ROLLBACK
4599
+  (0.2ms) BEGIN
4600
+ ----------------------------------------------
4601
+ SluggableTest: test_validates_presence_of_slug
4602
+ ----------------------------------------------
4603
+  (0.2ms) SAVEPOINT active_record_1
4604
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
4605
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4606
+  (0.2ms) ROLLBACK
4607
+  (0.2ms) BEGIN
4608
+ --------------------------------------------------------------------
4609
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
4610
+ --------------------------------------------------------------------
4611
+  (0.3ms) SAVEPOINT active_record_1
4612
+ 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
4613
+ 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-14 22:37:49.427068"], ["updated_at", "2015-11-14 22:37:49.427068"]]
4614
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4615
+  (0.3ms) ROLLBACK
4616
+  (0.2ms) BEGIN
4617
+ ------------------------------------------------------------------------------
4618
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
4619
+ ------------------------------------------------------------------------------
4620
+  (0.2ms) SAVEPOINT active_record_1
4621
+ TaggableWGeneratedSlug Exists (0.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-old-slug') LIMIT 1
4622
+ 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-old-slug"], ["created_at", "2015-11-14 22:37:49.433375"], ["updated_at", "2015-11-14 22:37:49.433375"]]
4623
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4624
+  (0.2ms) SAVEPOINT active_record_1
4625
+ TaggableWGeneratedSlug Exists (1.1ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-new-slug') AND "taggable_w_generated_slugs"."id" != 48) LIMIT 1
4626
+ SQL (0.5ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", "2015-11-14 22:37:49.439091"], ["id", 48]]
4627
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4628
+  (0.2ms) SAVEPOINT active_record_1
4629
+ TaggableWGeneratedSlug Exists (0.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('') AND "taggable_w_generated_slugs"."id" != 48) LIMIT 1
4630
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4631
+  (0.2ms) ROLLBACK
4632
+  (0.2ms) BEGIN
4633
+ ------------------------------------------------------------------------------
4634
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
4635
+ ------------------------------------------------------------------------------
4636
+  (0.3ms) ROLLBACK
4637
+  (0.3ms) BEGIN
4638
+ ------------------------------------------------------------------------------------------------------------
4639
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
4640
+ ------------------------------------------------------------------------------------------------------------
4641
+  (0.3ms) ROLLBACK
4642
+  (0.2ms) BEGIN
4643
+ -------------------------
4644
+ HumanUrlsTest: test_truth
4645
+ -------------------------
4646
+  (0.2ms) ROLLBACK
4647
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
4648
+  (0.3ms) BEGIN
4649
+ ------------------------------------------------------------------------------
4650
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
4651
+ ------------------------------------------------------------------------------
4652
+  (0.3ms) ROLLBACK
4653
+  (0.2ms) BEGIN
4654
+ ------------------------------------------------------------------------------------------------------------
4655
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
4656
+ ------------------------------------------------------------------------------------------------------------
4657
+  (0.4ms) ROLLBACK
4658
+  (0.2ms) BEGIN
4659
+ -------------------------
4660
+ HumanUrlsTest: test_truth
4661
+ -------------------------
4662
+  (0.2ms) ROLLBACK
4663
+  (0.1ms) BEGIN
4664
+ ------------------------------------------------
4665
+ SluggableTest: test_validates_unqiueness_of_slug
4666
+ ------------------------------------------------
4667
+  (0.3ms) SAVEPOINT active_record_1
4668
+ Taggable Exists (1.2ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4669
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:42:02.075952"], ["updated_at", "2015-11-14 22:42:02.075952"]]
4670
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4671
+  (0.2ms) SAVEPOINT active_record_1
4672
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4673
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4674
+  (0.4ms) ROLLBACK
4675
+  (0.2ms) BEGIN
4676
+ -------------------------------------------------------------------------
4677
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
4678
+ -------------------------------------------------------------------------
4679
+  (0.2ms) SAVEPOINT active_record_1
4680
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4681
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:42:02.086071"], ["updated_at", "2015-11-14 22:42:02.086071"]]
4682
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4683
+  (0.3ms) SAVEPOINT active_record_1
4684
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4685
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
4686
+  (0.3ms) ROLLBACK
4687
+  (0.2ms) BEGIN
4688
+ ------------------------------------------------------------------------
4689
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
4690
+ ------------------------------------------------------------------------
4691
+  (0.2ms) SAVEPOINT active_record_1
4692
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
4693
+ 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-14 22:42:02.095933"], ["updated_at", "2015-11-14 22:42:02.095933"]]
4694
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4695
+  (0.2ms) ROLLBACK
4696
+  (0.2ms) BEGIN
4697
+ ----------------------------------------------
4698
+ SluggableTest: test_#to_param_returns_the_slug
4699
+ ----------------------------------------------
4700
+  (0.2ms) SAVEPOINT active_record_1
4701
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4702
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:42:02.100571"], ["updated_at", "2015-11-14 22:42:02.100571"]]
4703
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4704
+  (0.2ms) ROLLBACK
4705
+  (0.2ms) BEGIN
4706
+ ------------------------------------------------------------------------------
4707
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
4708
+ ------------------------------------------------------------------------------
4709
+  (0.3ms) SAVEPOINT active_record_1
4710
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-old-slug') LIMIT 1
4711
+ 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-old-slug"], ["created_at", "2015-11-14 22:42:02.113062"], ["updated_at", "2015-11-14 22:42:02.113062"]]
4712
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4713
+  (0.2ms) SAVEPOINT active_record_1
4714
+ TaggableWGeneratedSlug Exists (0.9ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-new-slug') AND "taggable_w_generated_slugs"."id" != 49) LIMIT 1
4715
+ SQL (0.8ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", "2015-11-14 22:42:02.118769"], ["id", 49]]
4716
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4717
+  (0.2ms) SAVEPOINT active_record_1
4718
+ TaggableWGeneratedSlug Exists (0.6ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('') AND "taggable_w_generated_slugs"."id" != 49) LIMIT 1
4719
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4720
+  (0.2ms) ROLLBACK
4721
+  (0.2ms) BEGIN
4722
+ --------------------------------------------------------------------
4723
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
4724
+ --------------------------------------------------------------------
4725
+  (0.3ms) SAVEPOINT active_record_1
4726
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('') LIMIT 1
4727
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4728
+  (0.3ms) ROLLBACK
4729
+  (0.3ms) BEGIN
4730
+ ----------------------------------------------
4731
+ SluggableTest: test_validates_presence_of_slug
4732
+ ----------------------------------------------
4733
+  (0.3ms) SAVEPOINT active_record_1
4734
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
4735
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4736
+  (0.2ms) ROLLBACK
4737
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
4738
+  (0.4ms) BEGIN
4739
+ -------------------------
4740
+ HumanUrlsTest: test_truth
4741
+ -------------------------
4742
+  (0.2ms) ROLLBACK
4743
+  (0.2ms) BEGIN
4744
+ ------------------------------------------------------------------------------
4745
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
4746
+ ------------------------------------------------------------------------------
4747
+  (0.3ms) ROLLBACK
4748
+  (0.2ms) BEGIN
4749
+ ------------------------------------------------------------------------------------------------------------
4750
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
4751
+ ------------------------------------------------------------------------------------------------------------
4752
+  (0.5ms) ROLLBACK
4753
+  (0.2ms) BEGIN
4754
+ ----------------------------------------------
4755
+ SluggableTest: test_#to_param_returns_the_slug
4756
+ ----------------------------------------------
4757
+  (0.3ms) SAVEPOINT active_record_1
4758
+ Taggable Exists (1.3ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4759
+ SQL (0.8ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:43:12.292206"], ["updated_at", "2015-11-14 22:43:12.292206"]]
4760
+  (0.5ms) RELEASE SAVEPOINT active_record_1
4761
+  (0.4ms) ROLLBACK
4762
+  (0.2ms) BEGIN
4763
+ ------------------------------------------------
4764
+ SluggableTest: test_validates_unqiueness_of_slug
4765
+ ------------------------------------------------
4766
+  (0.2ms) SAVEPOINT active_record_1
4767
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4768
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:43:12.301445"], ["updated_at", "2015-11-14 22:43:12.301445"]]
4769
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4770
+  (0.2ms) SAVEPOINT active_record_1
4771
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4772
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4773
+  (0.4ms) ROLLBACK
4774
+  (0.2ms) BEGIN
4775
+ ----------------------------------------------
4776
+ SluggableTest: test_validates_presence_of_slug
4777
+ ----------------------------------------------
4778
+  (0.3ms) SAVEPOINT active_record_1
4779
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
4780
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4781
+  (0.3ms) ROLLBACK
4782
+  (0.2ms) BEGIN
4783
+ --------------------------------------------------------------------
4784
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
4785
+ --------------------------------------------------------------------
4786
+  (0.3ms) SAVEPOINT active_record_1
4787
+ 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
4788
+ 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-14 22:43:12.323622"], ["updated_at", "2015-11-14 22:43:12.323622"]]
4789
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4790
+  (0.2ms) ROLLBACK
4791
+  (0.3ms) BEGIN
4792
+ ------------------------------------------------------------------------
4793
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
4794
+ ------------------------------------------------------------------------
4795
+  (0.2ms) SAVEPOINT active_record_1
4796
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
4797
+ 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-14 22:43:12.329816"], ["updated_at", "2015-11-14 22:43:12.329816"]]
4798
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4799
+  (0.2ms) ROLLBACK
4800
+  (0.2ms) BEGIN
4801
+ -------------------------------------------------------------------------
4802
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
4803
+ -------------------------------------------------------------------------
4804
+  (0.2ms) SAVEPOINT active_record_1
4805
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4806
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:43:12.334680"], ["updated_at", "2015-11-14 22:43:12.334680"]]
4807
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4808
+  (0.2ms) SAVEPOINT active_record_1
4809
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4810
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4811
+  (0.2ms) ROLLBACK
4812
+  (0.4ms) BEGIN
4813
+ ------------------------------------------------------------------------------
4814
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
4815
+ ------------------------------------------------------------------------------
4816
+  (0.2ms) SAVEPOINT active_record_1
4817
+ TaggableWGeneratedSlug Exists (1.3ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-old-slug') LIMIT 1
4818
+ 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-old-slug"], ["created_at", "2015-11-14 22:43:12.344900"], ["updated_at", "2015-11-14 22:43:12.344900"]]
4819
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4820
+  (0.2ms) SAVEPOINT active_record_1
4821
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-new-slug') AND "taggable_w_generated_slugs"."id" != 51) LIMIT 1
4822
+ SQL (0.7ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", "2015-11-14 22:43:12.351106"], ["id", 51]]
4823
+  (0.4ms) RELEASE SAVEPOINT active_record_1
4824
+  (0.3ms) SAVEPOINT active_record_1
4825
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') AND "taggable_w_generated_slugs"."id" != 51) LIMIT 1
4826
+ SQL (0.6ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-title"], ["updated_at", "2015-11-14 22:43:12.361759"], ["id", 51]]
4827
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4828
+  (0.3ms) ROLLBACK
4829
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
4830
+  (0.3ms) BEGIN
4831
+ ------------------------------------------------------------------------
4832
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
4833
+ ------------------------------------------------------------------------
4834
+  (0.4ms) SAVEPOINT active_record_1
4835
+ Taggable Exists (1.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
4836
+ 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-14 22:43:54.305400"], ["updated_at", "2015-11-14 22:43:54.305400"]]
4837
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4838
+  (0.3ms) ROLLBACK
4839
+  (0.2ms) BEGIN
4840
+ -------------------------------------------------------------------------
4841
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
4842
+ -------------------------------------------------------------------------
4843
+  (0.2ms) SAVEPOINT active_record_1
4844
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4845
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:43:54.311990"], ["updated_at", "2015-11-14 22:43:54.311990"]]
4846
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4847
+  (0.2ms) SAVEPOINT active_record_1
4848
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4849
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
4850
+  (0.3ms) ROLLBACK
4851
+  (0.3ms) BEGIN
4852
+ ------------------------------------------------------------------------------
4853
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
4854
+ ------------------------------------------------------------------------------
4855
+  (0.3ms) SAVEPOINT active_record_1
4856
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-old-slug') LIMIT 1
4857
+ 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-old-slug"], ["created_at", "2015-11-14 22:43:54.329735"], ["updated_at", "2015-11-14 22:43:54.329735"]]
4858
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4859
+  (0.2ms) SAVEPOINT active_record_1
4860
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-new-slug') AND "taggable_w_generated_slugs"."id" != 52) LIMIT 1
4861
+ SQL (0.7ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", "2015-11-14 22:43:54.335438"], ["id", 52]]
4862
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4863
+  (0.2ms) SAVEPOINT active_record_1
4864
+ TaggableWGeneratedSlug Exists (0.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') AND "taggable_w_generated_slugs"."id" != 52) LIMIT 1
4865
+ SQL (0.7ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-title"], ["updated_at", "2015-11-14 22:43:54.346984"], ["id", 52]]
4866
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4867
+  (0.3ms) ROLLBACK
4868
+  (0.2ms) BEGIN
4869
+ ----------------------------------------------
4870
+ SluggableTest: test_#to_param_returns_the_slug
4871
+ ----------------------------------------------
4872
+  (0.2ms) SAVEPOINT active_record_1
4873
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4874
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:43:54.353040"], ["updated_at", "2015-11-14 22:43:54.353040"]]
4875
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4876
+  (0.3ms) ROLLBACK
4877
+  (0.2ms) BEGIN
4878
+ --------------------------------------------------------------------
4879
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
4880
+ --------------------------------------------------------------------
4881
+  (0.2ms) SAVEPOINT active_record_1
4882
+ 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
4883
+ 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-14 22:43:54.361191"], ["updated_at", "2015-11-14 22:43:54.361191"]]
4884
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4885
+  (0.1ms) ROLLBACK
4886
+  (0.2ms) BEGIN
4887
+ ----------------------------------------------
4888
+ SluggableTest: test_validates_presence_of_slug
4889
+ ----------------------------------------------
4890
+  (0.2ms) SAVEPOINT active_record_1
4891
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
4892
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4893
+  (0.4ms) ROLLBACK
4894
+  (0.2ms) BEGIN
4895
+ ------------------------------------------------
4896
+ SluggableTest: test_validates_unqiueness_of_slug
4897
+ ------------------------------------------------
4898
+  (0.2ms) SAVEPOINT active_record_1
4899
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4900
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:43:54.370909"], ["updated_at", "2015-11-14 22:43:54.370909"]]
4901
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4902
+  (0.2ms) SAVEPOINT active_record_1
4903
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4904
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4905
+  (0.2ms) ROLLBACK
4906
+  (0.2ms) BEGIN
4907
+ -------------------------
4908
+ HumanUrlsTest: test_truth
4909
+ -------------------------
4910
+  (0.2ms) ROLLBACK
4911
+  (0.2ms) BEGIN
4912
+ ------------------------------------------------------------------------------------------------------------
4913
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
4914
+ ------------------------------------------------------------------------------------------------------------
4915
+  (0.3ms) ROLLBACK
4916
+  (0.2ms) BEGIN
4917
+ ------------------------------------------------------------------------------
4918
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
4919
+ ------------------------------------------------------------------------------
4920
+  (0.3ms) ROLLBACK
4921
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
4922
+  (0.4ms) BEGIN
4923
+ ------------------------------------------------------------------------------------------------------------
4924
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
4925
+ ------------------------------------------------------------------------------------------------------------
4926
+  (0.3ms) ROLLBACK
4927
+  (0.2ms) BEGIN
4928
+ ------------------------------------------------------------------------------
4929
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
4930
+ ------------------------------------------------------------------------------
4931
+  (0.2ms) ROLLBACK
4932
+  (0.2ms) BEGIN
4933
+ ------------------------------------------------
4934
+ SluggableTest: test_validates_unqiueness_of_slug
4935
+ ------------------------------------------------
4936
+  (0.3ms) SAVEPOINT active_record_1
4937
+ Taggable Exists (1.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4938
+ SQL (1.1ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:46:00.019482"], ["updated_at", "2015-11-14 22:46:00.019482"]]
4939
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4940
+  (0.2ms) SAVEPOINT active_record_1
4941
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4942
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4943
+  (0.3ms) ROLLBACK
4944
+  (0.2ms) BEGIN
4945
+ ------------------------------------------------------------------------------
4946
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
4947
+ ------------------------------------------------------------------------------
4948
+  (0.3ms) SAVEPOINT active_record_1
4949
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-old-slug') LIMIT 1
4950
+ 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-old-slug"], ["created_at", "2015-11-14 22:46:00.040687"], ["updated_at", "2015-11-14 22:46:00.040687"]]
4951
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4952
+  (0.2ms) SAVEPOINT active_record_1
4953
+ TaggableWGeneratedSlug Exists (0.9ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-new-slug') AND "taggable_w_generated_slugs"."id" != 54) LIMIT 1
4954
+ SQL (0.6ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", "2015-11-14 22:46:00.046830"], ["id", 54]]
4955
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4956
+  (0.3ms) SAVEPOINT active_record_1
4957
+ TaggableWGeneratedSlug Exists (0.6ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE (LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') AND "taggable_w_generated_slugs"."id" != 54) LIMIT 1
4958
+ SQL (0.5ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-title"], ["updated_at", "2015-11-14 22:46:00.057697"], ["id", 54]]
4959
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4960
+  (0.2ms) ROLLBACK
4961
+  (0.2ms) BEGIN
4962
+ --------------------------------------------------------------------
4963
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
4964
+ --------------------------------------------------------------------
4965
+  (0.2ms) SAVEPOINT active_record_1
4966
+ TaggableWGeneratedSlug Exists (0.6ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER('my-title') LIMIT 1
4967
+ 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-14 22:46:00.062759"], ["updated_at", "2015-11-14 22:46:00.062759"]]
4968
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4969
+  (0.2ms) ROLLBACK
4970
+  (0.2ms) BEGIN
4971
+ ----------------------------------------------
4972
+ SluggableTest: test_validates_presence_of_slug
4973
+ ----------------------------------------------
4974
+  (0.2ms) SAVEPOINT active_record_1
4975
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('') LIMIT 1
4976
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
4977
+  (0.2ms) ROLLBACK
4978
+  (0.3ms) BEGIN
4979
+ -------------------------------------------------------------------------
4980
+ SluggableTest: test_validates_unqiueness_of_slug_and_isn't_case_sensitive
4981
+ -------------------------------------------------------------------------
4982
+  (0.2ms) SAVEPOINT active_record_1
4983
+ Taggable Exists (0.4ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4984
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:46:00.072296"], ["updated_at", "2015-11-14 22:46:00.072296"]]
4985
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4986
+  (0.2ms) SAVEPOINT active_record_1
4987
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
4988
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
4989
+  (0.4ms) ROLLBACK
4990
+  (0.4ms) BEGIN
4991
+ ------------------------------------------------------------------------
4992
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
4993
+ ------------------------------------------------------------------------
4994
+  (0.3ms) SAVEPOINT active_record_1
4995
+ Taggable Exists (0.8ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('this-i-my-slug') LIMIT 1
4996
+ 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-14 22:46:00.084164"], ["updated_at", "2015-11-14 22:46:00.084164"]]
4997
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4998
+  (0.1ms) ROLLBACK
4999
+  (0.2ms) BEGIN
5000
+ ----------------------------------------------
5001
+ SluggableTest: test_#to_param_returns_the_slug
5002
+ ----------------------------------------------
5003
+  (0.2ms) SAVEPOINT active_record_1
5004
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER('slug') LIMIT 1
5005
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", "2015-11-14 22:46:00.088667"], ["updated_at", "2015-11-14 22:46:00.088667"]]
5006
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5007
+  (0.3ms) ROLLBACK
5008
+  (0.2ms) BEGIN
5009
+ -------------------------
5010
+ HumanUrlsTest: test_truth
5011
+ -------------------------
5012
+  (0.2ms) ROLLBACK