translatable_records 1.0.7 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.rdoc +8 -8
- data/lib/generators/templates/{migration.rb.erb → migration.rb} +0 -0
- data/lib/generators/templates/model.rb +8 -0
- data/lib/generators/translation_generator.rb +4 -4
- data/lib/translatable_records/active_record/base.rb +11 -12
- data/lib/translatable_records/active_record/translatable.rb +3 -3
- data/lib/translatable_records/version.rb +1 -1
- data/test/dummy/app/models/model.rb +1 -0
- data/test/dummy/app/models/model_translation.rb +5 -6
- data/test/dummy/config/application.rb +1 -2
- data/test/dummy/config/initializers/secret_token.rb +1 -0
- data/test/dummy/db/migrate/20130819155126_create_models.rb +0 -1
- data/test/dummy/db/schema.rb +6 -7
- data/test/dummy/log/test.log +2144 -0
- data/test/records_test.rb +4 -2
- metadata +18 -12
- data/lib/generators/templates/model.rb.erb +0 -13
data/test/dummy/log/test.log
CHANGED
@@ -1333,3 +1333,2147 @@ RecrodsTest: test_should_edit_associated_translation
|
|
1333
1333
|
[1m[35mSQL (0.1ms)[0m 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]]
|
1334
1334
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1335
1335
|
[1m[35m (0.1ms)[0m rollback transaction
|
1336
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1337
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1338
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
1339
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1340
|
+
FROM sqlite_master
|
1341
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1342
|
+
UNION ALL
|
1343
|
+
SELECT sql
|
1344
|
+
FROM sqlite_temp_master
|
1345
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1346
|
+
|
1347
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
1348
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1349
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1350
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1351
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1352
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')
|
1353
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1354
|
+
---------------------------------------------
|
1355
|
+
I18nGeneratorTest: test_should_generate_files
|
1356
|
+
---------------------------------------------
|
1357
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1358
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1359
|
+
---------------------------------------
|
1360
|
+
RecrodsTest: test_should_change_locales
|
1361
|
+
---------------------------------------
|
1362
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1363
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1364
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1365
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1366
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1367
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1368
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1369
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1370
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
1371
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1372
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1373
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1374
|
+
------------------------------------------------------
|
1375
|
+
RecrodsTest: test_should_create_associated_translation
|
1376
|
+
------------------------------------------------------
|
1377
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1378
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1379
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1380
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1381
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1382
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1383
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1384
|
+
------------------------------------------------------
|
1385
|
+
RecrodsTest: test_should_delete_associated_translation
|
1386
|
+
------------------------------------------------------
|
1387
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1388
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1389
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 20:41:42.841247"], ["updated_at", "2014-06-08 20:41:42.841247"]]
|
1390
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1391
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1392
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1393
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "model_translations" WHERE "model_translations"."id" = ?[0m [["id", 1]]
|
1394
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
1395
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1396
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
1397
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1398
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1399
|
+
----------------------------------------------------
|
1400
|
+
RecrodsTest: test_should_edit_associated_translation
|
1401
|
+
----------------------------------------------------
|
1402
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1403
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1404
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 20:41:42.845613"], ["updated_at", "2014-06-08 20:41:42.845613"]]
|
1405
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1406
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1407
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1408
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1409
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", "2014-06-08 20:41:42.848258"]]
|
1410
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1411
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1412
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1413
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1414
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
1415
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1416
|
+
FROM sqlite_master
|
1417
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1418
|
+
UNION ALL
|
1419
|
+
SELECT sql
|
1420
|
+
FROM sqlite_temp_master
|
1421
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1422
|
+
|
1423
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
1424
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1425
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1426
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1427
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1428
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')
|
1429
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1430
|
+
---------------------------------------------
|
1431
|
+
I18nGeneratorTest: test_should_generate_files
|
1432
|
+
---------------------------------------------
|
1433
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1434
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1435
|
+
---------------------------------------
|
1436
|
+
RecrodsTest: test_should_change_locales
|
1437
|
+
---------------------------------------
|
1438
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1439
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1440
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1441
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1442
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1443
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1444
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1445
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1446
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
1447
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1448
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1449
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1450
|
+
------------------------------------------------------
|
1451
|
+
RecrodsTest: test_should_create_associated_translation
|
1452
|
+
------------------------------------------------------
|
1453
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1454
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1455
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1456
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1457
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1458
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1459
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1460
|
+
------------------------------------------------------
|
1461
|
+
RecrodsTest: test_should_delete_associated_translation
|
1462
|
+
------------------------------------------------------
|
1463
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1464
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1465
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 20:43:49.130566"], ["updated_at", "2014-06-08 20:43:49.130566"]]
|
1466
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1467
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1468
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1469
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "model_translations" WHERE "model_translations"."id" = ?[0m [["id", 1]]
|
1470
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
1471
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1472
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
1473
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1474
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1475
|
+
----------------------------------------------------
|
1476
|
+
RecrodsTest: test_should_edit_associated_translation
|
1477
|
+
----------------------------------------------------
|
1478
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1479
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1480
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 20:43:49.135235"], ["updated_at", "2014-06-08 20:43:49.135235"]]
|
1481
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1482
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1483
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1484
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1485
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", "2014-06-08 20:43:49.138037"]]
|
1486
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1487
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1488
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1489
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1490
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
1491
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1492
|
+
FROM sqlite_master
|
1493
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1494
|
+
UNION ALL
|
1495
|
+
SELECT sql
|
1496
|
+
FROM sqlite_temp_master
|
1497
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1498
|
+
|
1499
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
1500
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1501
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1502
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1503
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1504
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')
|
1505
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1506
|
+
---------------------------------------
|
1507
|
+
RecrodsTest: test_should_change_locales
|
1508
|
+
---------------------------------------
|
1509
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1510
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1511
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1512
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1513
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1514
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1515
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1516
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1517
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
1518
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1519
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1520
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1521
|
+
------------------------------------------------------
|
1522
|
+
RecrodsTest: test_should_create_associated_translation
|
1523
|
+
------------------------------------------------------
|
1524
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1525
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1526
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1527
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1528
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1529
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1530
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1531
|
+
------------------------------------------------------
|
1532
|
+
RecrodsTest: test_should_delete_associated_translation
|
1533
|
+
------------------------------------------------------
|
1534
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1535
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1536
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 20:45:51.782750"], ["updated_at", "2014-06-08 20:45:51.782750"]]
|
1537
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1538
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1539
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1540
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "model_translations" WHERE "model_translations"."id" = ?[0m [["id", 1]]
|
1541
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
1542
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1543
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
1544
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1545
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1546
|
+
----------------------------------------------------
|
1547
|
+
RecrodsTest: test_should_edit_associated_translation
|
1548
|
+
----------------------------------------------------
|
1549
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1550
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1551
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 20:45:51.787552"], ["updated_at", "2014-06-08 20:45:51.787552"]]
|
1552
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1553
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1554
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1555
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1556
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", "2014-06-08 20:45:51.790207"]]
|
1557
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1558
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1559
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1560
|
+
---------------------------------------------
|
1561
|
+
I18nGeneratorTest: test_should_generate_files
|
1562
|
+
---------------------------------------------
|
1563
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1564
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1565
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1566
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
1567
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1568
|
+
FROM sqlite_master
|
1569
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1570
|
+
UNION ALL
|
1571
|
+
SELECT sql
|
1572
|
+
FROM sqlite_temp_master
|
1573
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1574
|
+
|
1575
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
1576
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1577
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1578
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1579
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1580
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')
|
1581
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1582
|
+
---------------------------------------------
|
1583
|
+
I18nGeneratorTest: test_should_generate_files
|
1584
|
+
---------------------------------------------
|
1585
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1586
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1587
|
+
---------------------------------------
|
1588
|
+
RecrodsTest: test_should_change_locales
|
1589
|
+
---------------------------------------
|
1590
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1591
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1592
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1593
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1594
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1595
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1596
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1597
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1598
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
1599
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1600
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1601
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1602
|
+
------------------------------------------------------
|
1603
|
+
RecrodsTest: test_should_create_associated_translation
|
1604
|
+
------------------------------------------------------
|
1605
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1606
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1607
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1608
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1609
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1610
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1611
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1612
|
+
------------------------------------------------------
|
1613
|
+
RecrodsTest: test_should_delete_associated_translation
|
1614
|
+
------------------------------------------------------
|
1615
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1616
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1617
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 20:46:22.266507"], ["updated_at", "2014-06-08 20:46:22.266507"]]
|
1618
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1619
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1620
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1621
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "model_translations" WHERE "model_translations"."id" = ?[0m [["id", 1]]
|
1622
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
1623
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1624
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
1625
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1626
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1627
|
+
----------------------------------------------------
|
1628
|
+
RecrodsTest: test_should_edit_associated_translation
|
1629
|
+
----------------------------------------------------
|
1630
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1631
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1632
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 20:46:22.271552"], ["updated_at", "2014-06-08 20:46:22.271552"]]
|
1633
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1634
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1635
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1636
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1637
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", "2014-06-08 20:46:22.274377"]]
|
1638
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1639
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1640
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1641
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1642
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
1643
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1644
|
+
FROM sqlite_master
|
1645
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1646
|
+
UNION ALL
|
1647
|
+
SELECT sql
|
1648
|
+
FROM sqlite_temp_master
|
1649
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1650
|
+
|
1651
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
1652
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1653
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1654
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1655
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1656
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')
|
1657
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1658
|
+
---------------------------------------
|
1659
|
+
RecrodsTest: test_should_change_locales
|
1660
|
+
---------------------------------------
|
1661
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1662
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1663
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1664
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1665
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1666
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1667
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]
|
1668
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1669
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
1670
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1671
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1672
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1673
|
+
------------------------------------------------------
|
1674
|
+
RecrodsTest: test_should_create_associated_translation
|
1675
|
+
------------------------------------------------------
|
1676
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1677
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1678
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1679
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1680
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1681
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1682
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1683
|
+
------------------------------------------------------
|
1684
|
+
RecrodsTest: test_should_delete_associated_translation
|
1685
|
+
------------------------------------------------------
|
1686
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1687
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1688
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 21:25:23.323217"], ["updated_at", "2014-06-08 21:25:23.323217"]]
|
1689
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1690
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1691
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1692
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "model_translations" WHERE "model_translations"."id" = ?[0m [["id", 1]]
|
1693
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
1694
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1695
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
1696
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1697
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1698
|
+
----------------------------------------------------
|
1699
|
+
RecrodsTest: test_should_edit_associated_translation
|
1700
|
+
----------------------------------------------------
|
1701
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1702
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1703
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 21:25:23.328589"], ["updated_at", "2014-06-08 21:25:23.328589"]]
|
1704
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1705
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1706
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1707
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1708
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", "2014-06-08 21:25:23.331326"]]
|
1709
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1710
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1711
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1712
|
+
---------------------------------------------
|
1713
|
+
I18nGeneratorTest: test_should_generate_files
|
1714
|
+
---------------------------------------------
|
1715
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1716
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1717
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1718
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
1719
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1720
|
+
FROM sqlite_master
|
1721
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1722
|
+
UNION ALL
|
1723
|
+
SELECT sql
|
1724
|
+
FROM sqlite_temp_master
|
1725
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1726
|
+
|
1727
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
1728
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1729
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1730
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1731
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1732
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')
|
1733
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1734
|
+
---------------------------------------
|
1735
|
+
RecrodsTest: test_should_change_locales
|
1736
|
+
---------------------------------------
|
1737
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1738
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1739
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1740
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1741
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1742
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1743
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]
|
1744
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1745
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
1746
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1747
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1748
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1749
|
+
------------------------------------------------------
|
1750
|
+
RecrodsTest: test_should_create_associated_translation
|
1751
|
+
------------------------------------------------------
|
1752
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1753
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1754
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1755
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1756
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1757
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1758
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1759
|
+
------------------------------------------------------
|
1760
|
+
RecrodsTest: test_should_delete_associated_translation
|
1761
|
+
------------------------------------------------------
|
1762
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1763
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1764
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 21:30:32.594428"], ["updated_at", "2014-06-08 21:30:32.594428"]]
|
1765
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1766
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1767
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1768
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "model_translations" WHERE "model_translations"."id" = ?[0m [["id", 1]]
|
1769
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
1770
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1771
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
1772
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1773
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1774
|
+
----------------------------------------------------
|
1775
|
+
RecrodsTest: test_should_edit_associated_translation
|
1776
|
+
----------------------------------------------------
|
1777
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1778
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1779
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 21:30:32.598802"], ["updated_at", "2014-06-08 21:30:32.598802"]]
|
1780
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1781
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1782
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1783
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1784
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", "2014-06-08 21:30:32.601261"]]
|
1785
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1786
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1787
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1788
|
+
---------------------------------------------
|
1789
|
+
I18nGeneratorTest: test_should_generate_files
|
1790
|
+
---------------------------------------------
|
1791
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1792
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1793
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1794
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
1795
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1796
|
+
FROM sqlite_master
|
1797
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1798
|
+
UNION ALL
|
1799
|
+
SELECT sql
|
1800
|
+
FROM sqlite_temp_master
|
1801
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1802
|
+
|
1803
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
1804
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1805
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1806
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1807
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1808
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')
|
1809
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1810
|
+
---------------------------------------------
|
1811
|
+
I18nGeneratorTest: test_should_generate_files
|
1812
|
+
---------------------------------------------
|
1813
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1814
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1815
|
+
---------------------------------------
|
1816
|
+
RecrodsTest: test_should_change_locales
|
1817
|
+
---------------------------------------
|
1818
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1819
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1820
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1821
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1822
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1823
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1824
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]
|
1825
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1826
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
1827
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1828
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1829
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1830
|
+
------------------------------------------------------
|
1831
|
+
RecrodsTest: test_should_create_associated_translation
|
1832
|
+
------------------------------------------------------
|
1833
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1834
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1835
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1836
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1837
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1838
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1839
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1840
|
+
------------------------------------------------------
|
1841
|
+
RecrodsTest: test_should_delete_associated_translation
|
1842
|
+
------------------------------------------------------
|
1843
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1844
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1845
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 21:31:27.935804"], ["updated_at", "2014-06-08 21:31:27.935804"]]
|
1846
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1847
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1848
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1849
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "model_translations" WHERE "model_translations"."id" = ?[0m [["id", 1]]
|
1850
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
1851
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1852
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
1853
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1854
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1855
|
+
----------------------------------------------------
|
1856
|
+
RecrodsTest: test_should_edit_associated_translation
|
1857
|
+
----------------------------------------------------
|
1858
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1859
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1860
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 21:31:27.940725"], ["updated_at", "2014-06-08 21:31:27.940725"]]
|
1861
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1862
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1863
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1864
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1865
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1 [["name", "new name"], ["updated_at", "2014-06-08 21:31:27.943632"]]
|
1866
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1867
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1868
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
1869
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1870
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
1871
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1872
|
+
FROM sqlite_master
|
1873
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1874
|
+
UNION ALL
|
1875
|
+
SELECT sql
|
1876
|
+
FROM sqlite_temp_master
|
1877
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1878
|
+
|
1879
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
1880
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1881
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1882
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1883
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1884
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')
|
1885
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1886
|
+
---------------------------------------
|
1887
|
+
RecrodsTest: test_should_change_locales
|
1888
|
+
---------------------------------------
|
1889
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1890
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1891
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1892
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1893
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1894
|
+
[1m[36mModelTranslation Load (0.2ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1895
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1896
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1897
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
1898
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1899
|
+
FROM sqlite_master
|
1900
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1901
|
+
UNION ALL
|
1902
|
+
SELECT sql
|
1903
|
+
FROM sqlite_temp_master
|
1904
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1905
|
+
|
1906
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
1907
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1908
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1909
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1910
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1911
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')
|
1912
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1913
|
+
---------------------------------------------
|
1914
|
+
I18nGeneratorTest: test_should_generate_files
|
1915
|
+
---------------------------------------------
|
1916
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1917
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1918
|
+
---------------------------------------
|
1919
|
+
RecrodsTest: test_should_change_locales
|
1920
|
+
---------------------------------------
|
1921
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
1922
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1923
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
1924
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1925
|
+
FROM sqlite_master
|
1926
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1927
|
+
UNION ALL
|
1928
|
+
SELECT sql
|
1929
|
+
FROM sqlite_temp_master
|
1930
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
1931
|
+
|
1932
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
1933
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1934
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1935
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1936
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1937
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')
|
1938
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1939
|
+
---------------------------------------------
|
1940
|
+
I18nGeneratorTest: test_should_generate_files
|
1941
|
+
---------------------------------------------
|
1942
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1943
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1944
|
+
---------------------------------------
|
1945
|
+
RecrodsTest: test_should_change_locales
|
1946
|
+
---------------------------------------
|
1947
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1948
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1949
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1950
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1951
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1952
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
1953
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]
|
1954
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1955
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
1956
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1957
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1958
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1959
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1960
|
+
------------------------------------------------------
|
1961
|
+
RecrodsTest: test_should_create_associated_translation
|
1962
|
+
------------------------------------------------------
|
1963
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1964
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
1965
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-08 21:37:01.268233"], ["updated_at", "2014-06-08 21:37:01.268233"]]
|
1966
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1967
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1968
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1969
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1970
|
+
------------------------------------------------------
|
1971
|
+
RecrodsTest: test_should_delete_associated_translation
|
1972
|
+
------------------------------------------------------
|
1973
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1974
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1975
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
1976
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1977
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1978
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1979
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]]
|
1980
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
1981
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1982
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
1983
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1984
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1985
|
+
----------------------------------------------------
|
1986
|
+
RecrodsTest: test_should_edit_associated_translation
|
1987
|
+
----------------------------------------------------
|
1988
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1989
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
1990
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
1991
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
1992
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1993
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1994
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m 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
|
1995
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1[0m [["name", "new name"], ["updated_at", "2014-06-08 21:37:01.278426"]]
|
1996
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1997
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1998
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
1999
|
+
[1m[35m (0.3ms)[0m 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)
|
2000
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2001
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2002
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2003
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2004
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2005
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2006
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2007
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2008
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2009
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2010
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2011
|
+
WARNING: Can't mass-assign protected attributes: name
|
2012
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2013
|
+
[1m[36mSQL (3.3ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:10:54 UTC], ["name", nil], ["updated_at", 2014-06-08 22:10:54 UTC]]
|
2014
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2015
|
+
WARNING: Can't mass-assign protected attributes: name
|
2016
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2017
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2018
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2019
|
+
WARNING: Can't mass-assign protected attributes: name
|
2020
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2021
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:10:54 UTC], ["name", nil], ["updated_at", 2014-06-08 22:10:54 UTC]]
|
2022
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2023
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2024
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2025
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
2026
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2027
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
2028
|
+
WARNING: Can't mass-assign protected attributes: name
|
2029
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2030
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:10:54 UTC], ["name", nil], ["updated_at", 2014-06-08 22:10:54 UTC]]
|
2031
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2032
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2033
|
+
[1m[35m (0.3ms)[0m 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)
|
2034
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2035
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2036
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2037
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2038
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2039
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2040
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2041
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2042
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2043
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2044
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2045
|
+
WARNING: Can't mass-assign protected attributes: name
|
2046
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2047
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:12:18 UTC], ["name", nil], ["updated_at", 2014-06-08 22:12:18 UTC]]
|
2048
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2049
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2050
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2051
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2052
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2053
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2054
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2055
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2056
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2057
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2058
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2059
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2060
|
+
WARNING: Can't mass-assign protected attributes: name
|
2061
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2062
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:12:18 UTC], ["name", nil], ["updated_at", 2014-06-08 22:12:18 UTC]]
|
2063
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2064
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2065
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1
|
2066
|
+
WARNING: Can't mass-assign protected attributes: name
|
2067
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2068
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2069
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2070
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2071
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2072
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
2073
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2074
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
2075
|
+
WARNING: Can't mass-assign protected attributes: name
|
2076
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2077
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2078
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2079
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2080
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2081
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2082
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2083
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2084
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2085
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2086
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2087
|
+
[1m[35m (0.3ms)[0m 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)
|
2088
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2089
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2090
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2091
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2092
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2093
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2094
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2095
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2096
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2097
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2098
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2099
|
+
WARNING: Can't mass-assign protected attributes: name
|
2100
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2101
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:12:30 UTC], ["name", nil], ["updated_at", 2014-06-08 22:12:30 UTC]]
|
2102
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2103
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2104
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2105
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2106
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2107
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2108
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2109
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2110
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2111
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2112
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2113
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2114
|
+
WARNING: Can't mass-assign protected attributes: name
|
2115
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2116
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:12:30 UTC], ["name", nil], ["updated_at", 2014-06-08 22:12:30 UTC]]
|
2117
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2118
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2119
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1
|
2120
|
+
WARNING: Can't mass-assign protected attributes: name
|
2121
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2122
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2123
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2124
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2125
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2126
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
2127
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2128
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
2129
|
+
WARNING: Can't mass-assign protected attributes: name
|
2130
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2131
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2132
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2133
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2134
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2135
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2136
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2137
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2138
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2139
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2140
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2141
|
+
[1m[35m (0.3ms)[0m 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)
|
2142
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2143
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2144
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2145
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2146
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2147
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2148
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2149
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2150
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2151
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2152
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2153
|
+
WARNING: Can't mass-assign protected attributes: name
|
2154
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2155
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:16:00 UTC], ["name", nil], ["updated_at", 2014-06-08 22:16:00 UTC]]
|
2156
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2157
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2158
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2159
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2160
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2161
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2162
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2163
|
+
|
2164
|
+
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
2165
|
+
WARNING: Can't mass-assign protected attributes: name
|
2166
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2167
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2168
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2169
|
+
WARNING: Can't mass-assign protected attributes: name
|
2170
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2171
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:16:00 UTC], ["name", nil], ["updated_at", 2014-06-08 22:16:00 UTC]]
|
2172
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2173
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2174
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2175
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
2176
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2177
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
2178
|
+
WARNING: Can't mass-assign protected attributes: name
|
2179
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2180
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:16:00 UTC], ["name", nil], ["updated_at", 2014-06-08 22:16:00 UTC]]
|
2181
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2182
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2183
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1
|
2184
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2185
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1
|
2186
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2187
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2188
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2189
|
+
[1m[35m (0.3ms)[0m 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)
|
2190
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2191
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2192
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2193
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2194
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2195
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2196
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2197
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2198
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2199
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
2200
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2201
|
+
WARNING: Can't mass-assign protected attributes: name
|
2202
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2203
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:17:00 UTC], ["name", nil], ["updated_at", 2014-06-08 22:17:00 UTC]]
|
2204
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2205
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2206
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2207
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2208
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2209
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2210
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2211
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2212
|
+
[1m[35m (0.3ms)[0m 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)
|
2213
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2214
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2215
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2216
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2217
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2218
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2219
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2220
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2221
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2222
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2223
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2224
|
+
WARNING: Can't mass-assign protected attributes: name
|
2225
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2226
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:20:47 UTC], ["name", nil], ["updated_at", 2014-06-08 22:20:47 UTC]]
|
2227
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2228
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2229
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2230
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2231
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2232
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2233
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2234
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2235
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2236
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2237
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2238
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2239
|
+
WARNING: Can't mass-assign protected attributes: name
|
2240
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2241
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:20:57 UTC], ["name", nil], ["updated_at", 2014-06-08 22:20:57 UTC]]
|
2242
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2243
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2244
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2245
|
+
[1m[35m (0.3ms)[0m 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)
|
2246
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2247
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2248
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2249
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2250
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2251
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2252
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2253
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2254
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2255
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2256
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2257
|
+
WARNING: Can't mass-assign protected attributes: name
|
2258
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2259
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:21:28 UTC], ["name", nil], ["updated_at", 2014-06-08 22:21:28 UTC]]
|
2260
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2261
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2262
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2263
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2264
|
+
[1m[35m (0.3ms)[0m 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)
|
2265
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2266
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2267
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2268
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2269
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2270
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2271
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2272
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2273
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2274
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2275
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2276
|
+
WARNING: Can't mass-assign protected attributes: name
|
2277
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2278
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:21:56 UTC], ["name", nil], ["updated_at", 2014-06-08 22:21:56 UTC]]
|
2279
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2280
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2281
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2282
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2283
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2284
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1[0m
|
2285
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2286
|
+
[1m[36mModelTranslation Load (0.2ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1[0m
|
2287
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2288
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1[0m
|
2289
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2290
|
+
[1m[36mModelTranslation Load (0.2ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2291
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2292
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1[0m
|
2293
|
+
[1m[35mSQL (0.3ms)[0m 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]]
|
2294
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2295
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2296
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2297
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1
|
2298
|
+
WARNING: Can't mass-assign protected attributes: name
|
2299
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2300
|
+
[1m[35mSQL (0.3ms)[0m 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]]
|
2301
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2302
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2303
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2304
|
+
WARNING: Can't mass-assign protected attributes: name
|
2305
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2306
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:22:46 UTC], ["name", nil], ["updated_at", 2014-06-08 22:22:46 UTC]]
|
2307
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2308
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2309
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2310
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
2311
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2312
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
2313
|
+
WARNING: Can't mass-assign protected attributes: name
|
2314
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2315
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:22:46 UTC], ["name", nil], ["updated_at", 2014-06-08 22:22:46 UTC]]
|
2316
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2317
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2318
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1
|
2319
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2320
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2321
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2322
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2323
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2324
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2325
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2326
|
+
[1m[35mSQL (0.2ms)[0m 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]]
|
2327
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2328
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2329
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2330
|
+
[1m[35m (0.3ms)[0m 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)
|
2331
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2332
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2333
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2334
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2335
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2336
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2337
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2338
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2339
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2340
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2341
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2342
|
+
WARNING: Can't mass-assign protected attributes: name
|
2343
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2344
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:23:30 UTC], ["name", nil], ["updated_at", 2014-06-08 22:23:30 UTC]]
|
2345
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2346
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2347
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2348
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2349
|
+
[1m[35m (0.3ms)[0m 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)
|
2350
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2351
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2352
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2353
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2354
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2355
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2356
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2357
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2358
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2359
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2360
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2361
|
+
WARNING: Can't mass-assign protected attributes: name
|
2362
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2363
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:23:53 UTC], ["name", nil], ["updated_at", 2014-06-08 22:23:53 UTC]]
|
2364
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2365
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2366
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2367
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2368
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2369
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1[0m
|
2370
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2371
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1[0m
|
2372
|
+
[1m[35mSQL (0.2ms)[0m 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]]
|
2373
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2374
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2375
|
+
[1m[36mModelTranslation Load (0.2ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2376
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1
|
2377
|
+
WARNING: Can't mass-assign protected attributes: name
|
2378
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2379
|
+
[1m[35mSQL (0.2ms)[0m 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]]
|
2380
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2381
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2382
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2383
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2384
|
+
[1m[35m (0.3ms)[0m 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)
|
2385
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2386
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2387
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2388
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2389
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2390
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2391
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2392
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2393
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2394
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2395
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2396
|
+
WARNING: Can't mass-assign protected attributes: name
|
2397
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2398
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:26:10 UTC], ["name", nil], ["updated_at", 2014-06-08 22:26:10 UTC]]
|
2399
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2400
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2401
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2402
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2403
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2404
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2405
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2406
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2407
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2408
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2409
|
+
[1m[35mModelTranslation Load (0.2ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2410
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2411
|
+
WARNING: Can't mass-assign protected attributes: name
|
2412
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2413
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:26:44 UTC], ["name", nil], ["updated_at", 2014-06-08 22:26:44 UTC]]
|
2414
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2415
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2416
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1
|
2417
|
+
WARNING: Can't mass-assign protected attributes: name
|
2418
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2419
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2420
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2421
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2422
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2423
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
2424
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2425
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
2426
|
+
WARNING: Can't mass-assign protected attributes: name
|
2427
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2428
|
+
[1m[35mSQL (0.2ms)[0m 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]]
|
2429
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2430
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2431
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2432
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2433
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2434
|
+
[1m[35mSQL (0.2ms)[0m 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]]
|
2435
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2436
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2437
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2438
|
+
[1m[35m (0.3ms)[0m 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)
|
2439
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2440
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2441
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2442
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2443
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2444
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2445
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2446
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2447
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2448
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2449
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2450
|
+
WARNING: Can't mass-assign protected attributes: name
|
2451
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2452
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:28:58 UTC], ["name", nil], ["updated_at", 2014-06-08 22:28:58 UTC]]
|
2453
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2454
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2455
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2456
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2457
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2458
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2459
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2460
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2461
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2462
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2463
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2464
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2465
|
+
WARNING: Can't mass-assign protected attributes: name
|
2466
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2467
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:29:00 UTC], ["name", nil], ["updated_at", 2014-06-08 22:29:00 UTC]]
|
2468
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2469
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2470
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2471
|
+
[1m[35m (0.3ms)[0m 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)
|
2472
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2473
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2474
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2475
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2476
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2477
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2478
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2479
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2480
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2481
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2482
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2483
|
+
WARNING: Can't mass-assign protected attributes: name
|
2484
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2485
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:30:31 UTC], ["name", nil], ["updated_at", 2014-06-08 22:30:31 UTC]]
|
2486
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2487
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2488
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2489
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2490
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2491
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2492
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2493
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2494
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2495
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2496
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2497
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2498
|
+
WARNING: Can't mass-assign protected attributes: name
|
2499
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2500
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", 2014-06-08 22:30:31 UTC], ["name", nil], ["updated_at", 2014-06-08 22:30:31 UTC]]
|
2501
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2502
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2503
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1
|
2504
|
+
WARNING: Can't mass-assign protected attributes: name
|
2505
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2506
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2507
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2508
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2509
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2510
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
2511
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2512
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
2513
|
+
WARNING: Can't mass-assign protected attributes: name
|
2514
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2515
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2517
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2518
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2519
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2520
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2521
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2522
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2523
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2524
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
2525
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
2526
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
2527
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2528
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2529
|
+
Migrating to CreateModels (20130819155126)
|
2530
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2531
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130819155126')[0m
|
2532
|
+
Migrating to CreateModelTranslations (20130819165249)
|
2533
|
+
[1m[35m (0.1ms)[0m 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)
|
2534
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2535
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")
|
2536
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2537
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_model_id')
|
2538
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
2539
|
+
[1m[35m (0.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130819165249')
|
2540
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2541
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
2542
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
2543
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
2544
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2545
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2546
|
+
[1m[35m (0.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
2547
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
2548
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
2549
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
2550
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2551
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2552
|
+
[1m[35m (0.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
2553
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2554
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
2555
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
2556
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
2557
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2558
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2559
|
+
Migrating to CreateModels (20130819155126)
|
2560
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2561
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130819155126')[0m
|
2562
|
+
Migrating to CreateModelTranslations (20130819165249)
|
2563
|
+
[1m[35m (0.1ms)[0m 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)
|
2564
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2565
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")
|
2566
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2567
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_model_id')
|
2568
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
2569
|
+
[1m[35m (0.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130819165249')
|
2570
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2571
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
2572
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
2573
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
2574
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2575
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2576
|
+
Migrating to CreateModels (20130819155126)
|
2577
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2578
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130819155126')[0m
|
2579
|
+
Migrating to CreateModelTranslations (20130819165249)
|
2580
|
+
[1m[35m (0.1ms)[0m 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)
|
2581
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2582
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")
|
2583
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2584
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_model_id')
|
2585
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
2586
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130819165249')
|
2587
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2588
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
2589
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
2590
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
2591
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2592
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2593
|
+
Migrating to CreateModels (20130819155126)
|
2594
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2595
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130819155126')[0m
|
2596
|
+
Migrating to CreateModelTranslations (20130819165249)
|
2597
|
+
[1m[35m (0.1ms)[0m 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)
|
2598
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2599
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")
|
2600
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2601
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_model_id')
|
2602
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
2603
|
+
[1m[35m (0.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130819165249')
|
2604
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2605
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
2606
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
2607
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
2608
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2609
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2610
|
+
[1m[35m (0.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
2611
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2612
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
2613
|
+
[1m[35m (3.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
2614
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
2615
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2616
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2617
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
2618
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2619
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2620
|
+
Migrating to CreateModels (20130819155126)
|
2621
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
2622
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
2623
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130819155126')
|
2624
|
+
Migrating to CreateModelTranslations (20130819165249)
|
2625
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
2626
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("model_translations")
|
2627
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2628
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("model_translations")
|
2629
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_model_translations_on_model_id')[0m
|
2630
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2631
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130819165249')[0m
|
2632
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
2633
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2634
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("model_translations")
|
2635
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_model_translations_on_locale')[0m
|
2636
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_model_id')
|
2637
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("models")[0m
|
2638
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2639
|
+
[1m[35m (0.3ms)[0m 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)
|
2640
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2641
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2642
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2643
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2644
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2645
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2646
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2647
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2648
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2649
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2650
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2651
|
+
WARNING: Can't mass-assign protected attributes: name
|
2652
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2653
|
+
[1m[36mSQL (2.2ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 22:39:09 UTC], ["updated_at", 2014-06-08 22:39:09 UTC]]
|
2654
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2655
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2656
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2657
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2658
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2659
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2660
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2661
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2662
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2663
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2664
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2665
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2666
|
+
WARNING: Can't mass-assign protected attributes: name
|
2667
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2668
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 22:39:23 UTC], ["updated_at", 2014-06-08 22:39:23 UTC]]
|
2669
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2670
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2671
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1
|
2672
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2673
|
+
[1m[35mModelTranslation Load (0.2ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2674
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2675
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2676
|
+
[1m[35m (0.3ms)[0m 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)
|
2677
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2678
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2679
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2680
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2681
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2682
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2683
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2684
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2685
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2686
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2687
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2688
|
+
WARNING: Can't mass-assign protected attributes: name
|
2689
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2690
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 22:43:10 UTC], ["updated_at", 2014-06-08 22:43:10 UTC]]
|
2691
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2692
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2693
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1
|
2694
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2695
|
+
[1m[35m (0.3ms)[0m 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)
|
2696
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2697
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2698
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2699
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2700
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2701
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2702
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2703
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2704
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2705
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2706
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2707
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2708
|
+
[1m[35m (0.3ms)[0m 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)
|
2709
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2710
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2711
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2712
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2713
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2714
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2715
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2716
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2717
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2718
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2719
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2720
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
2721
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2722
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2723
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2724
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2725
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2726
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2727
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2728
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2729
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2730
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2731
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2732
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2733
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2734
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2735
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2736
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2737
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
2738
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
2739
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2740
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
2741
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 22:52:42 UTC], ["updated_at", 2014-06-08 22:52:42 UTC]]
|
2742
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2743
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2744
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2745
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
2746
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
2747
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2748
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
2749
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 22:52:42 UTC], ["updated_at", 2014-06-08 22:52:42 UTC]]
|
2750
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2751
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2752
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2753
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2754
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]]
|
2755
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
2756
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2757
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
2758
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
2759
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2760
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2761
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2762
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2763
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2764
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2765
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2766
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2767
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2768
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2769
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2770
|
+
[1m[35m (0.3ms)[0m 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)
|
2771
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2772
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2773
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2774
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2775
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2776
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2777
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2778
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2779
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2780
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2781
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2782
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2783
|
+
[1m[35m (0.3ms)[0m 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)
|
2784
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2785
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2786
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2787
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2788
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2789
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2790
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2791
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2792
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2793
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2794
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2795
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
2796
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2797
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2798
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2799
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2800
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2801
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2802
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2803
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2804
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2805
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2806
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2807
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2808
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2809
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2810
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2811
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2812
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
2813
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
2814
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2815
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
2816
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 22:53:13 UTC], ["updated_at", 2014-06-08 22:53:13 UTC]]
|
2817
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2818
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2819
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2820
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
2821
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
2822
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2823
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
2824
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 22:53:13 UTC], ["updated_at", 2014-06-08 22:53:13 UTC]]
|
2825
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2826
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2827
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2828
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2829
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]]
|
2830
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
2831
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2832
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
2833
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
2834
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2835
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2836
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2837
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2838
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2839
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2840
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2841
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2842
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2843
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2844
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2845
|
+
[1m[35m (0.3ms)[0m 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)
|
2846
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2847
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2848
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2849
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2850
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2851
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2852
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2853
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2854
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2855
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2856
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2857
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
2858
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2859
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2860
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2861
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2862
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2863
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2864
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2865
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2866
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2867
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2868
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2869
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2870
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2871
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2872
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2873
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2874
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
2875
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
2876
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2877
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
2878
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 22:53:38 UTC], ["updated_at", 2014-06-08 22:53:38 UTC]]
|
2879
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2880
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2881
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2882
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
2883
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
2884
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2885
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
2886
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 22:53:38 UTC], ["updated_at", 2014-06-08 22:53:38 UTC]]
|
2887
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2888
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2889
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2890
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2891
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]]
|
2892
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
2893
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2894
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
2895
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
2896
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2897
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2898
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2899
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2900
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2901
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2902
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2903
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2904
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2905
|
+
[1m[35mModelTranslation Load (0.2ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2906
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2907
|
+
[1m[35m (0.3ms)[0m 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)
|
2908
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2909
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2910
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2911
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2912
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2913
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2914
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2915
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2916
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2917
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2918
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2919
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
2920
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2921
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2922
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2923
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2924
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2925
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2926
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2927
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2928
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2929
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2930
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2931
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
2932
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2933
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2934
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2935
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2936
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
2937
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
2938
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2939
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
2940
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 22:54:49 UTC], ["updated_at", 2014-06-08 22:54:49 UTC]]
|
2941
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2942
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2943
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2944
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
2945
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
2946
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2947
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
2948
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 22:54:49 UTC], ["updated_at", 2014-06-08 22:54:49 UTC]]
|
2949
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2950
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2951
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2952
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2953
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]]
|
2954
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
2955
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2956
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
2957
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
2958
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2959
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2960
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2961
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
2962
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2963
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2964
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2965
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2966
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2967
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2968
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2969
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
2970
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2971
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2972
|
+
[1m[35m (0.3ms)[0m 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)
|
2973
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2974
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2975
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2976
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
2977
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
2978
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
2979
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2980
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
2981
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2982
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
2983
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
2984
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
2985
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
2986
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2987
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
2988
|
+
[1m[35mSQL (0.2ms)[0m 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]]
|
2989
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
2990
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2991
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2992
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2993
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
2994
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
2995
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
2996
|
+
[1m[35m (0.3ms)[0m 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)
|
2997
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
2998
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
2999
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3000
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
3001
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
3002
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
3003
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
3004
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
3005
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3006
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
3007
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
3008
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
3009
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3010
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3011
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3012
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3013
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3014
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3015
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3016
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3017
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3018
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3019
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3020
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
3021
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3022
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3023
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3024
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3025
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
3026
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3027
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3028
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3029
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 23:00:16 UTC], ["updated_at", 2014-06-08 23:00:16 UTC]]
|
3030
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3031
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3032
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3033
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
3034
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3035
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3036
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3037
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 23:00:16 UTC], ["updated_at", 2014-06-08 23:00:16 UTC]]
|
3038
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3039
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3040
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3041
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3042
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]]
|
3043
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
3044
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3045
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
3046
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
3047
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3048
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3049
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3050
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3051
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3052
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3053
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3054
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3055
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3056
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3057
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
3058
|
+
[1m[35m (0.3ms)[0m 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)
|
3059
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3060
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
3061
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3062
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
3063
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
3064
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
3065
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
3066
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
3067
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3068
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
3069
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
3070
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
3071
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3072
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3073
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3074
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3075
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3076
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3077
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3078
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3079
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3080
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3081
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3082
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
3083
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3084
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3085
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3086
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3087
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
3088
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3089
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3090
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3091
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 23:03:05 UTC], ["updated_at", 2014-06-08 23:03:05 UTC]]
|
3092
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3093
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3094
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3095
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
3096
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3097
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3098
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3099
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 23:03:05 UTC], ["updated_at", 2014-06-08 23:03:05 UTC]]
|
3100
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3101
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3102
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3103
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3104
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]]
|
3105
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
3106
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3107
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
3108
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
3109
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3110
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3111
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3112
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3113
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3114
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3115
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3116
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3117
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3118
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3119
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
3120
|
+
[1m[35m (0.3ms)[0m 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)
|
3121
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3122
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
3123
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3124
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
3125
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
3126
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
3127
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
3128
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
3129
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3130
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
3131
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
3132
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
3133
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3134
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3135
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3136
|
+
[1m[35mSQL (0.2ms)[0m 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]]
|
3137
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3138
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3139
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3140
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3141
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3142
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3143
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3144
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
3145
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1[0m
|
3146
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1
|
3147
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3148
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3149
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1[0m
|
3150
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
3151
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3152
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3153
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3154
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3155
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3156
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
3157
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3158
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
3159
|
+
[1m[35m (0.3ms)[0m 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)
|
3160
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3161
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
3162
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3163
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
3164
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
3165
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
3166
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
3167
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
3168
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3169
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
3170
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
3171
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
3172
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3173
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3174
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3175
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3176
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3177
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3178
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3179
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3180
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3181
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3182
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3183
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
3184
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3185
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3186
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3187
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3188
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
3189
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3190
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3191
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3192
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 23:06:07 UTC], ["updated_at", 2014-06-08 23:06:07 UTC]]
|
3193
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3194
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3195
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3196
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
3197
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3198
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3199
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3200
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 23:06:07 UTC], ["updated_at", 2014-06-08 23:06:07 UTC]]
|
3201
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3202
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3203
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3204
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3205
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]]
|
3206
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
3207
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3208
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
3209
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
3210
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3211
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3212
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3213
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3214
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3215
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3216
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3217
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3218
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3219
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3220
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
3221
|
+
[1m[35m (0.3ms)[0m 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)
|
3222
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3223
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
3224
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3225
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
3226
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
3227
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
3228
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
3229
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
3230
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3231
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
3232
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
3233
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
3234
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3235
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3236
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3237
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3238
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3239
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3240
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3241
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3242
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3243
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3244
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3245
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
3246
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3247
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3248
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3249
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3250
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
3251
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3252
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3253
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3254
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 23:06:25 UTC], ["updated_at", 2014-06-08 23:06:25 UTC]]
|
3255
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3256
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3257
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3258
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL[0m
|
3259
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3260
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3261
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3262
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 23:06:25 UTC], ["updated_at", 2014-06-08 23:06:25 UTC]]
|
3263
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3264
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3265
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3266
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3267
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]]
|
3268
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
3269
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3270
|
+
[1m[36mModelTranslation Load (0.0ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
3271
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL
|
3272
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3273
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3274
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3275
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3276
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3277
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3278
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3279
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3280
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3281
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3282
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3283
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3284
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3285
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3286
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3287
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3288
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3289
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3290
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3291
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3292
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3293
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1
|
3294
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3295
|
+
[1m[35mModelTranslation Load (0.2ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1
|
3296
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3297
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'en' LIMIT 1
|
3298
|
+
[1m[36mModelTranslation Load (0.2ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1[0m
|
3299
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
3300
|
+
[1m[35m (0.3ms)[0m 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)
|
3301
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3302
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
3303
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3304
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
3305
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
3306
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
3307
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
3308
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
3309
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3310
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
3311
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
3312
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3313
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3314
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3315
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 23:13:41 UTC], ["updated_at", 2014-06-08 23:13:41 UTC]]
|
3316
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3317
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3318
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3319
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1[0m
|
3320
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3321
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1[0m
|
3322
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3323
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3324
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3325
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3326
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3327
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 23:13:41 UTC], ["updated_at", 2014-06-08 23:13:41 UTC]]
|
3328
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3329
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3330
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3331
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3332
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3333
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-08 23:13:41 UTC], ["updated_at", 2014-06-08 23:13:41 UTC]]
|
3334
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3335
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3336
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3337
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "model_translations" WHERE "model_translations"."id" = ?[0m [["id", 1]]
|
3338
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
3339
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3340
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
3341
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3342
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3343
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3344
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3345
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3346
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3347
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3348
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1
|
3349
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "model_translations" SET "name" = 'new name', "updated_at" = '2014-06-08 23:13:42.003737' WHERE "model_translations"."id" = 1[0m
|
3350
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3351
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
3352
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3353
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")[0m
|
3354
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3355
|
+
FROM sqlite_master
|
3356
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
3357
|
+
UNION ALL
|
3358
|
+
SELECT sql
|
3359
|
+
FROM sqlite_temp_master
|
3360
|
+
WHERE name='index_model_translations_on_locale' AND type='index'
|
3361
|
+
|
3362
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
3363
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
3364
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
3365
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3366
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
3367
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130819165249')
|
3368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3369
|
+
---------------------------------------------
|
3370
|
+
I18nGeneratorTest: test_should_generate_files
|
3371
|
+
---------------------------------------------
|
3372
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3373
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3374
|
+
---------------------------------------
|
3375
|
+
RecrodsTest: test_should_change_locales
|
3376
|
+
---------------------------------------
|
3377
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3378
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3379
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
3380
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
3381
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3382
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1[0m [["model_id", 1]]
|
3383
|
+
[1m[35mModelTranslation Load (0.0ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = ? AND "model_translations"."locale" = 'es' LIMIT 1 [["model_id", 1]]
|
3384
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3385
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1
|
3386
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
3387
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3388
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3389
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3390
|
+
------------------------------------------------------
|
3391
|
+
RecrodsTest: test_should_create_associated_translation
|
3392
|
+
------------------------------------------------------
|
3393
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3394
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m SELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3395
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-06-09 18:25:06.726664"], ["updated_at", "2014-06-09 18:25:06.726664"]]
|
3396
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
3397
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3398
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3399
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3400
|
+
------------------------------------------------------
|
3401
|
+
RecrodsTest: test_should_delete_associated_translation
|
3402
|
+
------------------------------------------------------
|
3403
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3404
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3405
|
+
[1m[35mSQL (0.1ms)[0m 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"]]
|
3406
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
3407
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3408
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3409
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "model_translations" WHERE "model_translations"."id" = ? [["id", 1]]
|
3410
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "models" WHERE "models"."id" = ?[0m [["id", 1]]
|
3411
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3412
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1[0m
|
3413
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3414
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3415
|
+
----------------------------------------------------
|
3416
|
+
RecrodsTest: test_should_edit_associated_translation
|
3417
|
+
----------------------------------------------------
|
3418
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3419
|
+
[1m[36mModelTranslation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3420
|
+
[1m[35mSQL (0.0ms)[0m 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"]]
|
3421
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
|
3422
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3423
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3424
|
+
[1m[35mModelTranslation Exists (0.1ms)[0m 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
|
3425
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "model_translations" SET "name" = ?, "updated_at" = ? WHERE "model_translations"."id" = 1[0m [["name", "new name"], ["updated_at", "2014-06-09 18:25:06.738656"]]
|
3426
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3427
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3428
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
3429
|
+
[1m[35m (0.3ms)[0m 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)
|
3430
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3431
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_model_translations_on_locale" ON "model_translations" ("locale")
|
3432
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("model_translations")[0m
|
3433
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_model_translations_on_locale')
|
3434
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_model_translations_on_model_id" ON "model_translations" ("model_id")[0m
|
3435
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
3436
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
3437
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
3438
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3439
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
3440
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130819165249')[0m
|
3441
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3442
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3443
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3444
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-09 18:26:46 UTC], ["updated_at", 2014-06-09 18:26:46 UTC]]
|
3445
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3446
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3447
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1
|
3448
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es' LIMIT 1[0m
|
3449
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3450
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."locale" = 'es') LIMIT 1[0m
|
3451
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3452
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3453
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3454
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3455
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3456
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-09 18:26:46 UTC], ["updated_at", 2014-06-09 18:26:46 UTC]]
|
3457
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3458
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3459
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1
|
3460
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3461
|
+
[1m[35m (0.0ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1
|
3462
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "models" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2014-06-09 18:26:46 UTC], ["updated_at", 2014-06-09 18:26:46 UTC]]
|
3463
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3464
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3465
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3466
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "model_translations" WHERE "model_translations"."id" = ?[0m [["id", 1]]
|
3467
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "models" WHERE "models"."id" = ? [["id", 1]]
|
3468
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3469
|
+
[1m[35mModelTranslation Load (0.1ms)[0m SELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" = 1 LIMIT 1
|
3470
|
+
[1m[36mModelTranslation Load (0.1ms)[0m [1mSELECT "model_translations".* FROM "model_translations" WHERE "model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en' LIMIT 1[0m
|
3471
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3472
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" IS NULL AND "model_translations"."locale" = 'en') LIMIT 1[0m
|
3473
|
+
[1m[35mSQL (0.1ms)[0m 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]]
|
3474
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "model_translations" ("created_at", "locale", "model_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
|
3475
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3476
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3477
|
+
[1m[35m (0.1ms)[0m SELECT 1 FROM "model_translations" WHERE ("model_translations"."model_id" = 1 AND "model_translations"."id" != 1 AND "model_translations"."locale" = 'en') LIMIT 1
|
3478
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "model_translations" SET "name" = 'new name', "updated_at" = '2014-06-09 18:26:46.135758' WHERE "model_translations"."id" = 1[0m
|
3479
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|