(0.2ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------- TranslatableRecordsTest: test_truth -----------------------------------  (0.0ms) rollback transaction  (0.2ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) rollback transaction  (0.2ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_created_at" ON "model_translations" ("created_at")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE INDEX "index_model_translations_on_updated_at" ON "model_translations" ("updated_at")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819160941')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_created_at" ON "model_translations" ("created_at")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE INDEX "index_model_translations_on_updated_at" ON "model_translations" ("updated_at")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819160941')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_created_at" ON "model_translations" ("created_at")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE INDEX "index_model_translations_on_updated_at" ON "model_translations" ("updated_at")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819160941')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_created_at" ON "model_translations" ("created_at")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE INDEX "index_model_translations_on_updated_at" ON "model_translations" ("updated_at")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819160941')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819160941')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.2ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (18.9ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 19 Aug 2013 16:24:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819160941')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.7ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 19 Aug 2013 16:26:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819160941')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.7ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 19 Aug 2013 16:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819160941')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.7ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 19 Aug 2013 16:28:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819160941')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.8ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 19 Aug 2013 16:35:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819160941')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.7ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 19 Aug 2013 16:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819160941')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.7ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 19 Aug 2013 16:37:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (17.8ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00]] SQL (0.4ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00], ["updated_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 19 Aug 2013 16:53:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.2ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (2.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 03 Mar 2014 17:56:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.2ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.9ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 03 Mar 2014 17:58:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction --------------------------------------- RecrodsTest: test_should_change_locales ---------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.9ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]] ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 03 Mar 2014 18:03:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction --------------------------------------- RecrodsTest: test_should_change_locales ---------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.8ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]] ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 03 Mar 2014 18:03:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction --------------------------------------- RecrodsTest: test_should_change_locales ---------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.8ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:04:54 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:04:54 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:04:54 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:04:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]] ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 03 Mar 2014 18:04:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- RecrodsTest: test_should_change_locales ---------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.9ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]] ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 03 Mar 2014 18:11:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction ------------------------------------- I18nGeneratorTest: test_should_exists -------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- RecrodsTest: test_should_change_locales ---------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.8ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]] ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 03 Mar 2014 18:12:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction --------------------------------------------- I18nGeneratorTest: test_should_generate_files ---------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- RecrodsTest: test_should_change_locales ---------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.8ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]] ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 03 Mar 2014 18:12:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar(255), "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.1ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.2ms) begin transaction --------------------------------------------- I18nGeneratorTest: test_should_generate_files ---------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- RecrodsTest: test_should_change_locales ---------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.8ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]] ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_create_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ RecrodsTest: test_should_delete_associated_translation ------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- RecrodsTest: test_should_edit_associated_translation ----------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00], ["updated_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", Mon, 03 Mar 2014 18:12:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction