(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  (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) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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_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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:41:42.825816"], ["updated_at", "2014-06-08 20:41:42.825816"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:41:42.828714"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:41:42.828714"]]  (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.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", "2014-06-08 20:41:42.837522"], ["updated_at", "2014-06-08 20:41:42.837522"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:41:42.838536"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:41:42.838536"]]  (0.0ms) 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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:41:42.841247"], ["updated_at", "2014-06-08 20:41:42.841247"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:41:42.841806"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:41:42.841806"]]  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:41:42.845613"], ["updated_at", "2014-06-08 20:41:42.845613"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:41:42.846206"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:41:42.846206"]]  (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", "2014-06-08 20:41:42.848258"]]  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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.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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:43:49.115864"], ["updated_at", "2014-06-08 20:43:49.115864"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:43:49.118968"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:43:49.118968"]]  (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.1ms) 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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:43:49.127272"], ["updated_at", "2014-06-08 20:43:49.127272"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:43:49.127999"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:43:49.127999"]]  (0.0ms) 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", "2014-06-08 20:43:49.130566"], ["updated_at", "2014-06-08 20:43:49.130566"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:43:49.131172"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:43:49.131172"]]  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:43:49.135235"], ["updated_at", "2014-06-08 20:43:49.135235"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:43:49.135855"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:43:49.135855"]]  (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", "2014-06-08 20:43:49.138037"]]  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:45:51.768468"], ["updated_at", "2014-06-08 20:45:51.768468"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:45:51.771388"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:45:51.771388"]]  (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.1ms) 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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:45:51.779470"], ["updated_at", "2014-06-08 20:45:51.779470"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:45:51.780153"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:45:51.780153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:45:51.782750"], ["updated_at", "2014-06-08 20:45:51.782750"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:45:51.783332"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:45:51.783332"]]  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:45:51.787552"], ["updated_at", "2014-06-08 20:45:51.787552"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:45:51.788155"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:45:51.788155"]]  (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", "2014-06-08 20:45:51.790207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------- I18nGeneratorTest: test_should_generate_files ---------------------------------------------  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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_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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:46:22.251791"], ["updated_at", "2014-06-08 20:46:22.251791"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:46:22.254905"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:46:22.254905"]]  (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.1ms) 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]] 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.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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:46:22.263200"], ["updated_at", "2014-06-08 20:46:22.263200"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:46:22.263912"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:46:22.263912"]]  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 20:46:22.266507"], ["updated_at", "2014-06-08 20:46:22.266507"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:46:22.267079"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:46:22.267079"]]  (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", "2014-06-08 20:46:22.271552"], ["updated_at", "2014-06-08 20:46:22.271552"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 20:46:22.272252"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 20:46:22.272252"]]  (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", "2014-06-08 20:46:22.274377"]]  (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) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:25:23.307782"], ["updated_at", "2014-06-08 21:25:23.307782"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:25:23.311420"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:25:23.311420"]]  (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]] 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]]  (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"."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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:25:23.319911"], ["updated_at", "2014-06-08 21:25:23.319911"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:25:23.320618"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:25:23.320618"]]  (0.0ms) 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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:25:23.323217"], ["updated_at", "2014-06-08 21:25:23.323217"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:25:23.323874"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:25:23.323874"]]  (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", "2014-06-08 21:25:23.328589"], ["updated_at", "2014-06-08 21:25:23.328589"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:25:23.329276"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:25:23.329276"]]  (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", "2014-06-08 21:25:23.331326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------- I18nGeneratorTest: test_should_generate_files ---------------------------------------------  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:30:32.580317"], ["updated_at", "2014-06-08 21:30:32.580317"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:30:32.583351"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:30:32.583351"]]  (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]] 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]]  (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"."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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:30:32.591279"], ["updated_at", "2014-06-08 21:30:32.591279"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:30:32.591883"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:30:32.591883"]]  (0.0ms) 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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:30:32.594428"], ["updated_at", "2014-06-08 21:30:32.594428"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:30:32.594979"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:30:32.594979"]]  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:30:32.598802"], ["updated_at", "2014-06-08 21:30:32.598802"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:30:32.599348"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:30:32.599348"]]  (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", "2014-06-08 21:30:32.601261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------- I18nGeneratorTest: test_should_generate_files ---------------------------------------------  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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.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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:31:27.920762"], ["updated_at", "2014-06-08 21:31:27.920762"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:31:27.923677"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:31:27.923677"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) 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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:31:27.932485"], ["updated_at", "2014-06-08 21:31:27.932485"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:31:27.933143"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:31:27.933143"]]  (0.0ms) 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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:31:27.935804"], ["updated_at", "2014-06-08 21:31:27.935804"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:31:27.936438"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:31:27.936438"]]  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:31:27.940725"], ["updated_at", "2014-06-08 21:31:27.940725"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:31:27.941424"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:31:27.941424"]]  (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", "2014-06-08 21:31:27.943632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) 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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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.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", "2014-06-08 21:32:24.056164"], ["updated_at", "2014-06-08 21:32:24.056164"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:32:24.058972"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:32:24.058972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.2ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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_generate_files ---------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------- RecrodsTest: test_should_change_locales ---------------------------------------  (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) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (0.2ms) 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_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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:37:01.257215"], ["updated_at", "2014-06-08 21:37:01.257215"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:37:01.260198"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:37:01.260198"]]  (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]] 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.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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:37:01.265283"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2014-06-08 21:37:01.265283"]]  (0.0ms) RELEASE 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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:37:01.268233"], ["updated_at", "2014-06-08 21:37:01.268233"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:37:01.268816"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:37:01.268816"]]  (0.0ms) 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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-08 21:37:01.271292"], ["updated_at", "2014-06-08 21:37:01.271292"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:37:01.271840"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:37:01.271840"]]  (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", "2014-06-08 21:37:01.275760"], ["updated_at", "2014-06-08 21:37:01.275760"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-08 21:37:01.276382"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-08 21:37:01.276382"]]  (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", "2014-06-08 21:37:01.278426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (3.3ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:10:54 UTC], ["name", nil], ["updated_at", 2014-06-08 22:10:54 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:10:54 UTC], ["name", nil], ["updated_at", 2014-06-08 22:10:54 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:10:54 UTC], ["name", nil], ["updated_at", 2014-06-08 22:10:54 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_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 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:10:54 UTC], ["name", nil], ["updated_at", 2014-06-08 22:10:54 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:12:18 UTC], ["name", nil], ["updated_at", 2014-06-08 22:12:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:12:18 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:12:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:12:18 UTC], ["name", nil], ["updated_at", 2014-06-08 22:12:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:12:18 UTC], ["name", nil], ["updated_at", 2014-06-08 22:12:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_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 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:12:18 UTC], ["name", nil], ["updated_at", 2014-06-08 22:12:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:12:18 UTC], ["locale", "en"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:12:18 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:12:30 UTC], ["name", nil], ["updated_at", 2014-06-08 22:12:30 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:12:30 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:12:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:12:30 UTC], ["name", nil], ["updated_at", 2014-06-08 22:12:30 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:12:30 UTC], ["name", nil], ["updated_at", 2014-06-08 22:12:30 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_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 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:12:30 UTC], ["name", nil], ["updated_at", 2014-06-08 22:12:30 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:12:30 UTC], ["locale", "en"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:12:30 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:16:00 UTC], ["name", nil], ["updated_at", 2014-06-08 22:16:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:16:00 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:16:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:16:00 UTC], ["name", nil], ["updated_at", 2014-06-08 22:16:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:16:00 UTC], ["name", nil], ["updated_at", 2014-06-08 22:16:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:16:00 UTC], ["name", nil], ["updated_at", 2014-06-08 22:16:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:16:00 UTC], ["locale", "en"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:16:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (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') WARNING: Can't mass-assign protected attributes: name  (0.1ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:17:00 UTC], ["name", nil], ["updated_at", 2014-06-08 22:17:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:17:00 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:17:00 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (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') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:20:47 UTC], ["name", nil], ["updated_at", 2014-06-08 22:20:47 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:20:47 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:20:47 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:20:57 UTC], ["name", nil], ["updated_at", 2014-06-08 22:20:57 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:21:28 UTC], ["name", nil], ["updated_at", 2014-06-08 22:21:28 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:21:56 UTC], ["name", nil], ["updated_at", 2014-06-08 22:21:56 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.2ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 ModelTranslation Load (0.2ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:22:43 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:22:43 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:22:46 UTC], ["name", nil], ["updated_at", 2014-06-08 22:22:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:22:46 UTC], ["name", nil], ["updated_at", 2014-06-08 22:22:46 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_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 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:22:46 UTC], ["name", nil], ["updated_at", 2014-06-08 22:22:46 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:23:12 UTC], ["locale", "en"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:23:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.1ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:23:30 UTC], ["name", nil], ["updated_at", 2014-06-08 22:23:30 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:23:53 UTC], ["name", nil], ["updated_at", 2014-06-08 22:23:53 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:24:19 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:24:19 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.2ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:25:01 UTC], ["name", nil], ["updated_at", 2014-06-08 22:25:01 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:26:10 UTC], ["name", nil], ["updated_at", 2014-06-08 22:26:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.3ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:26:37 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:26:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.2ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:26:44 UTC], ["name", nil], ["updated_at", 2014-06-08 22:26:44 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:26:54 UTC], ["name", nil], ["updated_at", 2014-06-08 22:26:54 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_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 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:26:54 UTC], ["name", nil], ["updated_at", 2014-06-08 22:26:54 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:27:02 UTC], ["locale", "en"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:27:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:28:58 UTC], ["name", nil], ["updated_at", 2014-06-08 22:28:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:28:58 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:28:58 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:29:00 UTC], ["name", nil], ["updated_at", 2014-06-08 22:29:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:30:31 UTC], ["name", nil], ["updated_at", 2014-06-08 22:30:31 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:30:31 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:30:31 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:30:31 UTC], ["name", nil], ["updated_at", 2014-06-08 22:30:31 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:30:31 UTC], ["name", nil], ["updated_at", 2014-06-08 22:30:31 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 SQL (0.1ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", 2014-06-08 22:30:31 UTC], ["name", nil], ["updated_at", 2014-06-08 22:30:31 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:30:31 UTC], ["locale", "en"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:30:31 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.0ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateModels (20130819155126)  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130819155126') Migrating to CreateModelTranslations (20130819165249)  (0.1ms) 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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_model_id')  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130819165249')  (0.2ms) select sqlite_version(*)  (0.0ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateModels (20130819155126)  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130819155126') Migrating to CreateModelTranslations (20130819165249)  (0.1ms) 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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_model_id')  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130819165249')  (0.1ms) select sqlite_version(*)  (0.0ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateModels (20130819155126)  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130819155126') Migrating to CreateModelTranslations (20130819165249)  (0.1ms) 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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_model_id')  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130819165249')  (0.1ms) select sqlite_version(*)  (0.0ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateModels (20130819155126)  (0.2ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130819155126') Migrating to CreateModelTranslations (20130819165249)  (0.1ms) 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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_model_id')  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130819165249')  (0.1ms) select sqlite_version(*)  (0.0ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (0.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) select sqlite_version(*)  (3.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateModels (20130819155126)  (0.0ms) select sqlite_version(*)  (0.4ms) CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130819155126') Migrating to CreateModelTranslations (20130819165249)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_model_id')  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130819165249')  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_locale')  (0.0ms) PRAGMA index_info('index_model_translations_on_model_id')  (0.0ms) PRAGMA index_list("models")  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", 2014-06-08 22:39:09 UTC], ["updated_at", 2014-06-08 22:39:09 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:39:10 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:39:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 WARNING: Can't mass-assign protected attributes: name  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", 2014-06-08 22:39:23 UTC], ["updated_at", 2014-06-08 22:39:23 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.2ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') WARNING: Can't mass-assign protected attributes: name  (0.0ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", 2014-06-08 22:43:10 UTC], ["updated_at", 2014-06-08 22:43:10 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 22:52:42 UTC], ["updated_at", 2014-06-08 22:52:42 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:52:42 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:52:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:52:42 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:52:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 22:52:42 UTC], ["updated_at", 2014-06-08 22:52:42 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:52:42 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:52:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 22:52:42 UTC], ["updated_at", 2014-06-08 22:52:42 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:52:42 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:52:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.0ms) 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 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 22:52:42 UTC], ["updated_at", 2014-06-08 22:52:42 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:52:42 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:52:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 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" = 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 22:53:13 UTC], ["updated_at", 2014-06-08 22:53:13 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:53:13 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:53:13 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:53:13 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:53:13 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 22:53:13 UTC], ["updated_at", 2014-06-08 22:53:13 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:53:13 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:53:13 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 22:53:13 UTC], ["updated_at", 2014-06-08 22:53:13 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:53:13 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:53:13 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 22:53:13 UTC], ["updated_at", 2014-06-08 22:53:13 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:53:13 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:53:13 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 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" = 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 22:53:38 UTC], ["updated_at", 2014-06-08 22:53:38 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:53:38 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:53:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:53:38 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:53:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 22:53:38 UTC], ["updated_at", 2014-06-08 22:53:38 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:53:38 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:53:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 22:53:38 UTC], ["updated_at", 2014-06-08 22:53:38 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:53:38 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:53:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 22:53:38 UTC], ["updated_at", 2014-06-08 22:53:38 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:53:38 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:53:38 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.2ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 22:54:49 UTC], ["updated_at", 2014-06-08 22:54:49 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:54:49 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:54:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:54:49 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 22:54:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 22:54:49 UTC], ["updated_at", 2014-06-08 22:54:49 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:54:49 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:54:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 22:54:49 UTC], ["updated_at", 2014-06-08 22:54:49 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:54:49 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:54:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 22:54:49 UTC], ["updated_at", 2014-06-08 22:54:49 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:54:49 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:54:49 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 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" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.1ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 22:56:21 UTC], ["updated_at", 2014-06-08 22:56:21 UTC]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 22:56:21 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 22:56:21 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.2ms) select sqlite_version(*)  (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) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (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') ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 23:00:16 UTC], ["updated_at", 2014-06-08 23:00:16 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:00:16 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:00:16 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:00:16 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 23:00:16 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 23:00:16 UTC], ["updated_at", 2014-06-08 23:00:16 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:00:16 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:00:16 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:00:16 UTC], ["updated_at", 2014-06-08 23:00:16 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:00:16 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:00:16 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.0ms) 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 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:00:16 UTC], ["updated_at", 2014-06-08 23:00:16 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:00:16 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:00:16 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 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" = 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 23:03:05 UTC], ["updated_at", 2014-06-08 23:03:05 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:03:05 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:03:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:03:05 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 23:03:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:03:05 UTC], ["updated_at", 2014-06-08 23:03:05 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:03:05 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:03:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 23:03:05 UTC], ["updated_at", 2014-06-08 23:03:05 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:03:05 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:03:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:03:05 UTC], ["updated_at", 2014-06-08 23:03:05 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:03:05 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:03:05 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 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" = 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 23:03:53 UTC], ["updated_at", 2014-06-08 23:03:53 UTC]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:03:53 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:03:53 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1  (0.2ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:05:17 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 23:05:17 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:05:17 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 23:05:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 23:06:07 UTC], ["updated_at", 2014-06-08 23:06:07 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:06:07 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:06:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:06:07 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 23:06:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:06:07 UTC], ["updated_at", 2014-06-08 23:06:07 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:06:07 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:06:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:06:07 UTC], ["updated_at", 2014-06-08 23:06:07 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:06:07 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:06:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 23:06:07 UTC], ["updated_at", 2014-06-08 23:06:07 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:06:07 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:06:07 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 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" = 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-08 23:06:25 UTC], ["updated_at", 2014-06-08 23:06:25 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:06:25 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:06:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:06:25 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 23:06:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:06:25 UTC], ["updated_at", 2014-06-08 23:06:25 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:06:25 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:06:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:06:25 UTC], ["updated_at", 2014-06-08 23:06:25 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:06:25 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:06:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 SQL (0.1ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.0ms) DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1 ModelTranslation Load (0.0ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:06:25 UTC], ["updated_at", 2014-06-08 23:06:25 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:06:25 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:06:25 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 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" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 ModelTranslation Load (0.2ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1 ModelTranslation Load (0.2ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249') ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:13:41 UTC], ["updated_at", 2014-06-08 23:13:41 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:13:41 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:13:41 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:13:41 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-08 23:13:41 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:13:41 UTC], ["updated_at", 2014-06-08 23:13:41 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:13:41 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:13:41 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:13:41 UTC], ["updated_at", 2014-06-08 23:13:41 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:13:41 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:13:41 UTC]]  (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.0ms) 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 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-08 23:13:42 UTC], ["updated_at", 2014-06-08 23:13:42 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-08 23:13:42 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-08 23:13:42 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1  (0.0ms) UPDATE "model_translations" SET "name" = 'new name', "updated_at" = '2014-06-08 23:13:42.003737' WHERE "model_translations"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (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) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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_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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-09 18:25:06.716038"], ["updated_at", "2014-06-09 18:25:06.716038"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-09 18:25:06.718649"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-09 18:25:06.718649"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-09 18:25:06.723013"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2014-06-09 18:25:06.723013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", "2014-06-09 18:25:06.726664"], ["updated_at", "2014-06-09 18:25:06.726664"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-09 18:25:06.727410"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-09 18:25:06.727410"]]  (0.0ms) 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", "2014-06-09 18:25:06.730896"], ["updated_at", "2014-06-09 18:25:06.730896"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-09 18:25:06.731604"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-09 18:25:06.731604"]]  (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.1ms) 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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-09 18:25:06.735957"], ["updated_at", "2014-06-09 18:25:06.735957"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-09 18:25:06.736580"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-09 18:25:06.736580"]]  (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", "2014-06-09 18:25:06.738656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) select sqlite_version(*)  (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.0ms) PRAGMA index_list("model_translations")  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.0ms) PRAGMA index_list("model_translations")  (0.0ms) PRAGMA index_info('index_model_translations_on_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.0ms) PRAGMA index_list("schema_migrations")  (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') ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-09 18:26:46 UTC], ["updated_at", 2014-06-09 18:26:46 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-09 18:26:46 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-09 18:26:46 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-09 18:26:46 UTC], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", 2014-06-09 18:26:46 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 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", 2014-06-09 18:26:46 UTC], ["updated_at", 2014-06-09 18:26:46 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-09 18:26:46 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-09 18:26:46 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-09 18:26:46 UTC], ["updated_at", 2014-06-09 18:26:46 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-09 18:26:46 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-09 18:26:46 UTC]]  (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 ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 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", 2014-06-09 18:26:46 UTC], ["updated_at", 2014-06-09 18:26:46 UTC]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", 2014-06-09 18:26:46 UTC], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", 2014-06-09 18:26:46 UTC]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1  (0.1ms) UPDATE "model_translations" SET "name" = 'new name', "updated_at" = '2014-06-09 18:26:46.135758' WHERE "model_translations"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (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) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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, "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_generate_files --------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- RecordsTest: test_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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-25 02:02:06.165692"], ["updated_at", "2014-06-25 02:02:06.165692"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:02:06.168141"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:02:06.168141"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:02:06.172379"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2014-06-25 02:02:06.172379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- RecordsTest: test_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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-25 02:02:06.175525"], ["updated_at", "2014-06-25 02:02:06.175525"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:02:06.176139"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:02:06.176139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- RecordsTest: test_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", "2014-06-25 02:02:06.178951"], ["updated_at", "2014-06-25 02:02:06.178951"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:02:06.179597"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:02:06.179597"]]  (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 --------------------------------------------- RecordsTest: test_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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-25 02:02:06.183507"], ["updated_at", "2014-06-25 02:02:06.183507"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:02:06.184069"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:02:06.184069"]]  (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", "2014-06-25 02:02:06.185945"]]  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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_generate_files --------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- RecordsTest: test_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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-25 02:02:38.804190"], ["updated_at", "2014-06-25 02:02:38.804190"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:02:38.807051"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:02:38.807051"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:02:38.811819"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2014-06-25 02:02:38.811819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- RecordsTest: test_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", "2014-06-25 02:02:38.814705"], ["updated_at", "2014-06-25 02:02:38.814705"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:02:38.815295"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:02:38.815295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- RecordsTest: test_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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-25 02:02:38.817880"], ["updated_at", "2014-06-25 02:02:38.817880"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:02:38.818484"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:02:38.818484"]]  (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 --------------------------------------------- RecordsTest: test_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", "2014-06-25 02:02:38.822587"], ["updated_at", "2014-06-25 02:02:38.822587"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:02:38.823272"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:02:38.823272"]]  (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", "2014-06-25 02:02:38.825459"]]  (0.1ms) 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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 -------------------------------- RecordsTest: test_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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-25 02:04:42.403686"], ["updated_at", "2014-06-25 02:04:42.403686"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:04:42.406172"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:04:42.406172"]]  (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]] 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 Exists (0.1ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:04:42.410797"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2014-06-25 02:04:42.410797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- RecordsTest: test_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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-25 02:04:42.413750"], ["updated_at", "2014-06-25 02:04:42.413750"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:04:42.414344"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:04:42.414344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- RecordsTest: test_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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-25 02:04:42.416828"], ["updated_at", "2014-06-25 02:04:42.416828"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:04:42.417379"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:04:42.417379"]]  (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.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------- RecordsTest: test_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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-25 02:04:42.421389"], ["updated_at", "2014-06-25 02:04:42.421389"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:04:42.421959"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:04:42.421959"]]  (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", "2014-06-25 02:04:42.423855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------- I18nGeneratorTest: test_generate_files --------------------------------------  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 -------------------------------- RecordsTest: test_change_locales --------------------------------  (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", "2014-06-25 02:05:09.214306"], ["updated_at", "2014-06-25 02:05:09.214306"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:05:09.216634"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:05:09.216634"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:05:09.220855"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2014-06-25 02:05:09.220855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- RecordsTest: test_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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-25 02:05:09.223631"], ["updated_at", "2014-06-25 02:05:09.223631"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:05:09.224195"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:05:09.224195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- RecordsTest: test_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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-25 02:05:09.226610"], ["updated_at", "2014-06-25 02:05:09.226610"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:05:09.227165"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:05:09.227165"]]  (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.0ms) 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 --------------------------------------------- RecordsTest: test_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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-06-25 02:05:09.230986"], ["updated_at", "2014-06-25 02:05:09.230986"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-06-25 02:05:09.231562"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-06-25 02:05:09.231562"]]  (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", "2014-06-25 02:05:09.233370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------- I18nGeneratorTest: test_generate_files --------------------------------------  (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) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ----------------------------------- GeneratorsTest: test_generate_files -----------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- RecordsTest: test_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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-07-23 13:40:16.683094"], ["updated_at", "2014-07-23 13:40:16.683094"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-23 13:40:16.686570"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-07-23 13:40:16.686570"]]  (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]] 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.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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-23 13:40:16.692128"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2014-07-23 13:40:16.692128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- RecordsTest: test_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", "2014-07-23 13:40:16.695153"], ["updated_at", "2014-07-23 13:40:16.695153"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-23 13:40:16.695808"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-07-23 13:40:16.695808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- RecordsTest: test_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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-07-23 13:40:16.698598"], ["updated_at", "2014-07-23 13:40:16.698598"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-23 13:40:16.699208"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-07-23 13:40:16.699208"]]  (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 --------------------------------------------- RecordsTest: test_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", "2014-07-23 13:40:16.703685"], ["updated_at", "2014-07-23 13:40:16.703685"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-23 13:40:16.704335"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-07-23 13:40:16.704335"]]  (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", "2014-07-23 13:40:16.706625"]]  (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) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (0.2ms) 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, "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 ----------------------------------- GeneratorsTest: test_generate_files -----------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------- RecordsTest: test_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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-17 01:53:27.001661"], ["updated_at", "2014-09-17 01:53:27.001661"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-17 01:53:27.004263"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-09-17 01:53:27.004263"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-17 01:53:27.008523"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2014-09-17 01:53:27.008523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- RecordsTest: test_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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-17 01:53:27.011392"], ["updated_at", "2014-09-17 01:53:27.011392"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-17 01:53:27.012039"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-09-17 01:53:27.012039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- RecordsTest: test_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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-09-17 01:53:27.014740"], ["updated_at", "2014-09-17 01:53:27.014740"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-17 01:53:27.015355"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-09-17 01:53:27.015355"]]  (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 --------------------------------------------- RecordsTest: test_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", "2014-09-17 01:53:27.019568"], ["updated_at", "2014-09-17 01:53:27.019568"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-09-17 01:53:27.020170"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2014-09-17 01:53:27.020170"]]  (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", "2014-09-17 01:53:27.022300"]]  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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, "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 ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-02-14 23:43:59.631359"], ["updated_at", "2015-02-14 23:43:59.631359"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-14 23:43:59.634971"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-14 23:43:59.634971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-14 23:43:59.638369"], ["updated_at", "2015-02-14 23:43:59.638369"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-14 23:43:59.638978"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-14 23:43:59.638978"]]  (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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-14 23:43:59.644727"], ["updated_at", "2015-02-14 23:43:59.644727"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-14 23:43:59.645417"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-14 23:43:59.645417"]]  (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", "2015-02-14 23:43:59.647833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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", "2015-02-14 23:43:59.651518"], ["updated_at", "2015-02-14 23:43:59.651518"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-14 23:43:59.652226"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-14 23:43:59.652226"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-14 23:43:59.655258"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-14 23:43:59.655258"]]  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-02-15 00:02:46.533633"], ["updated_at", "2015-02-15 00:02:46.533633"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:02:46.536265"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:02:46.536265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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", "2015-02-15 00:02:46.539743"], ["updated_at", "2015-02-15 00:02:46.539743"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:02:46.540413"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:02:46.540413"]]  (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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:02:46.546676"], ["updated_at", "2015-02-15 00:02:46.546676"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:02:46.547393"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:02:46.547393"]]  (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", "2015-02-15 00:02:46.549698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:02:46.552606"], ["updated_at", "2015-02-15 00:02:46.552606"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:02:46.553221"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:02:46.553221"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:02:46.556149"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:02:46.556149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.1ms) rollback transaction  (0.6ms) 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) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (0.2ms) 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, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.2ms) 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 ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-02-15 00:09:53.539225"], ["updated_at", "2015-02-15 00:09:53.539225"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:09:53.542053"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:09:53.542053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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", "2015-02-15 00:09:53.545779"], ["updated_at", "2015-02-15 00:09:53.545779"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:09:53.546496"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:09:53.546496"]]  (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.1ms) begin transaction ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:09:53.553577"], ["updated_at", "2015-02-15 00:09:53.553577"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:09:53.554231"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:09:53.554231"]]  (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", "2015-02-15 00:09:53.556375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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", "2015-02-15 00:09:53.559246"], ["updated_at", "2015-02-15 00:09:53.559246"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:09:53.559995"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:09:53.559995"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:09:53.562997"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:09:53.562997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-02-15 00:10:25.344718"], ["updated_at", "2015-02-15 00:10:25.344718"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:10:25.347439"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:10:25.347439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:10:25.350709"], ["updated_at", "2015-02-15 00:10:25.350709"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:10:25.351313"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:10:25.351313"]]  (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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:10:25.356708"], ["updated_at", "2015-02-15 00:10:25.356708"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:10:25.357343"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:10:25.357343"]]  (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", "2015-02-15 00:10:25.359649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:10:25.362645"], ["updated_at", "2015-02-15 00:10:25.362645"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:10:25.363325"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:10:25.363325"]]  (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]] 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.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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:10:25.367164"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:10:25.367164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:11:03.921500"], ["updated_at", "2015-02-15 00:11:03.921500"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:11:03.924513"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:11:03.924513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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", "2015-02-15 00:11:03.928396"], ["updated_at", "2015-02-15 00:11:03.928396"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:11:03.929407"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:11:03.929407"]]  (0.1ms) 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.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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:11:03.937501"], ["updated_at", "2015-02-15 00:11:03.937501"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:11:03.938522"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:11:03.938522"]]  (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", "2015-02-15 00:11:03.941999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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", "2015-02-15 00:11:03.945350"], ["updated_at", "2015-02-15 00:11:03.945350"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:11:03.945975"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:11:03.945975"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:11:03.948951"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:11:03.948951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (0.0ms) 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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:11:22.332774"], ["updated_at", "2015-02-15 00:11:22.332774"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:11:22.336285"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:11:22.336285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:11:22.339730"], ["updated_at", "2015-02-15 00:11:22.339730"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:11:22.340312"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:11:22.340312"]]  (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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:11:22.345752"], ["updated_at", "2015-02-15 00:11:22.345752"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:11:22.346407"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:11:22.346407"]]  (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", "2015-02-15 00:11:22.348743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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", "2015-02-15 00:11:22.352179"], ["updated_at", "2015-02-15 00:11:22.352179"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:11:22.352910"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:11:22.352910"]]  (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]] 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.1ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.2ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:11:22.357180"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:11:22.357180"]]  (0.1ms) 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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:12:06.161919"], ["updated_at", "2015-02-15 00:12:06.161919"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:06.164989"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:12:06.164989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:12:06.168797"], ["updated_at", "2015-02-15 00:12:06.168797"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:06.169457"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:12:06.169457"]]  (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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:12:06.175216"], ["updated_at", "2015-02-15 00:12:06.175216"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:06.175886"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:12:06.175886"]]  (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", "2015-02-15 00:12:06.178186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:12:06.180991"], ["updated_at", "2015-02-15 00:12:06.180991"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:06.181583"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:12:06.181583"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:06.184559"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:12:06.184559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-02-15 00:12:23.008729"], ["updated_at", "2015-02-15 00:12:23.008729"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:23.011070"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:12:23.011070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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", "2015-02-15 00:12:23.014542"], ["updated_at", "2015-02-15 00:12:23.014542"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:23.015299"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:12:23.015299"]]  (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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:12:23.022868"], ["updated_at", "2015-02-15 00:12:23.022868"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:23.023598"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:12:23.023598"]]  (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", "2015-02-15 00:12:23.026150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:12:23.029100"], ["updated_at", "2015-02-15 00:12:23.029100"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:23.029751"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:12:23.029751"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:23.032899"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:12:23.032899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.1ms) rollback transaction  (0.5ms) 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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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.2ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:12:26.327328"], ["updated_at", "2015-02-15 00:12:26.327328"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:26.331329"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:12:26.331329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:12:26.335388"], ["updated_at", "2015-02-15 00:12:26.335388"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:26.336060"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:12:26.336060"]]  (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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:12:26.342183"], ["updated_at", "2015-02-15 00:12:26.342183"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:26.342907"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:12:26.342907"]]  (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", "2015-02-15 00:12:26.345201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:12:26.348020"], ["updated_at", "2015-02-15 00:12:26.348020"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:26.348653"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:12:26.348653"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:12:26.351570"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:12:26.351570"]]  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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.2ms) begin transaction ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-02-15 00:13:02.726052"], ["updated_at", "2015-02-15 00:13:02.726052"]] SQL (0.2ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:13:02.729537"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:13:02.729537"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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", "2015-02-15 00:13:02.735293"], ["updated_at", "2015-02-15 00:13:02.735293"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:13:02.736086"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:13:02.736086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:13:02.743623"], ["updated_at", "2015-02-15 00:13:02.743623"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:13:02.744409"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:13:02.744409"]]  (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", "2015-02-15 00:13:02.746791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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", "2015-02-15 00:13:02.749657"], ["updated_at", "2015-02-15 00:13:02.749657"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:13:02.750301"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:13:02.750301"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:13:02.753264"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:13:02.753264"]]  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-02-15 00:14:28.807744"], ["updated_at", "2015-02-15 00:14:28.807744"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:14:28.810592"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:14:28.810592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:14:28.814015"], ["updated_at", "2015-02-15 00:14:28.814015"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:14:28.814738"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:14:28.814738"]]  (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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:14:28.820736"], ["updated_at", "2015-02-15 00:14:28.820736"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:14:28.821508"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:14:28.821508"]]  (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", "2015-02-15 00:14:28.824290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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", "2015-02-15 00:14:28.828140"], ["updated_at", "2015-02-15 00:14:28.828140"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:14:28.828837"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:14:28.828837"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:14:28.832006"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:14:28.832006"]]  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-02-15 00:18:15.676115"], ["updated_at", "2015-02-15 00:18:15.676115"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:15.678703"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:18:15.678703"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:18:15.681938"], ["updated_at", "2015-02-15 00:18:15.681938"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:15.682547"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:18:15.682547"]]  (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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:18:15.688716"], ["updated_at", "2015-02-15 00:18:15.688716"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:15.689466"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:18:15.689466"]]  (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", "2015-02-15 00:18:15.691634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:18:15.694386"], ["updated_at", "2015-02-15 00:18:15.694386"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:15.695013"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:18:15.695013"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:15.698874"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:18:15.698874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) 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) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (0.2ms) 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 ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:18:32.182527"], ["updated_at", "2015-02-15 00:18:32.182527"]] SQL (0.3ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:32.185929"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:18:32.185929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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", "2015-02-15 00:18:32.193222"], ["updated_at", "2015-02-15 00:18:32.193222"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:32.194255"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:18:32.194255"]]  (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.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.1ms) begin transaction ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:18:32.203104"], ["updated_at", "2015-02-15 00:18:32.203104"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:32.204001"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:18:32.204001"]]  (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", "2015-02-15 00:18:32.207381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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", "2015-02-15 00:18:32.211261"], ["updated_at", "2015-02-15 00:18:32.211261"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:32.212030"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:18:32.212030"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:32.215546"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:18:32.215546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (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) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-02-15 00:18:54.876267"], ["updated_at", "2015-02-15 00:18:54.876267"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:54.878756"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:18:54.878756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:18:54.882028"], ["updated_at", "2015-02-15 00:18:54.882028"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:54.882642"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:18:54.882642"]]  (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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:18:54.888225"], ["updated_at", "2015-02-15 00:18:54.888225"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:54.888894"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:18:54.888894"]]  (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", "2015-02-15 00:18:54.891102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:18:54.893891"], ["updated_at", "2015-02-15 00:18:54.893891"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:54.894504"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:18:54.894504"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:18:54.897287"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:18:54.897287"]]  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-02-15 00:22:52.467651"], ["updated_at", "2015-02-15 00:22:52.467651"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:22:52.470119"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:22:52.470119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:22:52.473438"], ["updated_at", "2015-02-15 00:22:52.473438"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:22:52.474032"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:22:52.474032"]]  (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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:22:52.479530"], ["updated_at", "2015-02-15 00:22:52.479530"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:22:52.480175"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:22:52.480175"]]  (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", "2015-02-15 00:22:52.482334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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", "2015-02-15 00:22:52.485212"], ["updated_at", "2015-02-15 00:22:52.485212"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:22:52.485839"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:22:52.485839"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:22:52.488718"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:22:52.488718"]]  (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) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-02-15 00:23:41.689344"], ["updated_at", "2015-02-15 00:23:41.689344"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:23:41.691947"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:23:41.691947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:23:41.695308"], ["updated_at", "2015-02-15 00:23:41.695308"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:23:41.695921"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:23:41.695921"]]  (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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:23:41.702132"], ["updated_at", "2015-02-15 00:23:41.702132"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:23:41.702878"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:23:41.702878"]]  (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", "2015-02-15 00:23:41.705172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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", "2015-02-15 00:23:41.707990"], ["updated_at", "2015-02-15 00:23:41.707990"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:23:41.708605"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:23:41.708605"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:23:41.711559"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:23:41.711559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (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) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-02-15 00:30:27.158829"], ["updated_at", "2015-02-15 00:30:27.158829"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:30:27.161357"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:30:27.161357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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.1ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:30:27.167209"], ["updated_at", "2015-02-15 00:30:27.167209"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:30:27.168633"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:30:27.168633"]]  (0.1ms) 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.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 ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 00:30:27.176980"], ["updated_at", "2015-02-15 00:30:27.176980"]] SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:30:27.177720"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:30:27.177720"]]  (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", "2015-02-15 00:30:27.180101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 00:30:27.182910"], ["updated_at", "2015-02-15 00:30:27.182910"]] SQL (0.0ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:30:27.183490"], ["locale", "en"], ["model_id", 1], ["name", "name"], ["updated_at", "2015-02-15 00:30:27.183490"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2015-02-15 00:30:27.186359"], ["locale", "es"], ["model_id", 1], ["name", "new name"], ["updated_at", "2015-02-15 00:30:27.186359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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.2ms) CREATE TABLE "schema_migrations" ("version" varchar 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) INSERT INTO "schema_migrations" (version) VALUES ('20130819155126')  (0.4ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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.2ms) CREATE TABLE "schema_migrations" ("version" varchar 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 ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (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", "2015-02-15 21:11:03.109184"], ["updated_at", "2015-02-15 21:11:03.109184"]] SQL (0.1ms) INSERT INTO "model_translations" ("locale", "name", "model_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "name"], ["model_id", 1], ["created_at", "2015-02-15 21:11:03.110580"], ["updated_at", "2015-02-15 21:11:03.110580"]]  (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" = ? LIMIT 1 [["model_id", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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", "2015-02-15 21:11:03.116714"], ["updated_at", "2015-02-15 21:11:03.116714"]] SQL (0.1ms) INSERT INTO "model_translations" ("locale", "name", "model_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "name"], ["model_id", 1], ["created_at", "2015-02-15 21:11:03.117851"], ["updated_at", "2015-02-15 21:11:03.117851"]]  (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" = ? [["name", "new name"], ["updated_at", "2015-02-15 21:11:03.121014"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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", "2015-02-15 21:11:03.125036"], ["updated_at", "2015-02-15 21:11:03.125036"]] SQL (0.1ms) INSERT INTO "model_translations" ("locale", "name", "model_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "name"], ["model_id", 1], ["created_at", "2015-02-15 21:11:03.125991"], ["updated_at", "2015-02-15 21:11:03.125991"]]  (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]] 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]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("locale", "name", "model_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "es"], ["name", "new name"], ["model_id", 1], ["created_at", "2015-02-15 21:11:03.131411"], ["updated_at", "2015-02-15 21:11:03.131411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-15 21:11:03.134954"], ["updated_at", "2015-02-15 21:11:03.134954"]] SQL (0.1ms) INSERT INTO "model_translations" ("locale", "name", "model_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "name"], ["model_id", 1], ["created_at", "2015-02-15 21:11:03.135716"], ["updated_at", "2015-02-15 21:11:03.135716"]]  (0.1ms) 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, "name" varchar, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819155126')  (0.3ms) CREATE TABLE "model_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model_id" integer, "locale" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_model_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_model_translations_on_locale' AND type='index'  (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 NOT NULL)   (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')  (0.1ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_creation -------------------------------------------------  (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", "2015-07-03 23:32:49.407786"], ["updated_at", "2015-07-03 23:32:49.407786"]] SQL (0.1ms) INSERT INTO "model_translations" ("locale", "name", "model_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "name"], ["model_id", 1], ["created_at", "2015-07-03 23:32:49.408761"], ["updated_at", "2015-07-03 23:32:49.408761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (12.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------- RecordsTest: test_locale_change -------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-03 23:32:49.424201"], ["updated_at", "2015-07-03 23:32:49.424201"]] SQL (0.0ms) INSERT INTO "model_translations" ("locale", "name", "model_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "name"], ["model_id", 1], ["created_at", "2015-07-03 23:32:49.424748"], ["updated_at", "2015-07-03 23:32:49.424748"]]  (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" = ? LIMIT 1 [["model_id", 1], ["locale", "es"]] ModelTranslation Load (0.1ms) SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = ? LIMIT 1 [["model_id", 1], ["locale", "es"]]  (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"."locale" = 'es') LIMIT 1 SQL (0.1ms) INSERT INTO "model_translations" ("locale", "name", "model_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "es"], ["name", "new name"], ["model_id", 1], ["created_at", "2015-07-03 23:32:49.438761"], ["updated_at", "2015-07-03 23:32:49.438761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- RecordsTest: test_associated_translation_deletion -------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 ModelTranslation Exists (0.0ms) SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1 SQL (0.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-03 23:32:49.441097"], ["updated_at", "2015-07-03 23:32:49.441097"]] SQL (0.0ms) INSERT INTO "model_translations" ("locale", "name", "model_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "name"], ["model_id", 1], ["created_at", "2015-07-03 23:32:49.441565"], ["updated_at", "2015-07-03 23:32:49.441565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]] SQL (0.0ms) 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" = ? LIMIT 1 [["model_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------ RecordsTest: test_associated_translation_edition ------------------------------------------------  (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.0ms) INSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-03 23:32:49.447613"], ["updated_at", "2015-07-03 23:32:49.447613"]] SQL (0.0ms) INSERT INTO "model_translations" ("locale", "name", "model_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "name"], ["model_id", 1], ["created_at", "2015-07-03 23:32:49.448191"], ["updated_at", "2015-07-03 23:32:49.448191"]]  (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" = ? [["name", "new name"], ["updated_at", "2015-07-03 23:32:49.450220"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------- GeneratorsTest: test_files_generation -------------------------------------  (0.0ms) rollback transaction