forest_liana 2.14.2 → 2.14.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/forest_liana/operator_value_parser.rb +1 -1
- data/lib/forest_liana/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +900 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7aa72a23fe62a20306967455df51284a503cfff
|
4
|
+
data.tar.gz: 7b44c96dfaff6ebbfc917c085db03fd2e81b47cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7159c2a619adfd287e1c0db1a41f42a44d065e18fb2ed5cc6c4e959195ec39f38bc017e50136dc4680eeceac0e372ade09fe09a084b57d5044aad955fcd5b189
|
7
|
+
data.tar.gz: 1db9596638073f05ee5b7d9e0eaa41a7c2c6b08ccaeccb53a15addb87f5f814b95b2a9d930d3fee918f313927b0367192db13dcfb94277af206759f1bdff024d
|
data/lib/forest_liana/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -66282,3 +66282,903 @@ ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribut
|
|
66282
66282
|
---------------------------------------------------------------------------------------------------------
|
66283
66283
|
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
66284
66284
|
[1m[35m (0.1ms)[0m rollback transaction
|
66285
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
66286
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
66287
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
66288
|
+
FROM sqlite_master
|
66289
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
66290
|
+
UNION ALL
|
66291
|
+
SELECT sql
|
66292
|
+
FROM sqlite_temp_master
|
66293
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
66294
|
+
[0m
|
66295
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
66296
|
+
FROM sqlite_master
|
66297
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
66298
|
+
UNION ALL
|
66299
|
+
SELECT sql
|
66300
|
+
FROM sqlite_temp_master
|
66301
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
66302
|
+
|
66303
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
66304
|
+
FROM sqlite_master
|
66305
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
66306
|
+
UNION ALL
|
66307
|
+
SELECT sql
|
66308
|
+
FROM sqlite_temp_master
|
66309
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
66310
|
+
[0m
|
66311
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
66312
|
+
FROM sqlite_master
|
66313
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
66314
|
+
UNION ALL
|
66315
|
+
SELECT sql
|
66316
|
+
FROM sqlite_temp_master
|
66317
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
66318
|
+
|
66319
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
66320
|
+
FROM sqlite_master
|
66321
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
66322
|
+
UNION ALL
|
66323
|
+
SELECT sql
|
66324
|
+
FROM sqlite_temp_master
|
66325
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
66326
|
+
[0m
|
66327
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
66328
|
+
FROM sqlite_master
|
66329
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
66330
|
+
UNION ALL
|
66331
|
+
SELECT sql
|
66332
|
+
FROM sqlite_temp_master
|
66333
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
66334
|
+
|
66335
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
66336
|
+
FROM sqlite_master
|
66337
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
66338
|
+
UNION ALL
|
66339
|
+
SELECT sql
|
66340
|
+
FROM sqlite_temp_master
|
66341
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
66342
|
+
[0m
|
66343
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
66344
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66345
|
+
[1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
66346
|
+
[1m[35mFixture Insert (0.6ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
66347
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
66348
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
66349
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
66350
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
66351
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
66352
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
66353
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
66354
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
66355
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
66356
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "string_fields"
|
66357
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')[0m
|
66358
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')
|
66359
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')[0m
|
66360
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')
|
66361
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')[0m
|
66362
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')
|
66363
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')[0m
|
66364
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')
|
66365
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')[0m
|
66366
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')
|
66367
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')[0m
|
66368
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')
|
66369
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')[0m
|
66370
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')
|
66371
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')[0m
|
66372
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')
|
66373
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')[0m
|
66374
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')
|
66375
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')[0m
|
66376
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')
|
66377
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')[0m
|
66378
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')
|
66379
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')[0m
|
66380
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')
|
66381
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')[0m
|
66382
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')
|
66383
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')[0m
|
66384
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')
|
66385
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')[0m
|
66386
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')
|
66387
|
+
[1m[36mFixture Delete (1.3ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
66388
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
66389
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
66390
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
66391
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
66392
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
66393
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
66394
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
66395
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
66396
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
66397
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
66398
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
66399
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (12, 12, 4)[0m
|
66400
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
66401
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
66402
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
66403
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (16, 16, 6)[0m
|
66404
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
66405
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
66406
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
66407
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (20, 20, 7)[0m
|
66408
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
66409
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
66410
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
66411
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (24, 24, 8)[0m
|
66412
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
66413
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (26, 26, 9)[0m
|
66414
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
66415
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (28, 28, 10)[0m
|
66416
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
66417
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
66418
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "trees"
|
66419
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2011-02-11 11:00:00.000000', '2011-02-11 11:00:00.000000')[0m
|
66420
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2011-02-15 21:00:00.000000', '2011-02-15 21:00:00.000000')
|
66421
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2013-04-11 12:00:00.000000', '2013-04-11 12:00:00.000000')[0m
|
66422
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2016-06-18 09:00:00.000000', '2016-06-18 09:00:00.000000')
|
66423
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')[0m
|
66424
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (6, 'Oak', 3, '2018-11-02 16:00:00.000000', '2018-11-02 16:00:00.000000')
|
66425
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (7, 'Sequoia', 1, '2018-11-02 16:00:00.000000', '2018-11-02 16:00:00.000000')[0m
|
66426
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (8, 'Fir', 1, '2018-11-02 16:00:00.000000', '2018-11-02 16:00:00.000000')
|
66427
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "has_one_fields"[0m
|
66428
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (1, 't', 0)
|
66429
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (2, 't', 0)[0m
|
66430
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (3, 't', 0)
|
66431
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (4, 't', 0)[0m
|
66432
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (5, 't', 0)
|
66433
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (6, 't', 0)[0m
|
66434
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (7, 't', 0)
|
66435
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (8, 't', 0)[0m
|
66436
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (9, 't', 0)
|
66437
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (10, 't', 0)[0m
|
66438
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (11, 't', 0)
|
66439
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (12, 't', 0)[0m
|
66440
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (13, 't', 0)
|
66441
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (14, 't', 0)[0m
|
66442
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (15, 't', 0)
|
66443
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (16, 't', 0)[0m
|
66444
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (17, 't', 0)
|
66445
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (18, 't', 0)[0m
|
66446
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (19, 't', 0)
|
66447
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (20, 't', 0)[0m
|
66448
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (21, 't', 0)
|
66449
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (22, 't', 0)[0m
|
66450
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (23, 't', 0)
|
66451
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (24, 't', 0)[0m
|
66452
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (25, 't', 0)
|
66453
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (26, 't', 0)[0m
|
66454
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (27, 't', 0)
|
66455
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (28, 't', 0)[0m
|
66456
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (29, 't', 0)
|
66457
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (30, 't', 1)[0m
|
66458
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "owners"
|
66459
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2017-05-30 09:00:00.000000', '2018-06-27 20:00:00.000000')[0m
|
66460
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2018-05-02 09:00:00.000000', '2018-06-28 08:00:00.000000')
|
66461
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2016-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
66462
|
+
[1m[35mFixture Delete (1.0ms)[0m DELETE FROM "has_many_fields"
|
66463
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
66464
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
66465
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
66466
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
66467
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
66468
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
66469
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
66470
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
66471
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
66472
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
66473
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
66474
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
66475
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
66476
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
66477
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
66478
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
66479
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
66480
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66481
|
+
----------------------------------------------------------------------------------------------------
|
66482
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_integer_field
|
66483
|
+
----------------------------------------------------------------------------------------------------
|
66484
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
66485
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66486
|
+
-----------------------------------------------------------------------------
|
66487
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
66488
|
+
-----------------------------------------------------------------------------
|
66489
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
66490
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66491
|
+
----------------------------------------------------------------------------------------------------
|
66492
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_boolean_field
|
66493
|
+
----------------------------------------------------------------------------------------------------
|
66494
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
66495
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66496
|
+
-------------------------------------------------------------------------------------------------
|
66497
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_enum_field
|
66498
|
+
-------------------------------------------------------------------------------------------------
|
66499
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66500
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66501
|
+
-------------------------------------------------------------------------------------------
|
66502
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
66503
|
+
-------------------------------------------------------------------------------------------
|
66504
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "owners"."id" AS t0_r0, "owners"."name" AS t0_r1, "owners"."created_at" AS t0_r2, "owners"."updated_at" AS t0_r3 FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0[0m
|
66505
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC')
|
66506
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66507
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66508
|
+
-----------------------------------------------------------------
|
66509
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
66510
|
+
-----------------------------------------------------------------
|
66511
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0[0m
|
66512
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
66513
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66514
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66515
|
+
------------------------------------------------------------------------------------------------------
|
66516
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
66517
|
+
------------------------------------------------------------------------------------------------------
|
66518
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66519
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66520
|
+
--------------------------------------------------------------------------------------------------------
|
66521
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_a_field_of_an_associated_collection_that_does_not_exist
|
66522
|
+
--------------------------------------------------------------------------------------------------------
|
66523
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66524
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66525
|
+
-----------------------------------------------------------------
|
66526
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
66527
|
+
-----------------------------------------------------------------
|
66528
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10[0m
|
66529
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "string_fields"
|
66530
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66531
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66532
|
+
----------------------------------------------------------
|
66533
|
+
ForestLiana::ResourcesGetterTest: test_Filter_after_x_days
|
66534
|
+
----------------------------------------------------------
|
66535
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" > '2018-11-02 15:59:01 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
66536
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" > '2018-11-02 15:59:01 UTC')
|
66537
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66538
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66539
|
+
-----------------------------------------------------------------------------
|
66540
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_a_field_that_does_not_exists
|
66541
|
+
-----------------------------------------------------------------------------
|
66542
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66543
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66544
|
+
------------------------------------------------------------------------------------
|
66545
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
66546
|
+
------------------------------------------------------------------------------------
|
66547
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66548
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66549
|
+
------------------------------------------------------------------------------------------------
|
66550
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
66551
|
+
------------------------------------------------------------------------------------------------
|
66552
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
66553
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC')
|
66554
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66555
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66556
|
+
----------------------------------------------------------------
|
66557
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
66558
|
+
----------------------------------------------------------------
|
66559
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66560
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66561
|
+
-----------------------------------------------------------------------
|
66562
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
66563
|
+
-----------------------------------------------------------------------
|
66564
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "belongs_to_fields"."id" AS t0_r0, "belongs_to_fields"."has_one_field_id" AS t0_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t0_r2, "belongs_to_fields"."has_many_field_id" AS t0_r3, "has_one_fields"."id" AS t1_r0, "has_one_fields"."checked" AS t1_r1, "has_one_fields"."status" AS t1_r2, "has_many_fields"."id" AS t2_r0, "has_many_fields"."has_many_through_field_id" AS t2_r1, "has_many_class_name_fields"."id" AS t3_r0 FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" ORDER BY "has_one_fields"."id" ASC LIMIT 10 OFFSET 0[0m
|
66565
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id"
|
66566
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66567
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66568
|
+
--------------------------------------------------------------------
|
66569
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
66570
|
+
--------------------------------------------------------------------
|
66571
|
+
[1m[36mSQL (0.7ms)[0m [1mSELECT "has_one_fields"."id" AS t0_r0, "has_one_fields"."checked" AS t0_r1, "has_one_fields"."status" AS t0_r2, "belongs_to_fields"."id" AS t1_r0, "belongs_to_fields"."has_one_field_id" AS t1_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t1_r2, "belongs_to_fields"."has_many_field_id" AS t1_r3, "belongs_to_class_name_fields"."id" AS t2_r0, "belongs_to_class_name_fields"."foo_id" AS t2_r1 FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id" ORDER BY "belongs_to_fields"."id" DESC LIMIT 10 OFFSET 0[0m
|
66572
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "has_one_fields"."id") FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id"
|
66573
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
66574
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66575
|
+
------------------------------------------------------------
|
66576
|
+
ForestLiana::ResourcesGetterTest: test_Filter_before_x_hours
|
66577
|
+
------------------------------------------------------------
|
66578
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" < '2018-11-02 15:59:01 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
66579
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" < '2018-11-02 15:59:01 UTC')
|
66580
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 2]]
|
66581
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66582
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66583
|
+
----------------------------------------------------------------
|
66584
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
66585
|
+
----------------------------------------------------------------
|
66586
|
+
[1m[35mSQL (0.2ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.field DESC LIMIT 10 OFFSET 0
|
66587
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
66588
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66589
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66590
|
+
---------------------------
|
66591
|
+
ForestLianaTest: test_truth
|
66592
|
+
---------------------------
|
66593
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66594
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66595
|
+
------------------------------------------------------------------------------------------------------
|
66596
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
66597
|
+
------------------------------------------------------------------------------------------------------
|
66598
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
66599
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
66600
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
66601
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
66602
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66603
|
+
------------------------------------------------------------------------------------------------------------
|
66604
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
66605
|
+
------------------------------------------------------------------------------------------------------------
|
66606
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
66607
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
66608
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", "---\n- test\n- test\n"], ["id", 1]]
|
66609
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
66610
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
66611
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66612
|
+
---------------------------------------------------------------------------------------------------
|
66613
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
66614
|
+
---------------------------------------------------------------------------------------------------
|
66615
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
66616
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
66617
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", nil], ["id", 1]]
|
66618
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
66619
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
66620
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66621
|
+
---------------------------------------------------------------------------------------------------------
|
66622
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
66623
|
+
---------------------------------------------------------------------------------------------------------
|
66624
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
66625
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
66626
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66627
|
+
---------------------------------------------------------------------------------------
|
66628
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_foreign_key
|
66629
|
+
---------------------------------------------------------------------------------------
|
66630
|
+
[1m[35m (0.9ms)[0m SELECT COUNT(DISTINCT "belongs_to_fields"."id") AS count_id, belongs_to_fields.has_one_field_id AS belongs_to_fields_has_one_field_id FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" GROUP BY belongs_to_fields.has_one_field_id ORDER BY count_id DESC
|
66631
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
66632
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66633
|
+
-----------------------------------------------------------------------------------------
|
66634
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_boolean_field
|
66635
|
+
-----------------------------------------------------------------------------------------
|
66636
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) AS count_all, boolean_fields.field AS boolean_fields_field FROM "boolean_fields" GROUP BY boolean_fields.field ORDER BY count_all DESC[0m
|
66637
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
66638
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66639
|
+
---------------------------------------------------------------------
|
66640
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
66641
|
+
---------------------------------------------------------------------
|
66642
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
66643
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66644
|
+
--------------------------------------------------------------------------
|
66645
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
66646
|
+
--------------------------------------------------------------------------
|
66647
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
66648
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66649
|
+
--------------------------------------------------------
|
66650
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
66651
|
+
--------------------------------------------------------
|
66652
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66653
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66654
|
+
--------------------------------------------------------------------------
|
66655
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
66656
|
+
--------------------------------------------------------------------------
|
66657
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66658
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66659
|
+
----------------------------------------------------------------------------------
|
66660
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
66661
|
+
----------------------------------------------------------------------------------
|
66662
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66663
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66664
|
+
-------------------------------------------------------------------------
|
66665
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
66666
|
+
-------------------------------------------------------------------------
|
66667
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66668
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66669
|
+
-----------------------------------------------------------
|
66670
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
66671
|
+
-----------------------------------------------------------
|
66672
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66673
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66674
|
+
------------------------------------------------------------------------
|
66675
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
66676
|
+
------------------------------------------------------------------------
|
66677
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66678
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66679
|
+
---------------------------------------------------------------------------
|
66680
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
66681
|
+
---------------------------------------------------------------------------
|
66682
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66683
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66684
|
+
---------------------------------------------------------
|
66685
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
66686
|
+
---------------------------------------------------------
|
66687
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66688
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66689
|
+
-------------------------------------------------------------------------
|
66690
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
66691
|
+
-------------------------------------------------------------------------
|
66692
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66693
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66694
|
+
------------------------------------------------------------------------------------
|
66695
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
66696
|
+
------------------------------------------------------------------------------------
|
66697
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66698
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66699
|
+
------------------------------------------------------------------
|
66700
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_page_1_size_15
|
66701
|
+
------------------------------------------------------------------
|
66702
|
+
[1m[35mOwner Load (0.1ms)[0m SELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1 [["id", 1]]
|
66703
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ?[0m [["owner_id", 1]]
|
66704
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? LIMIT 15 OFFSET 0) subquery_for_count [["owner_id", 1]]
|
66705
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0[0m [["owner_id", 1]]
|
66706
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
66707
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66708
|
+
-------------------------------------------------------------------------
|
66709
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_search_parameter
|
66710
|
+
-------------------------------------------------------------------------
|
66711
|
+
[1m[35mOwner Load (0.1ms)[0m SELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1 [["id", 1]]
|
66712
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%')[0m [["owner_id", 1]]
|
66713
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') LIMIT 15 OFFSET 0) subquery_for_count [["owner_id", 1]]
|
66714
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0[0m [["owner_id", 1]]
|
66715
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66716
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66717
|
+
-----------------------------------------------------------------------
|
66718
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_sort_parameter
|
66719
|
+
-----------------------------------------------------------------------
|
66720
|
+
[1m[35mOwner Load (0.1ms)[0m SELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1 [["id", 1]]
|
66721
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ?[0m [["owner_id", 1]]
|
66722
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? LIMIT 15 OFFSET 0) subquery_for_count [["owner_id", 1]]
|
66723
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY trees.id DESC LIMIT 1 OFFSET 0[0m [["owner_id", 1]]
|
66724
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66726
|
+
-----------------------------------
|
66727
|
+
ForestLiana::RouteTest: test_Routes
|
66728
|
+
-----------------------------------
|
66729
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
66730
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
66731
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
66732
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
66733
|
+
FROM sqlite_master
|
66734
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
66735
|
+
UNION ALL
|
66736
|
+
SELECT sql
|
66737
|
+
FROM sqlite_temp_master
|
66738
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
66739
|
+
[0m
|
66740
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
66741
|
+
FROM sqlite_master
|
66742
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
66743
|
+
UNION ALL
|
66744
|
+
SELECT sql
|
66745
|
+
FROM sqlite_temp_master
|
66746
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
66747
|
+
|
66748
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
66749
|
+
FROM sqlite_master
|
66750
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
66751
|
+
UNION ALL
|
66752
|
+
SELECT sql
|
66753
|
+
FROM sqlite_temp_master
|
66754
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
66755
|
+
[0m
|
66756
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
66757
|
+
FROM sqlite_master
|
66758
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
66759
|
+
UNION ALL
|
66760
|
+
SELECT sql
|
66761
|
+
FROM sqlite_temp_master
|
66762
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
66763
|
+
|
66764
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
66765
|
+
FROM sqlite_master
|
66766
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
66767
|
+
UNION ALL
|
66768
|
+
SELECT sql
|
66769
|
+
FROM sqlite_temp_master
|
66770
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
66771
|
+
[0m
|
66772
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
66773
|
+
FROM sqlite_master
|
66774
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
66775
|
+
UNION ALL
|
66776
|
+
SELECT sql
|
66777
|
+
FROM sqlite_temp_master
|
66778
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
66779
|
+
|
66780
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
66781
|
+
FROM sqlite_master
|
66782
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
66783
|
+
UNION ALL
|
66784
|
+
SELECT sql
|
66785
|
+
FROM sqlite_temp_master
|
66786
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
66787
|
+
[0m
|
66788
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
66789
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66790
|
+
[1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
66791
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
66792
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
66793
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
66794
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
66795
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
66796
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
66797
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
66798
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
66799
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
66800
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
66801
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "string_fields"
|
66802
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')[0m
|
66803
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')
|
66804
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')[0m
|
66805
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')
|
66806
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')[0m
|
66807
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')
|
66808
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')[0m
|
66809
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')
|
66810
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')[0m
|
66811
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')
|
66812
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')[0m
|
66813
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')
|
66814
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')[0m
|
66815
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')
|
66816
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')[0m
|
66817
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')
|
66818
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')[0m
|
66819
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')
|
66820
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')[0m
|
66821
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')
|
66822
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')[0m
|
66823
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')
|
66824
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')[0m
|
66825
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')
|
66826
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')[0m
|
66827
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')
|
66828
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')[0m
|
66829
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')
|
66830
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')[0m
|
66831
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')
|
66832
|
+
[1m[36mFixture Delete (1.4ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
66833
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
66834
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
66835
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
66836
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
66837
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
66838
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
66839
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
66840
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
66841
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
66842
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
66843
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
66844
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (12, 12, 4)[0m
|
66845
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
66846
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
66847
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
66848
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (16, 16, 6)[0m
|
66849
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
66850
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
66851
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
66852
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (20, 20, 7)[0m
|
66853
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
66854
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
66855
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
66856
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (24, 24, 8)[0m
|
66857
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
66858
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (26, 26, 9)[0m
|
66859
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
66860
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (28, 28, 10)[0m
|
66861
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
66862
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
66863
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "trees"
|
66864
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2011-02-11 11:00:00.000000', '2011-02-11 11:00:00.000000')[0m
|
66865
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2011-02-15 21:00:00.000000', '2011-02-15 21:00:00.000000')
|
66866
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2013-04-11 12:00:00.000000', '2013-04-11 12:00:00.000000')[0m
|
66867
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2016-06-18 09:00:00.000000', '2016-06-18 09:00:00.000000')
|
66868
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')[0m
|
66869
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (6, 'Oak', 3, '2018-11-02 20:20:56.000000', '2018-11-02 20:20:56.000000')
|
66870
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (7, 'Sequoia', 1, '2018-11-02 20:20:56.000000', '2018-11-02 20:20:56.000000')[0m
|
66871
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (8, 'Fir', 1, '2018-11-02 20:20:56.000000', '2018-11-02 20:20:56.000000')
|
66872
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "has_one_fields"[0m
|
66873
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (1, 't', 0)
|
66874
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (2, 't', 0)[0m
|
66875
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (3, 't', 0)
|
66876
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (4, 't', 0)[0m
|
66877
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (5, 't', 0)
|
66878
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (6, 't', 0)[0m
|
66879
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (7, 't', 0)
|
66880
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (8, 't', 0)[0m
|
66881
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (9, 't', 0)
|
66882
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (10, 't', 0)[0m
|
66883
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (11, 't', 0)
|
66884
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (12, 't', 0)[0m
|
66885
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (13, 't', 0)
|
66886
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (14, 't', 0)[0m
|
66887
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (15, 't', 0)
|
66888
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (16, 't', 0)[0m
|
66889
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (17, 't', 0)
|
66890
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (18, 't', 0)[0m
|
66891
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (19, 't', 0)
|
66892
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (20, 't', 0)[0m
|
66893
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (21, 't', 0)
|
66894
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (22, 't', 0)[0m
|
66895
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (23, 't', 0)
|
66896
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (24, 't', 0)[0m
|
66897
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (25, 't', 0)
|
66898
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (26, 't', 0)[0m
|
66899
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (27, 't', 0)
|
66900
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (28, 't', 0)[0m
|
66901
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (29, 't', 0)
|
66902
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (30, 't', 1)[0m
|
66903
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "owners"
|
66904
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2017-05-30 09:00:00.000000', '2018-06-27 20:00:00.000000')[0m
|
66905
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2018-05-02 09:00:00.000000', '2018-06-28 08:00:00.000000')
|
66906
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2016-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
66907
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "has_many_fields"
|
66908
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
66909
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
66910
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
66911
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
66912
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
66913
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
66914
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
66915
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
66916
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
66917
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
66918
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
66919
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
66920
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
66921
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
66922
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
66923
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
66924
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
66925
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66926
|
+
-----------------------------------
|
66927
|
+
ForestLiana::RouteTest: test_Routes
|
66928
|
+
-----------------------------------
|
66929
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
66930
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66931
|
+
----------------------------------------------------------
|
66932
|
+
ForestLiana::ResourcesGetterTest: test_Filter_after_x_days
|
66933
|
+
----------------------------------------------------------
|
66934
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" > '2018-11-02 20:19:56 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
66935
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" > '2018-11-02 20:19:56 UTC')
|
66936
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66937
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66938
|
+
--------------------------------------------------------------------------------------------------------
|
66939
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_a_field_of_an_associated_collection_that_does_not_exist
|
66940
|
+
--------------------------------------------------------------------------------------------------------
|
66941
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66942
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66943
|
+
-----------------------------------------------------------------
|
66944
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
66945
|
+
-----------------------------------------------------------------
|
66946
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10[0m
|
66947
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "string_fields"
|
66948
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
66949
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66950
|
+
------------------------------------------------------------
|
66951
|
+
ForestLiana::ResourcesGetterTest: test_Filter_before_x_hours
|
66952
|
+
------------------------------------------------------------
|
66953
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" < '2018-11-02 20:19:56 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
66954
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" < '2018-11-02 20:19:56 UTC')
|
66955
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 2]]
|
66956
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66957
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66958
|
+
----------------------------------------------------------------
|
66959
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
66960
|
+
----------------------------------------------------------------
|
66961
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.field DESC LIMIT 10 OFFSET 0
|
66962
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
66963
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66964
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66965
|
+
-----------------------------------------------------------------
|
66966
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
66967
|
+
-----------------------------------------------------------------
|
66968
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0
|
66969
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
66970
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66971
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66972
|
+
----------------------------------------------------------------
|
66973
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
66974
|
+
----------------------------------------------------------------
|
66975
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
66976
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier')[0m
|
66977
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
66978
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66979
|
+
-----------------------------------------------------------------------------
|
66980
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_a_field_that_does_not_exists
|
66981
|
+
-----------------------------------------------------------------------------
|
66982
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66983
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66984
|
+
------------------------------------------------------------------------------------------------
|
66985
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
66986
|
+
------------------------------------------------------------------------------------------------
|
66987
|
+
[1m[35mSQL (0.3ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
66988
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC')[0m
|
66989
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66990
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66991
|
+
------------------------------------------------------------------------------------
|
66992
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
66993
|
+
------------------------------------------------------------------------------------
|
66994
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0
|
66995
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')[0m
|
66996
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66997
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66998
|
+
-------------------------------------------------------------------------------------------
|
66999
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
67000
|
+
-------------------------------------------------------------------------------------------
|
67001
|
+
[1m[35mSQL (0.2ms)[0m SELECT "owners"."id" AS t0_r0, "owners"."name" AS t0_r1, "owners"."created_at" AS t0_r2, "owners"."updated_at" AS t0_r3 FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0
|
67002
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC')[0m
|
67003
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67004
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67005
|
+
------------------------------------------------------------------------------------------------------
|
67006
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
67007
|
+
------------------------------------------------------------------------------------------------------
|
67008
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
67009
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')[0m
|
67010
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67011
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67012
|
+
-----------------------------------------------------------------------
|
67013
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
67014
|
+
-----------------------------------------------------------------------
|
67015
|
+
[1m[35mSQL (0.1ms)[0m SELECT "belongs_to_fields"."id" AS t0_r0, "belongs_to_fields"."has_one_field_id" AS t0_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t0_r2, "belongs_to_fields"."has_many_field_id" AS t0_r3, "has_one_fields"."id" AS t1_r0, "has_one_fields"."checked" AS t1_r1, "has_one_fields"."status" AS t1_r2, "has_many_fields"."id" AS t2_r0, "has_many_fields"."has_many_through_field_id" AS t2_r1, "has_many_class_name_fields"."id" AS t3_r0 FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" ORDER BY "has_one_fields"."id" ASC LIMIT 10 OFFSET 0
|
67016
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id"[0m
|
67017
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67018
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67019
|
+
--------------------------------------------------------------------
|
67020
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
67021
|
+
--------------------------------------------------------------------
|
67022
|
+
[1m[35mSQL (0.5ms)[0m SELECT "has_one_fields"."id" AS t0_r0, "has_one_fields"."checked" AS t0_r1, "has_one_fields"."status" AS t0_r2, "belongs_to_fields"."id" AS t1_r0, "belongs_to_fields"."has_one_field_id" AS t1_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t1_r2, "belongs_to_fields"."has_many_field_id" AS t1_r3, "belongs_to_class_name_fields"."id" AS t2_r0, "belongs_to_class_name_fields"."foo_id" AS t2_r1 FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id" ORDER BY "belongs_to_fields"."id" DESC LIMIT 10 OFFSET 0
|
67023
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "has_one_fields"."id") FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id"[0m
|
67024
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67025
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67026
|
+
----------------------------------------------------------------------------------------------------
|
67027
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_boolean_field
|
67028
|
+
----------------------------------------------------------------------------------------------------
|
67029
|
+
[1m[35m (0.2ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."checked" = 0)
|
67030
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67031
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67032
|
+
-------------------------------------------------------------------------------------------------
|
67033
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_enum_field
|
67034
|
+
-------------------------------------------------------------------------------------------------
|
67035
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."status" = '1')[0m
|
67036
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67037
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67038
|
+
----------------------------------------------------------------------------------------------------
|
67039
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_integer_field
|
67040
|
+
----------------------------------------------------------------------------------------------------
|
67041
|
+
[1m[35m (0.2ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')
|
67042
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67043
|
+
[1m[35m (0.2ms)[0m begin transaction
|
67044
|
+
-----------------------------------------------------------------------------
|
67045
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
67046
|
+
-----------------------------------------------------------------------------
|
67047
|
+
[1m[36m (0.3ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
67048
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67049
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67050
|
+
---------------------------
|
67051
|
+
ForestLianaTest: test_truth
|
67052
|
+
---------------------------
|
67053
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67054
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67055
|
+
-----------------------------------------------------------------------------------------
|
67056
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_boolean_field
|
67057
|
+
-----------------------------------------------------------------------------------------
|
67058
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, boolean_fields.field AS boolean_fields_field FROM "boolean_fields" GROUP BY boolean_fields.field ORDER BY count_all DESC
|
67059
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67060
|
+
[1m[35m (0.1ms)[0m begin transaction
|
67061
|
+
---------------------------------------------------------------------------------------
|
67062
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_foreign_key
|
67063
|
+
---------------------------------------------------------------------------------------
|
67064
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(DISTINCT "belongs_to_fields"."id") AS count_id, belongs_to_fields.has_one_field_id AS belongs_to_fields_has_one_field_id FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" GROUP BY belongs_to_fields.has_one_field_id ORDER BY count_id DESC[0m
|
67065
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67066
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67067
|
+
---------------------------------------------------------------------------
|
67068
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
67069
|
+
---------------------------------------------------------------------------
|
67070
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67071
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67072
|
+
-------------------------------------------------------------------------
|
67073
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
67074
|
+
-------------------------------------------------------------------------
|
67075
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67076
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67077
|
+
--------------------------------------------------------------------------
|
67078
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
67079
|
+
--------------------------------------------------------------------------
|
67080
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67082
|
+
---------------------------------------------------------------------
|
67083
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
67084
|
+
---------------------------------------------------------------------
|
67085
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67086
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67087
|
+
----------------------------------------------------------------------------------
|
67088
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
67089
|
+
----------------------------------------------------------------------------------
|
67090
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67091
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67092
|
+
--------------------------------------------------------
|
67093
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
67094
|
+
--------------------------------------------------------
|
67095
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67096
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67097
|
+
------------------------------------------------------------------------
|
67098
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
67099
|
+
------------------------------------------------------------------------
|
67100
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67101
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67102
|
+
------------------------------------------------------------------------------------
|
67103
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
67104
|
+
------------------------------------------------------------------------------------
|
67105
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67106
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67107
|
+
--------------------------------------------------------------------------
|
67108
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
67109
|
+
--------------------------------------------------------------------------
|
67110
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67111
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67112
|
+
-------------------------------------------------------------------------
|
67113
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
67114
|
+
-------------------------------------------------------------------------
|
67115
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67116
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67117
|
+
-----------------------------------------------------------
|
67118
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
67119
|
+
-----------------------------------------------------------
|
67120
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67121
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67122
|
+
---------------------------------------------------------
|
67123
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
67124
|
+
---------------------------------------------------------
|
67125
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67126
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67127
|
+
---------------------------------------------------------------------------------------------------------
|
67128
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
67129
|
+
---------------------------------------------------------------------------------------------------------
|
67130
|
+
[1m[35mSerializeField Load (0.2ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
67131
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67132
|
+
[1m[35m (0.1ms)[0m begin transaction
|
67133
|
+
------------------------------------------------------------------------------------------------------
|
67134
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
67135
|
+
------------------------------------------------------------------------------------------------------
|
67136
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
67137
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67138
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67139
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67140
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67141
|
+
------------------------------------------------------------------------------------------------------------
|
67142
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
67143
|
+
------------------------------------------------------------------------------------------------------------
|
67144
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
67145
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
67146
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", "---\n- test\n- test\n"], ["id", 1]]
|
67147
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67148
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
67149
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67150
|
+
---------------------------------------------------------------------------------------------------
|
67151
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
67152
|
+
---------------------------------------------------------------------------------------------------
|
67153
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
67154
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
67155
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", nil], ["id", 1]]
|
67156
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67157
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
67158
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67159
|
+
-------------------------------------------------------------------------
|
67160
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_search_parameter
|
67161
|
+
-------------------------------------------------------------------------
|
67162
|
+
[1m[35mOwner Load (0.1ms)[0m SELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1 [["id", 1]]
|
67163
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%')[0m [["owner_id", 1]]
|
67164
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') LIMIT 15 OFFSET 0) subquery_for_count [["owner_id", 1]]
|
67165
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0[0m [["owner_id", 1]]
|
67166
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67167
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67168
|
+
-----------------------------------------------------------------------
|
67169
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_sort_parameter
|
67170
|
+
-----------------------------------------------------------------------
|
67171
|
+
[1m[35mOwner Load (0.1ms)[0m SELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1 [["id", 1]]
|
67172
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ?[0m [["owner_id", 1]]
|
67173
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? LIMIT 15 OFFSET 0) subquery_for_count [["owner_id", 1]]
|
67174
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY trees.id DESC LIMIT 1 OFFSET 0[0m [["owner_id", 1]]
|
67175
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67177
|
+
------------------------------------------------------------------
|
67178
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_page_1_size_15
|
67179
|
+
------------------------------------------------------------------
|
67180
|
+
[1m[35mOwner Load (0.1ms)[0m SELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1 [["id", 1]]
|
67181
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ?[0m [["owner_id", 1]]
|
67182
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? LIMIT 15 OFFSET 0) subquery_for_count [["owner_id", 1]]
|
67183
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0[0m [["owner_id", 1]]
|
67184
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_liana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.14.
|
4
|
+
version: 2.14.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|