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