rails_slugs 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rails_slugs/active_record/base.rb +1 -1
- data/lib/rails_slugs/version.rb +1 -1
- data/test/dummy/log/test.log +603 -0
- metadata +4 -4
data/lib/rails_slugs/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -10850,3 +10850,606 @@ Connecting to database specified by database.yml
|
|
10850
10850
|
[1m[35mWithout Load (0.1ms)[0m SELECT "withouts".* FROM "withouts" WHERE "withouts"."id" = ? LIMIT 1 [["id", "1"]]
|
10851
10851
|
[1m[36mWithout Load (0.1ms)[0m [1mSELECT "withouts".* FROM "withouts" WHERE "withouts"."id" = ? LIMIT 1[0m [["id", 1]]
|
10852
10852
|
[1m[35m (0.1ms)[0m rollback transaction
|
10853
|
+
Connecting to database specified by database.yml
|
10854
|
+
[1m[36m (14.7ms)[0m [1mselect sqlite_version(*)[0m
|
10855
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "simples" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "slug" varchar(255))
|
10856
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "translatables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy" varchar(255)) [0m
|
10857
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "translatables_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "translatable_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255) NOT NULL, "age" integer NOT NULL, "slug" varchar(255) NOT NULL)
|
10858
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "withouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) [0m
|
10859
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
10860
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
10861
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
10862
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130128234241')[0m
|
10863
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10864
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10865
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10866
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10867
|
+
[1m[35mSQL (1.8ms)[0m INSERT INTO "withouts" ("name") VALUES (?) [["name", "name"]]
|
10868
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10869
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10870
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1[0m
|
10871
|
+
[1m[35mSQL (23.9ms)[0m INSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?) [["age", 14], ["name", "name"], ["slug", "name"]]
|
10872
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10873
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1
|
10874
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10875
|
+
[1m[35mTranslatable Load (0.3ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1
|
10876
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
10877
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables" ("dummy") VALUES (?) [["dummy", nil]]
|
10878
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
10879
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10880
|
+
[1m[36mSimple Load (0.1ms)[0m [1mSELECT "simples".* FROM "simples" WHERE "simples"."slug" = 'name' LIMIT 1[0m
|
10881
|
+
[1m[35mTranslatable Load (0.1ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE (t.slug = 'translatable-name' AND t.locale = 'en') LIMIT 1
|
10882
|
+
[1m[36mTranslatableTranslation Load (0.2ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (1)[0m
|
10883
|
+
[1m[35m (17.8ms)[0m rollback transaction
|
10884
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10885
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10886
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
10887
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10888
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10889
|
+
[1m[35mSimple Load (0.3ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
10890
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
10891
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10892
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
10893
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10894
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
10895
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
10896
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
10897
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
10898
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10899
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10900
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'same' OR slug LIKE 'same-_')) ORDER BY slug DESC LIMIT 1[0m
|
10901
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?) [["age", 34], ["name", "same"], ["slug", "same"]]
|
10902
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10903
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10904
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'same' OR slug LIKE 'same-_')) ORDER BY slug DESC LIMIT 1[0m
|
10905
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?) [["age", 45], ["name", "same"], ["slug", "same-1"]]
|
10906
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10907
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10908
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'same' OR slug LIKE 'same-_')) ORDER BY slug DESC LIMIT 1[0m
|
10909
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?) [["age", 234], ["name", "same"], ["slug", "same-2"]]
|
10910
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10911
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10912
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'other' OR slug LIKE 'other-_')) ORDER BY slug DESC LIMIT 1[0m
|
10913
|
+
[1m[35m (0.1ms)[0m UPDATE "simples" SET "name" = 'other', "slug" = 'other' WHERE "simples"."id" = 2
|
10914
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10915
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10916
|
+
[1m[36mSimple Load (0.3ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'other' OR slug LIKE 'other-_')) ORDER BY slug DESC LIMIT 1[0m
|
10917
|
+
[1m[35m (0.1ms)[0m UPDATE "simples" SET "name" = 'other', "slug" = 'other-1' WHERE "simples"."id" = 3
|
10918
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10919
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10920
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'other' OR slug LIKE 'other-_')) ORDER BY slug DESC LIMIT 1[0m
|
10921
|
+
[1m[35m (0.1ms)[0m UPDATE "simples" SET "name" = 'other', "slug" = 'other-2' WHERE "simples"."id" = 4
|
10922
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10923
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1
|
10924
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10925
|
+
[1m[35mTranslatable Load (0.2ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'same' OR t.slug LIKE 'same-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1
|
10926
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
10927
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables" ("dummy") VALUES (?) [["dummy", nil]]
|
10928
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["locale", "en"], ["name", "same"], ["slug", "same"], ["translatable_id", 2]]
|
10929
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10930
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
10931
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10932
|
+
[1m[36mTranslatable Load (0.3ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'same' OR t.slug LIKE 'same-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
10933
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (2)
|
10934
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
10935
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables" ("dummy") VALUES (?) [["dummy", nil]]
|
10936
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?)[0m [["age", 45], ["locale", "en"], ["name", "same"], ["slug", "same-1"], ["translatable_id", 3]]
|
10937
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10938
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
10939
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10940
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'same' OR t.slug LIKE 'same-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
10941
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (3)
|
10942
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
10943
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables" ("dummy") VALUES (?) [["dummy", nil]]
|
10944
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?)[0m [["age", 234], ["locale", "en"], ["name", "same"], ["slug", "same-2"], ["translatable_id", 4]]
|
10945
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10946
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10947
|
+
[1m[35mTranslatable Load (0.2ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'other' OR t.slug LIKE 'other-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1
|
10948
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 2 AND "translatables_i18n"."id" != 2 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
10949
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "name" = 'other', "slug" = 'other' WHERE "translatables_i18n"."id" = 2
|
10950
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10951
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10952
|
+
[1m[36mTranslatable Load (0.3ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'other' OR t.slug LIKE 'other-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
10953
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (2)
|
10954
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 3 AND "translatables_i18n"."id" != 3 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
10955
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "name" = 'other', "slug" = 'other-1' WHERE "translatables_i18n"."id" = 3
|
10956
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10957
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10958
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'other' OR t.slug LIKE 'other-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
10959
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (3)
|
10960
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 4 AND "translatables_i18n"."id" != 4 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
10961
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "name" = 'other', "slug" = 'other-2' WHERE "translatables_i18n"."id" = 4
|
10962
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10963
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10964
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10965
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10966
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
10967
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10968
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10969
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
10970
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
10971
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10972
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
10973
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10974
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
10975
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
10976
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
10977
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
10978
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10979
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10980
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'new-name' OR slug LIKE 'new-name-_')) ORDER BY slug DESC LIMIT 1[0m
|
10981
|
+
[1m[35m (0.1ms)[0m UPDATE "simples" SET "name" = 'new name', "slug" = 'new-name' WHERE "simples"."id" = 1
|
10982
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10983
|
+
[1m[35mSimple Load (0.1ms)[0m SELECT "simples".* FROM "simples" WHERE "simples"."slug" = 'new-name' LIMIT 1
|
10984
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10985
|
+
[1m[35mTranslatable Load (0.2ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'new-translatable-name' OR t.slug LIKE 'new-translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1
|
10986
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 1 AND "translatables_i18n"."id" != 1 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
10987
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "name" = 'new translatable name', "slug" = 'new-translatable-name' WHERE "translatables_i18n"."id" = 1
|
10988
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10989
|
+
[1m[35mTranslatable Load (0.1ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE (t.slug = 'new-translatable-name' AND t.locale = 'en') LIMIT 1
|
10990
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (1)[0m
|
10991
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10992
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10993
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10994
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
10995
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10996
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10997
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
10998
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
10999
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11000
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11001
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11002
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11003
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11004
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11005
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11006
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11007
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11008
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "simples" SET "slug" = 'direct slug' WHERE "simples"."id" = 1[0m
|
11009
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11010
|
+
[1m[36mSimple Load (0.1ms)[0m [1mSELECT "simples".* FROM "simples" WHERE "simples"."slug" = 'direct slug' LIMIT 1[0m
|
11011
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11012
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 1 AND "translatables_i18n"."id" != 1 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11013
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "slug" = 'translatable direct slug' WHERE "translatables_i18n"."id" = 1
|
11014
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11015
|
+
[1m[35mTranslatable Load (0.1ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE (t.slug = 'translatable direct slug' AND t.locale = 'en') LIMIT 1
|
11016
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (1)[0m
|
11017
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11018
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11019
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11020
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
11021
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11022
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11023
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
11024
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
11025
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11026
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11027
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11028
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11029
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11030
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11031
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11032
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11033
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1
|
11034
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11035
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11036
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11037
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11038
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
11039
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11040
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11041
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
11042
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
11043
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11044
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11045
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11046
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11047
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11048
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11049
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11050
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11051
|
+
[1m[35mWithout Load (0.1ms)[0m SELECT "withouts".* FROM "withouts" WHERE "withouts"."id" = ? LIMIT 1 [["id", "1"]]
|
11052
|
+
[1m[36mWithout Load (0.1ms)[0m [1mSELECT "withouts".* FROM "withouts" WHERE "withouts"."id" = ? LIMIT 1[0m [["id", 1]]
|
11053
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11054
|
+
Connecting to database specified by database.yml
|
11055
|
+
[1m[36m (2.0ms)[0m [1mselect sqlite_version(*)[0m
|
11056
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "simples" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "slug" varchar(255))
|
11057
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "translatables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy" varchar(255)) [0m
|
11058
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "translatables_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "translatable_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255) NOT NULL, "age" integer NOT NULL, "slug" varchar(255) NOT NULL)
|
11059
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "withouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) [0m
|
11060
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
11061
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
11062
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
11063
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130128234241')[0m
|
11064
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11065
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11066
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11067
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11068
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "withouts" ("name") VALUES (?) [["name", "name"]]
|
11069
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11070
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11071
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1[0m
|
11072
|
+
[1m[35mSQL (32.7ms)[0m INSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?) [["age", 14], ["name", "name"], ["slug", "name"]]
|
11073
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11074
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1
|
11075
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11076
|
+
[1m[35mTranslatable Load (0.3ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1
|
11077
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11078
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables" ("dummy") VALUES (?) [["dummy", nil]]
|
11079
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11080
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11081
|
+
[1m[36mSimple Load (0.1ms)[0m [1mSELECT "simples".* FROM "simples" WHERE "simples"."slug" = 'name' LIMIT 1[0m
|
11082
|
+
[1m[35mTranslatable Load (0.1ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE (t.slug = 'translatable-name' AND t.locale = 'en') LIMIT 1
|
11083
|
+
[1m[36mTranslatableTranslation Load (0.2ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (1)[0m
|
11084
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11085
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11086
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11087
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
11088
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11089
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11090
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
11091
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
11092
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11093
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11094
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11095
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11096
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11097
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11098
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11099
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11100
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11101
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'same' OR slug LIKE 'same-_')) ORDER BY slug DESC LIMIT 1[0m
|
11102
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?) [["age", 34], ["name", "same"], ["slug", "same"]]
|
11103
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11104
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11105
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'same' OR slug LIKE 'same-_')) ORDER BY slug DESC LIMIT 1[0m
|
11106
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?) [["age", 45], ["name", "same"], ["slug", "same-1"]]
|
11107
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11108
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11109
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'same' OR slug LIKE 'same-_')) ORDER BY slug DESC LIMIT 1[0m
|
11110
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?) [["age", 234], ["name", "same"], ["slug", "same-2"]]
|
11111
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11112
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11113
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'other' OR slug LIKE 'other-_')) ORDER BY slug DESC LIMIT 1[0m
|
11114
|
+
[1m[35m (0.1ms)[0m UPDATE "simples" SET "name" = 'other', "slug" = 'other' WHERE "simples"."id" = 2
|
11115
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11116
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11117
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'other' OR slug LIKE 'other-_')) ORDER BY slug DESC LIMIT 1[0m
|
11118
|
+
[1m[35m (0.1ms)[0m UPDATE "simples" SET "name" = 'other', "slug" = 'other-1' WHERE "simples"."id" = 3
|
11119
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11120
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11121
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'other' OR slug LIKE 'other-_')) ORDER BY slug DESC LIMIT 1[0m
|
11122
|
+
[1m[35m (0.1ms)[0m UPDATE "simples" SET "name" = 'other', "slug" = 'other-2' WHERE "simples"."id" = 4
|
11123
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11124
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1
|
11125
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11126
|
+
[1m[35mTranslatable Load (0.2ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'same' OR t.slug LIKE 'same-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1
|
11127
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11128
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables" ("dummy") VALUES (?) [["dummy", nil]]
|
11129
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["locale", "en"], ["name", "same"], ["slug", "same"], ["translatable_id", 2]]
|
11130
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11131
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11132
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11133
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'same' OR t.slug LIKE 'same-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11134
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (2)
|
11135
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11136
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables" ("dummy") VALUES (?) [["dummy", nil]]
|
11137
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?)[0m [["age", 45], ["locale", "en"], ["name", "same"], ["slug", "same-1"], ["translatable_id", 3]]
|
11138
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11139
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11140
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11141
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'same' OR t.slug LIKE 'same-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11142
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (3)
|
11143
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11144
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables" ("dummy") VALUES (?) [["dummy", nil]]
|
11145
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?)[0m [["age", 234], ["locale", "en"], ["name", "same"], ["slug", "same-2"], ["translatable_id", 4]]
|
11146
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11147
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11148
|
+
[1m[35mTranslatable Load (0.2ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'other' OR t.slug LIKE 'other-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1
|
11149
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 2 AND "translatables_i18n"."id" != 2 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11150
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "name" = 'other', "slug" = 'other' WHERE "translatables_i18n"."id" = 2
|
11151
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11152
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11153
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'other' OR t.slug LIKE 'other-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11154
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (2)
|
11155
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 3 AND "translatables_i18n"."id" != 3 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11156
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "name" = 'other', "slug" = 'other-1' WHERE "translatables_i18n"."id" = 3
|
11157
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11158
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11159
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'other' OR t.slug LIKE 'other-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11160
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (3)
|
11161
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 4 AND "translatables_i18n"."id" != 4 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11162
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "name" = 'other', "slug" = 'other-2' WHERE "translatables_i18n"."id" = 4
|
11163
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11164
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11165
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11166
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11167
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
11168
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11169
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11170
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
11171
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
11172
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11173
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11174
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11175
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11176
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11177
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11178
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11179
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11180
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11181
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'new-name' OR slug LIKE 'new-name-_')) ORDER BY slug DESC LIMIT 1[0m
|
11182
|
+
[1m[35m (0.1ms)[0m UPDATE "simples" SET "name" = 'new name', "slug" = 'new-name' WHERE "simples"."id" = 1
|
11183
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11184
|
+
[1m[35mSimple Load (0.1ms)[0m SELECT "simples".* FROM "simples" WHERE "simples"."slug" = 'new-name' LIMIT 1
|
11185
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11186
|
+
[1m[35mTranslatable Load (0.2ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'new-translatable-name' OR t.slug LIKE 'new-translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1
|
11187
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 1 AND "translatables_i18n"."id" != 1 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11188
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "name" = 'new translatable name', "slug" = 'new-translatable-name' WHERE "translatables_i18n"."id" = 1
|
11189
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11190
|
+
[1m[35mTranslatable Load (0.1ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE (t.slug = 'new-translatable-name' AND t.locale = 'en') LIMIT 1
|
11191
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (1)[0m
|
11192
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11193
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11194
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11195
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
11196
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11197
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11198
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
11199
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
11200
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11201
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11202
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11203
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11204
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11205
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11206
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11207
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11208
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11209
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "simples" SET "slug" = 'direct slug' WHERE "simples"."id" = 1[0m
|
11210
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11211
|
+
[1m[36mSimple Load (0.1ms)[0m [1mSELECT "simples".* FROM "simples" WHERE "simples"."slug" = 'direct slug' LIMIT 1[0m
|
11212
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11213
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 1 AND "translatables_i18n"."id" != 1 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11214
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "slug" = 'translatable direct slug' WHERE "translatables_i18n"."id" = 1
|
11215
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11216
|
+
[1m[35mTranslatable Load (0.1ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE (t.slug = 'translatable direct slug' AND t.locale = 'en') LIMIT 1
|
11217
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (1)[0m
|
11218
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11219
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11220
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11221
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
11222
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11223
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11224
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
11225
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
11226
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11227
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11228
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11229
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11230
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11231
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11232
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11233
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11234
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1
|
11235
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11236
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11238
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11239
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
11240
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11241
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11242
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
11243
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
11244
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11245
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11246
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11247
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11248
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11249
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11250
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11251
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11252
|
+
[1m[35mWithout Load (0.1ms)[0m SELECT "withouts".* FROM "withouts" WHERE "withouts"."id" = ? LIMIT 1 [["id", "1"]]
|
11253
|
+
[1m[36mWithout Load (0.1ms)[0m [1mSELECT "withouts".* FROM "withouts" WHERE "withouts"."id" = ? LIMIT 1[0m [["id", 1]]
|
11254
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11255
|
+
Connecting to database specified by database.yml
|
11256
|
+
[1m[36m (1.9ms)[0m [1mselect sqlite_version(*)[0m
|
11257
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "simples" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "slug" varchar(255))
|
11258
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "translatables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy" varchar(255)) [0m
|
11259
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "translatables_i18n" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "translatable_id" integer NOT NULL, "locale" varchar(255) NOT NULL, "name" varchar(255) NOT NULL, "age" integer NOT NULL, "slug" varchar(255) NOT NULL)
|
11260
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "withouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) [0m
|
11261
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
11262
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
11263
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
11264
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130128234241')[0m
|
11265
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11266
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11267
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11268
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11269
|
+
[1m[35mSQL (2.0ms)[0m INSERT INTO "withouts" ("name") VALUES (?) [["name", "name"]]
|
11270
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11271
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11272
|
+
[1m[36mSimple Load (0.3ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1[0m
|
11273
|
+
[1m[35mSQL (31.6ms)[0m INSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?) [["age", 14], ["name", "name"], ["slug", "name"]]
|
11274
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11275
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1
|
11276
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
11277
|
+
[1m[35mTranslatable Load (0.3ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1
|
11278
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11279
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables" ("dummy") VALUES (?) [["dummy", nil]]
|
11280
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?)[0m [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11281
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11282
|
+
[1m[36mSimple Load (0.1ms)[0m [1mSELECT "simples".* FROM "simples" WHERE "simples"."slug" = 'name' LIMIT 1[0m
|
11283
|
+
[1m[35mTranslatable Load (0.1ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE (t.slug = 'translatable-name' AND t.locale = 'en') LIMIT 1
|
11284
|
+
[1m[36mTranslatableTranslation Load (0.2ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (1)[0m
|
11285
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11286
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11287
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11288
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
11289
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11290
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11291
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
11292
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
11293
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11294
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11295
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11296
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11297
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11298
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11299
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11300
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11301
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11302
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'same' OR slug LIKE 'same-_')) ORDER BY slug DESC LIMIT 1[0m
|
11303
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?) [["age", 34], ["name", "same"], ["slug", "same"]]
|
11304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11305
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11306
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'same' OR slug LIKE 'same-_')) ORDER BY slug DESC LIMIT 1[0m
|
11307
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?) [["age", 45], ["name", "same"], ["slug", "same-1"]]
|
11308
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11309
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11310
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'same' OR slug LIKE 'same-_')) ORDER BY slug DESC LIMIT 1[0m
|
11311
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?) [["age", 234], ["name", "same"], ["slug", "same-2"]]
|
11312
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11313
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11314
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'other' OR slug LIKE 'other-_')) ORDER BY slug DESC LIMIT 1[0m
|
11315
|
+
[1m[35m (0.1ms)[0m UPDATE "simples" SET "name" = 'other', "slug" = 'other' WHERE "simples"."id" = 2
|
11316
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11317
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11318
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'other' OR slug LIKE 'other-_')) ORDER BY slug DESC LIMIT 1[0m
|
11319
|
+
[1m[35m (0.1ms)[0m UPDATE "simples" SET "name" = 'other', "slug" = 'other-1' WHERE "simples"."id" = 3
|
11320
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11321
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11322
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'other' OR slug LIKE 'other-_')) ORDER BY slug DESC LIMIT 1[0m
|
11323
|
+
[1m[35m (0.1ms)[0m UPDATE "simples" SET "name" = 'other', "slug" = 'other-2' WHERE "simples"."id" = 4
|
11324
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11325
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1
|
11326
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11327
|
+
[1m[35mTranslatable Load (0.3ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'same' OR t.slug LIKE 'same-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1
|
11328
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11329
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables" ("dummy") VALUES (?) [["dummy", nil]]
|
11330
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?)[0m [["age", 34], ["locale", "en"], ["name", "same"], ["slug", "same"], ["translatable_id", 2]]
|
11331
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11332
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11333
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11334
|
+
[1m[36mTranslatable Load (0.3ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'same' OR t.slug LIKE 'same-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11335
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (2)
|
11336
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11337
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables" ("dummy") VALUES (?) [["dummy", nil]]
|
11338
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?)[0m [["age", 45], ["locale", "en"], ["name", "same"], ["slug", "same-1"], ["translatable_id", 3]]
|
11339
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11340
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11341
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
11342
|
+
[1m[36mTranslatable Load (0.3ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'same' OR t.slug LIKE 'same-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11343
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (3)
|
11344
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11345
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables" ("dummy") VALUES (?) [["dummy", nil]]
|
11346
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?)[0m [["age", 234], ["locale", "en"], ["name", "same"], ["slug", "same-2"], ["translatable_id", 4]]
|
11347
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11348
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11349
|
+
[1m[35mTranslatable Load (0.2ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'other' OR t.slug LIKE 'other-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1
|
11350
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 2 AND "translatables_i18n"."id" != 2 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11351
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "name" = 'other', "slug" = 'other' WHERE "translatables_i18n"."id" = 2
|
11352
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11353
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11354
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'other' OR t.slug LIKE 'other-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11355
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (2)
|
11356
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 3 AND "translatables_i18n"."id" != 3 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11357
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "name" = 'other', "slug" = 'other-1' WHERE "translatables_i18n"."id" = 3
|
11358
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11359
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11360
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'other' OR t.slug LIKE 'other-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11361
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (3)
|
11362
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 4 AND "translatables_i18n"."id" != 4 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11363
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "name" = 'other', "slug" = 'other-2' WHERE "translatables_i18n"."id" = 4
|
11364
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11365
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11366
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11367
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11368
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
11369
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11370
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11371
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
11372
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
11373
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11374
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11375
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11376
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11377
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11378
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11379
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11380
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11381
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11382
|
+
[1m[36mSimple Load (0.2ms)[0m [1mSELECT "simples".* FROM "simples" WHERE ((slug = 'new-name' OR slug LIKE 'new-name-_')) ORDER BY slug DESC LIMIT 1[0m
|
11383
|
+
[1m[35m (0.1ms)[0m UPDATE "simples" SET "name" = 'new name', "slug" = 'new-name' WHERE "simples"."id" = 1
|
11384
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11385
|
+
[1m[35mSimple Load (0.1ms)[0m SELECT "simples".* FROM "simples" WHERE "simples"."slug" = 'new-name' LIMIT 1
|
11386
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11387
|
+
[1m[35mTranslatable Load (0.2ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'new-translatable-name' OR t.slug LIKE 'new-translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1
|
11388
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 1 AND "translatables_i18n"."id" != 1 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11389
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "name" = 'new translatable name', "slug" = 'new-translatable-name' WHERE "translatables_i18n"."id" = 1
|
11390
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11391
|
+
[1m[35mTranslatable Load (0.1ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE (t.slug = 'new-translatable-name' AND t.locale = 'en') LIMIT 1
|
11392
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (1)[0m
|
11393
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11394
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11395
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11396
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
11397
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11398
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11399
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
11400
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
11401
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11402
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11403
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11404
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11405
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11406
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11407
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11408
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11409
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11410
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "simples" SET "slug" = 'direct slug' WHERE "simples"."id" = 1[0m
|
11411
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
11412
|
+
[1m[36mSimple Load (0.1ms)[0m [1mSELECT "simples".* FROM "simples" WHERE "simples"."slug" = 'direct slug' LIMIT 1[0m
|
11413
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11414
|
+
[1m[36mTranslatableTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" = 1 AND "translatables_i18n"."id" != 1 AND "translatables_i18n"."locale" = 'en') LIMIT 1[0m
|
11415
|
+
[1m[35m (0.1ms)[0m UPDATE "translatables_i18n" SET "slug" = 'translatable direct slug' WHERE "translatables_i18n"."id" = 1
|
11416
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11417
|
+
[1m[35mTranslatable Load (0.1ms)[0m SELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE (t.slug = 'translatable direct slug' AND t.locale = 'en') LIMIT 1
|
11418
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IN (1)[0m
|
11419
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11420
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11421
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11422
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
11423
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11424
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11425
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
11426
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
11427
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11428
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11429
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11430
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11431
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11432
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11433
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11434
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11435
|
+
[1m[35mTranslatableTranslation Load (0.1ms)[0m SELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1
|
11436
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11437
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11438
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11439
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11440
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "withouts" ("name") VALUES (?)[0m [["name", "name"]]
|
11441
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11442
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
11443
|
+
[1m[35mSimple Load (0.2ms)[0m SELECT "simples".* FROM "simples" WHERE ((slug = 'name' OR slug LIKE 'name-_')) ORDER BY slug DESC LIMIT 1
|
11444
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "simples" ("age", "name", "slug") VALUES (?, ?, ?)[0m [["age", 14], ["name", "name"], ["slug", "name"]]
|
11445
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
11446
|
+
[1m[36mTranslatableTranslation Load (0.1ms)[0m [1mSELECT "translatables_i18n".* FROM "translatables_i18n" WHERE "translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en' LIMIT 1[0m
|
11447
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
11448
|
+
[1m[36mTranslatable Load (0.2ms)[0m [1mSELECT "translatables".* FROM "translatables" INNER JOIN translatables_i18n t ON t.translatable_id = translatables.id WHERE ((t.slug = 'translatable-name' OR t.slug LIKE 'translatable-name-_') AND t.locale = 'en') ORDER BY t.slug DESC LIMIT 1[0m
|
11449
|
+
[1m[35mTranslatableTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "translatables_i18n" WHERE ("translatables_i18n"."translatable_id" IS NULL AND "translatables_i18n"."locale" = 'en') LIMIT 1
|
11450
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "translatables" ("dummy") VALUES (?)[0m [["dummy", nil]]
|
11451
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "translatables_i18n" ("age", "locale", "name", "slug", "translatable_id") VALUES (?, ?, ?, ?, ?) [["age", 20], ["locale", "en"], ["name", "translatable name"], ["slug", "translatable-name"], ["translatable_id", 1]]
|
11452
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11453
|
+
[1m[35mWithout Load (0.1ms)[0m SELECT "withouts".* FROM "withouts" WHERE "withouts"."id" = ? LIMIT 1 [["id", "1"]]
|
11454
|
+
[1m[36mWithout Load (0.1ms)[0m [1mSELECT "withouts".* FROM "withouts" WHERE "withouts"."id" = ? LIMIT 1[0m [["id", 1]]
|
11455
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_slugs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,14 +9,14 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 3.2.8
|
22
22
|
type: :runtime
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 3.2.8
|
30
30
|
- !ruby/object:Gem::Dependency
|