forest_liana 2.11.12 → 2.11.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/forest_liana/router.rb +1 -0
- data/app/controllers/forest_liana/sessions_controller.rb +1 -1
- data/config/routes.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 +890 -0
- data/test/routing/route_test.rb +1 -1
- 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: 4e1e2f7e68df52d6adccbb4381d18c7363159ad2
|
4
|
+
data.tar.gz: c1a3afce3057dc8f6c2770bf585b000f031089e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c449b27faa19a9eabd32f0fc2317cb63292a075d9d8d99d1176362fada86ab22d0b035df2e4cdf36f3bb660e506a29f41c01f39943777ca6e420c42a2d350b26
|
7
|
+
data.tar.gz: b6bfc2f00d21e33bc4e6d4b9b15c877593f0897af572c46c72973492015ab6ac12cf5e4f6fb5717e41efda041e1b8fcdf7222919dea7a59d64cd988f122d422d
|
@@ -30,6 +30,7 @@ class ForestLiana::Router
|
|
30
30
|
|
31
31
|
controller.action(action.to_sym).call(env)
|
32
32
|
rescue NoMethodError => exception
|
33
|
+
FOREST_LOGGER.error "Routing error: #{exception}\n#{exception.backtrace.join("\n\t")}"
|
33
34
|
ForestLiana::ApplicationController.action(:route_not_found).call(env)
|
34
35
|
end
|
35
36
|
end
|
data/config/routes.rb
CHANGED
data/lib/forest_liana/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -62325,3 +62325,893 @@ ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
|
62325
62325
|
ForestLiana::RouteTest: test_Routes
|
62326
62326
|
-----------------------------------
|
62327
62327
|
[1m[35m (0.1ms)[0m rollback transaction
|
62328
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
62329
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
62330
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
62331
|
+
FROM sqlite_master
|
62332
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
62333
|
+
UNION ALL
|
62334
|
+
SELECT sql
|
62335
|
+
FROM sqlite_temp_master
|
62336
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
62337
|
+
[0m
|
62338
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
62339
|
+
FROM sqlite_master
|
62340
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
62341
|
+
UNION ALL
|
62342
|
+
SELECT sql
|
62343
|
+
FROM sqlite_temp_master
|
62344
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
62345
|
+
|
62346
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
62347
|
+
FROM sqlite_master
|
62348
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
62349
|
+
UNION ALL
|
62350
|
+
SELECT sql
|
62351
|
+
FROM sqlite_temp_master
|
62352
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
62353
|
+
[0m
|
62354
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
62355
|
+
FROM sqlite_master
|
62356
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
62357
|
+
UNION ALL
|
62358
|
+
SELECT sql
|
62359
|
+
FROM sqlite_temp_master
|
62360
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
62361
|
+
|
62362
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
62363
|
+
FROM sqlite_master
|
62364
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
62365
|
+
UNION ALL
|
62366
|
+
SELECT sql
|
62367
|
+
FROM sqlite_temp_master
|
62368
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
62369
|
+
[0m
|
62370
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
62371
|
+
FROM sqlite_master
|
62372
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
62373
|
+
UNION ALL
|
62374
|
+
SELECT sql
|
62375
|
+
FROM sqlite_temp_master
|
62376
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
62377
|
+
|
62378
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
62379
|
+
FROM sqlite_master
|
62380
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
62381
|
+
UNION ALL
|
62382
|
+
SELECT sql
|
62383
|
+
FROM sqlite_temp_master
|
62384
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
62385
|
+
[0m
|
62386
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
62387
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62388
|
+
[1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
62389
|
+
[1m[35mFixture Insert (0.6ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
62390
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
62391
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
62392
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
62393
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
62394
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
62395
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
62396
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
62397
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
62398
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
62399
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "string_fields"
|
62400
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')[0m
|
62401
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')
|
62402
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')[0m
|
62403
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')
|
62404
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')[0m
|
62405
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')
|
62406
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')[0m
|
62407
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')
|
62408
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')[0m
|
62409
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')
|
62410
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')[0m
|
62411
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')
|
62412
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')[0m
|
62413
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')
|
62414
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')[0m
|
62415
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')
|
62416
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')[0m
|
62417
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')
|
62418
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')[0m
|
62419
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')
|
62420
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')[0m
|
62421
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')
|
62422
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')[0m
|
62423
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')
|
62424
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')[0m
|
62425
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')
|
62426
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')[0m
|
62427
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')
|
62428
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')[0m
|
62429
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')
|
62430
|
+
[1m[36mFixture Delete (1.1ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
62431
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
62432
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
62433
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
62434
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
62435
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
62436
|
+
[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
|
62437
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
62438
|
+
[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
|
62439
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
62440
|
+
[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
|
62441
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
62442
|
+
[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
|
62443
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
62444
|
+
[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
|
62445
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
62446
|
+
[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
|
62447
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
62448
|
+
[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
|
62449
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
62450
|
+
[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
|
62451
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
62452
|
+
[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
|
62453
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
62454
|
+
[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
|
62455
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
62456
|
+
[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
|
62457
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
62458
|
+
[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
|
62459
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
62460
|
+
[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
|
62461
|
+
[1m[35mFixture Delete (1.5ms)[0m DELETE FROM "trees"
|
62462
|
+
[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
|
62463
|
+
[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')
|
62464
|
+
[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
|
62465
|
+
[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')
|
62466
|
+
[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
|
62467
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (6, 'Oak', 3, '2018-09-10 23:58:41.000000', '2018-09-10 23:58:41.000000')
|
62468
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (7, 'Sequoia', 1, '2018-09-10 23:58:41.000000', '2018-09-10 23:58:41.000000')[0m
|
62469
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (8, 'Fir', 1, '2018-09-10 23:58:41.000000', '2018-09-10 23:58:41.000000')
|
62470
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "has_one_fields"[0m
|
62471
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (1, 't', 0)
|
62472
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (2, 't', 0)[0m
|
62473
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (3, 't', 0)
|
62474
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (4, 't', 0)[0m
|
62475
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (5, 't', 0)
|
62476
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (6, 't', 0)[0m
|
62477
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (7, 't', 0)
|
62478
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (8, 't', 0)[0m
|
62479
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (9, 't', 0)
|
62480
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (10, 't', 0)[0m
|
62481
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (11, 't', 0)
|
62482
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (12, 't', 0)[0m
|
62483
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (13, 't', 0)
|
62484
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (14, 't', 0)[0m
|
62485
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (15, 't', 0)
|
62486
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (16, 't', 0)[0m
|
62487
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (17, 't', 0)
|
62488
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (18, 't', 0)[0m
|
62489
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (19, 't', 0)
|
62490
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (20, 't', 0)[0m
|
62491
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (21, 't', 0)
|
62492
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (22, 't', 0)[0m
|
62493
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (23, 't', 0)
|
62494
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (24, 't', 0)[0m
|
62495
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (25, 't', 0)
|
62496
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (26, 't', 0)[0m
|
62497
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (27, 't', 0)
|
62498
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (28, 't', 0)[0m
|
62499
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (29, 't', 0)
|
62500
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (30, 't', 1)[0m
|
62501
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "owners"
|
62502
|
+
[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
|
62503
|
+
[1m[35mFixture Insert (0.0ms)[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')
|
62504
|
+
[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
|
62505
|
+
[1m[35mFixture Delete (1.8ms)[0m DELETE FROM "has_many_fields"
|
62506
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
62507
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
62508
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
62509
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
62510
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
62511
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
62512
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
62513
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
62514
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
62515
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
62516
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
62517
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
62518
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
62519
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
62520
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
62521
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
62522
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
62523
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62524
|
+
-----------------------------------------------------------------------------------------
|
62525
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_boolean_field
|
62526
|
+
-----------------------------------------------------------------------------------------
|
62527
|
+
[1m[36m (0.4ms)[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
|
62528
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62529
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
62530
|
+
---------------------------------------------------------------------------------------
|
62531
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_foreign_key
|
62532
|
+
---------------------------------------------------------------------------------------
|
62533
|
+
[1m[35m (0.6ms)[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
|
62534
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62535
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62536
|
+
---------------------------------------------------------------------------------------------------------
|
62537
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
62538
|
+
---------------------------------------------------------------------------------------------------------
|
62539
|
+
[1m[36mSerializeField Load (0.2ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
62540
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62541
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62542
|
+
------------------------------------------------------------------------------------------------------
|
62543
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
62544
|
+
------------------------------------------------------------------------------------------------------
|
62545
|
+
[1m[35mSerializeField Load (1.7ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
62546
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
62547
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62548
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62549
|
+
[1m[35m (0.3ms)[0m begin transaction
|
62550
|
+
---------------------------------------------------------------------------------------------------
|
62551
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
62552
|
+
---------------------------------------------------------------------------------------------------
|
62553
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
62554
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
62555
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", nil], ["id", 1]]
|
62556
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62557
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
62558
|
+
[1m[35m (1.7ms)[0m begin transaction
|
62559
|
+
------------------------------------------------------------------------------------------------------------
|
62560
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
62561
|
+
------------------------------------------------------------------------------------------------------------
|
62562
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
62563
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
62564
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", "---\n- test\n- test\n"], ["id", 1]]
|
62565
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
62566
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
62567
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62568
|
+
---------------------------
|
62569
|
+
ForestLianaTest: test_truth
|
62570
|
+
---------------------------
|
62571
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62572
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62573
|
+
-------------------------------------------------------------------------
|
62574
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
62575
|
+
-------------------------------------------------------------------------
|
62576
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62577
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62578
|
+
--------------------------------------------------------
|
62579
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
62580
|
+
--------------------------------------------------------
|
62581
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62582
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62583
|
+
---------------------------------------------------------------------------
|
62584
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
62585
|
+
---------------------------------------------------------------------------
|
62586
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62587
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62588
|
+
------------------------------------------------------------------------
|
62589
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
62590
|
+
------------------------------------------------------------------------
|
62591
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62592
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62593
|
+
---------------------------------------------------------
|
62594
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
62595
|
+
---------------------------------------------------------
|
62596
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62597
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62598
|
+
--------------------------------------------------------------------------
|
62599
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
62600
|
+
--------------------------------------------------------------------------
|
62601
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62602
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62603
|
+
---------------------------------------------------------------------
|
62604
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
62605
|
+
---------------------------------------------------------------------
|
62606
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62607
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62608
|
+
--------------------------------------------------------------------------
|
62609
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
62610
|
+
--------------------------------------------------------------------------
|
62611
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62612
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62613
|
+
-----------------------------------------------------------
|
62614
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
62615
|
+
-----------------------------------------------------------
|
62616
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62618
|
+
-------------------------------------------------------------------------
|
62619
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
62620
|
+
-------------------------------------------------------------------------
|
62621
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62622
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62623
|
+
------------------------------------------------------------------------------------
|
62624
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
62625
|
+
------------------------------------------------------------------------------------
|
62626
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62628
|
+
----------------------------------------------------------------------------------
|
62629
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
62630
|
+
----------------------------------------------------------------------------------
|
62631
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62632
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62633
|
+
-----------------------------------
|
62634
|
+
ForestLiana::RouteTest: test_Routes
|
62635
|
+
-----------------------------------
|
62636
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62637
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62638
|
+
------------------------------------------------------------------
|
62639
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_page_1_size_15
|
62640
|
+
------------------------------------------------------------------
|
62641
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
62642
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? [["owner_id", 1]]
|
62643
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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[0m [["owner_id", 1]]
|
62644
|
+
[1m[35mSQL (0.1ms)[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"."owner_id" = ? ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
62645
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62646
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62647
|
+
-------------------------------------------------------------------------
|
62648
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_search_parameter
|
62649
|
+
-------------------------------------------------------------------------
|
62650
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
62651
|
+
[1m[35m (0.1ms)[0m SELECT 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%') [["owner_id", 1]]
|
62652
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m [["owner_id", 1]]
|
62653
|
+
[1m[35mSQL (0.1ms)[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"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
62654
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62655
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62656
|
+
-----------------------------------------------------------------------
|
62657
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_sort_parameter
|
62658
|
+
-----------------------------------------------------------------------
|
62659
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
62660
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? [["owner_id", 1]]
|
62661
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m [["owner_id", 1]]
|
62662
|
+
[1m[35mSQL (0.1ms)[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"."owner_id" = ? ORDER BY trees.id DESC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
62663
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62664
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62665
|
+
-----------------------------------------------------------------------
|
62666
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
62667
|
+
-----------------------------------------------------------------------
|
62668
|
+
[1m[36mSQL (0.5ms)[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
|
62669
|
+
[1m[35m (0.2ms)[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"
|
62670
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62671
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62672
|
+
----------------------------------------------------------------
|
62673
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
62674
|
+
----------------------------------------------------------------
|
62675
|
+
[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 ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
62676
|
+
[1m[35m (0.1ms)[0m SELECT 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')
|
62677
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62678
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62679
|
+
----------------------------------------------------------------
|
62680
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
62681
|
+
----------------------------------------------------------------
|
62682
|
+
[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.field DESC LIMIT 10 OFFSET 0[0m
|
62683
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
62684
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62685
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62686
|
+
----------------------------------------------------------
|
62687
|
+
ForestLiana::ResourcesGetterTest: test_Filter_after_x_days
|
62688
|
+
----------------------------------------------------------
|
62689
|
+
[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 FROM "trees" WHERE ("trees"."created_at" > '2018-09-10 23:57:42 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
62690
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" > '2018-09-10 23:57:42 UTC')
|
62691
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62692
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62693
|
+
-------------------------------------------------------------------------------------------
|
62694
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
62695
|
+
-------------------------------------------------------------------------------------------
|
62696
|
+
[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
|
62697
|
+
[1m[35m (0.2ms)[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')
|
62698
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62699
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62700
|
+
------------------------------------------------------------------------------------
|
62701
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
62702
|
+
------------------------------------------------------------------------------------
|
62703
|
+
[1m[36mSQL (0.5ms)[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.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0[0m
|
62704
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')
|
62705
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
62706
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62707
|
+
------------------------------------------------------------
|
62708
|
+
ForestLiana::ResourcesGetterTest: test_Filter_before_x_hours
|
62709
|
+
------------------------------------------------------------
|
62710
|
+
[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 FROM "trees" WHERE ("trees"."created_at" < '2018-09-10 23:57:42 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
62711
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" < '2018-09-10 23:57:42 UTC')
|
62712
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 2]]
|
62713
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
62714
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62715
|
+
--------------------------------------------------------------------
|
62716
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
62717
|
+
--------------------------------------------------------------------
|
62718
|
+
[1m[35mSQL (1.2ms)[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
|
62719
|
+
[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
|
62720
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62721
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62722
|
+
-----------------------------------------------------------------
|
62723
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
62724
|
+
-----------------------------------------------------------------
|
62725
|
+
[1m[35mSQL (0.4ms)[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
|
62726
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
62727
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
62728
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
62729
|
+
-----------------------------------------------------------------
|
62730
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
62731
|
+
-----------------------------------------------------------------
|
62732
|
+
[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 10 OFFSET 10
|
62733
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
62734
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
62735
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
62736
|
+
------------------------------------------------------------------------------------------------------
|
62737
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
62738
|
+
------------------------------------------------------------------------------------------------------
|
62739
|
+
[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
|
62740
|
+
[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
|
62741
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
62742
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
62743
|
+
------------------------------------------------------------------------------------------------
|
62744
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
62745
|
+
------------------------------------------------------------------------------------------------
|
62746
|
+
[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
|
62747
|
+
[1m[36m (0.3ms)[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
|
62748
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62749
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62750
|
+
----------------------------------------------------------------------------------------------------
|
62751
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_boolean_field
|
62752
|
+
----------------------------------------------------------------------------------------------------
|
62753
|
+
[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)
|
62754
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62755
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62756
|
+
----------------------------------------------------------------------------------------------------
|
62757
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_integer_field
|
62758
|
+
----------------------------------------------------------------------------------------------------
|
62759
|
+
[1m[36m (0.6ms)[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"."id" = '3')[0m
|
62760
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62761
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62762
|
+
-------------------------------------------------------------------------------------------------
|
62763
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_enum_field
|
62764
|
+
-------------------------------------------------------------------------------------------------
|
62765
|
+
[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"."status" = '1')
|
62766
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62767
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62768
|
+
-----------------------------------------------------------------------------
|
62769
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
62770
|
+
-----------------------------------------------------------------------------
|
62771
|
+
[1m[36m (0.1ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
62772
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
62773
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
62774
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
62775
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
62776
|
+
FROM sqlite_master
|
62777
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
62778
|
+
UNION ALL
|
62779
|
+
SELECT sql
|
62780
|
+
FROM sqlite_temp_master
|
62781
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
62782
|
+
[0m
|
62783
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
62784
|
+
FROM sqlite_master
|
62785
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
62786
|
+
UNION ALL
|
62787
|
+
SELECT sql
|
62788
|
+
FROM sqlite_temp_master
|
62789
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
62790
|
+
|
62791
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
62792
|
+
FROM sqlite_master
|
62793
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
62794
|
+
UNION ALL
|
62795
|
+
SELECT sql
|
62796
|
+
FROM sqlite_temp_master
|
62797
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
62798
|
+
[0m
|
62799
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
62800
|
+
FROM sqlite_master
|
62801
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
62802
|
+
UNION ALL
|
62803
|
+
SELECT sql
|
62804
|
+
FROM sqlite_temp_master
|
62805
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
62806
|
+
|
62807
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
62808
|
+
FROM sqlite_master
|
62809
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
62810
|
+
UNION ALL
|
62811
|
+
SELECT sql
|
62812
|
+
FROM sqlite_temp_master
|
62813
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
62814
|
+
[0m
|
62815
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
62816
|
+
FROM sqlite_master
|
62817
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
62818
|
+
UNION ALL
|
62819
|
+
SELECT sql
|
62820
|
+
FROM sqlite_temp_master
|
62821
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
62822
|
+
|
62823
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
62824
|
+
FROM sqlite_master
|
62825
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
62826
|
+
UNION ALL
|
62827
|
+
SELECT sql
|
62828
|
+
FROM sqlite_temp_master
|
62829
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
62830
|
+
[0m
|
62831
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
62832
|
+
[1m[35m (0.1ms)[0m begin transaction
|
62833
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
62834
|
+
[1m[35mFixture Insert (0.5ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
62835
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
62836
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
62837
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
62838
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
62839
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
62840
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
62841
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
62842
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
62843
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
62844
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "string_fields"
|
62845
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')[0m
|
62846
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')
|
62847
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')[0m
|
62848
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')
|
62849
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')[0m
|
62850
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')
|
62851
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')[0m
|
62852
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')
|
62853
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')[0m
|
62854
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')
|
62855
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')[0m
|
62856
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')
|
62857
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')[0m
|
62858
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')
|
62859
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')[0m
|
62860
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')
|
62861
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')[0m
|
62862
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')
|
62863
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')[0m
|
62864
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')
|
62865
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')[0m
|
62866
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')
|
62867
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')[0m
|
62868
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')
|
62869
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')[0m
|
62870
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')
|
62871
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')[0m
|
62872
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')
|
62873
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')[0m
|
62874
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')
|
62875
|
+
[1m[36mFixture Delete (1.3ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
62876
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
62877
|
+
[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
|
62878
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
62879
|
+
[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
|
62880
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
62881
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
62882
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
62883
|
+
[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
|
62884
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
62885
|
+
[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
|
62886
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
62887
|
+
[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
|
62888
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
62889
|
+
[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
|
62890
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
62891
|
+
[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
|
62892
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
62893
|
+
[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
|
62894
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
62895
|
+
[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
|
62896
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
62897
|
+
[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
|
62898
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
62899
|
+
[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
|
62900
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
62901
|
+
[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
|
62902
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
62903
|
+
[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
|
62904
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
62905
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
62906
|
+
[1m[35mFixture Delete (1.1ms)[0m DELETE FROM "trees"
|
62907
|
+
[1m[36mFixture Insert (0.2ms)[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
|
62908
|
+
[1m[35mFixture Insert (0.2ms)[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')
|
62909
|
+
[1m[36mFixture Insert (0.2ms)[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
|
62910
|
+
[1m[35mFixture Insert (0.1ms)[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')
|
62911
|
+
[1m[36mFixture Insert (0.1ms)[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
|
62912
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (6, 'Oak', 3, '2018-09-11 01:50:38.000000', '2018-09-11 01:50:38.000000')
|
62913
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (7, 'Sequoia', 1, '2018-09-11 01:50:38.000000', '2018-09-11 01:50:38.000000')[0m
|
62914
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (8, 'Fir', 1, '2018-09-11 01:50:38.000000', '2018-09-11 01:50:38.000000')
|
62915
|
+
[1m[36mFixture Delete (1.4ms)[0m [1mDELETE FROM "has_one_fields"[0m
|
62916
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (1, 't', 0)
|
62917
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (2, 't', 0)[0m
|
62918
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (3, 't', 0)
|
62919
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (4, 't', 0)[0m
|
62920
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (5, 't', 0)
|
62921
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (6, 't', 0)[0m
|
62922
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (7, 't', 0)
|
62923
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (8, 't', 0)[0m
|
62924
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (9, 't', 0)
|
62925
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (10, 't', 0)[0m
|
62926
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (11, 't', 0)
|
62927
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (12, 't', 0)[0m
|
62928
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (13, 't', 0)
|
62929
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (14, 't', 0)[0m
|
62930
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (15, 't', 0)
|
62931
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (16, 't', 0)[0m
|
62932
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (17, 't', 0)
|
62933
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (18, 't', 0)[0m
|
62934
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (19, 't', 0)
|
62935
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (20, 't', 0)[0m
|
62936
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (21, 't', 0)
|
62937
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (22, 't', 0)[0m
|
62938
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (23, 't', 0)
|
62939
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (24, 't', 0)[0m
|
62940
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (25, 't', 0)
|
62941
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (26, 't', 0)[0m
|
62942
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (27, 't', 0)
|
62943
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (28, 't', 0)[0m
|
62944
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (29, 't', 0)
|
62945
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (30, 't', 1)[0m
|
62946
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "owners"
|
62947
|
+
[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
|
62948
|
+
[1m[35mFixture Insert (0.0ms)[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')
|
62949
|
+
[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
|
62950
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "has_many_fields"
|
62951
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
62952
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
62953
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
62954
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
62955
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
62956
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
62957
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
62958
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
62959
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
62960
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
62961
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
62962
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
62963
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
62964
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
62965
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
62966
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
62967
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
62968
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62969
|
+
---------------------------------------------------------------------------------------------------------
|
62970
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
62971
|
+
---------------------------------------------------------------------------------------------------------
|
62972
|
+
[1m[36mSerializeField Load (0.2ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
62973
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62974
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
62975
|
+
---------------------------------------------------------------------------------------------------
|
62976
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
62977
|
+
---------------------------------------------------------------------------------------------------
|
62978
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
62979
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62980
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", nil], ["id", 1]]
|
62981
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62982
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
62983
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62984
|
+
------------------------------------------------------------------------------------------------------
|
62985
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
62986
|
+
------------------------------------------------------------------------------------------------------
|
62987
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
62988
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
62989
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
62990
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62991
|
+
[1m[35m (0.0ms)[0m begin transaction
|
62992
|
+
------------------------------------------------------------------------------------------------------------
|
62993
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
62994
|
+
------------------------------------------------------------------------------------------------------------
|
62995
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
62996
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
62997
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", "---\n- test\n- test\n"], ["id", 1]]
|
62998
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
62999
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
63000
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63001
|
+
-----------------------------------------------------------------------------------------
|
63002
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_boolean_field
|
63003
|
+
-----------------------------------------------------------------------------------------
|
63004
|
+
[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
|
63005
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
63006
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
63007
|
+
---------------------------------------------------------------------------------------
|
63008
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_foreign_key
|
63009
|
+
---------------------------------------------------------------------------------------
|
63010
|
+
[1m[35m (0.6ms)[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
|
63011
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63012
|
+
[1m[35m (0.1ms)[0m begin transaction
|
63013
|
+
-------------------------------------------------------------------------
|
63014
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_search_parameter
|
63015
|
+
-------------------------------------------------------------------------
|
63016
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
63017
|
+
[1m[35m (0.2ms)[0m SELECT 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%') [["owner_id", 1]]
|
63018
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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[0m [["owner_id", 1]]
|
63019
|
+
[1m[35mSQL (0.1ms)[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"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
63020
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
63021
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63022
|
+
------------------------------------------------------------------
|
63023
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_page_1_size_15
|
63024
|
+
------------------------------------------------------------------
|
63025
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
63026
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? [["owner_id", 1]]
|
63027
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m [["owner_id", 1]]
|
63028
|
+
[1m[35mSQL (0.1ms)[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"."owner_id" = ? ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
63029
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63030
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63031
|
+
-----------------------------------------------------------------------
|
63032
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_sort_parameter
|
63033
|
+
-----------------------------------------------------------------------
|
63034
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
63035
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? [["owner_id", 1]]
|
63036
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m [["owner_id", 1]]
|
63037
|
+
[1m[35mSQL (0.1ms)[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"."owner_id" = ? ORDER BY trees.id DESC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
63038
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63039
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63040
|
+
----------------------------------------------------------------------------------------------------
|
63041
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_boolean_field
|
63042
|
+
----------------------------------------------------------------------------------------------------
|
63043
|
+
[1m[36m (0.9ms)[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"."checked" = 0)[0m
|
63044
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
63045
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
63046
|
+
----------------------------------------------------------------------------------------------------
|
63047
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_integer_field
|
63048
|
+
----------------------------------------------------------------------------------------------------
|
63049
|
+
[1m[35m (0.4ms)[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')
|
63050
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
63051
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63052
|
+
-----------------------------------------------------------------------------
|
63053
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
63054
|
+
-----------------------------------------------------------------------------
|
63055
|
+
[1m[36m (0.1ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
63056
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
63057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
63058
|
+
-------------------------------------------------------------------------------------------------
|
63059
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_enum_field
|
63060
|
+
-------------------------------------------------------------------------------------------------
|
63061
|
+
[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"."status" = '1')
|
63062
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
63063
|
+
[1m[35m (0.1ms)[0m begin transaction
|
63064
|
+
---------------------------
|
63065
|
+
ForestLianaTest: test_truth
|
63066
|
+
---------------------------
|
63067
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63068
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63069
|
+
-----------------------------------
|
63070
|
+
ForestLiana::RouteTest: test_Routes
|
63071
|
+
-----------------------------------
|
63072
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
63073
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63074
|
+
--------------------------------------------------------------------------
|
63075
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
63076
|
+
--------------------------------------------------------------------------
|
63077
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63078
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63079
|
+
-------------------------------------------------------------------------
|
63080
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
63081
|
+
-------------------------------------------------------------------------
|
63082
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63083
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63084
|
+
-----------------------------------------------------------
|
63085
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
63086
|
+
-----------------------------------------------------------
|
63087
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63088
|
+
[1m[35m (0.1ms)[0m begin transaction
|
63089
|
+
---------------------------------------------------------------------------
|
63090
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
63091
|
+
---------------------------------------------------------------------------
|
63092
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63093
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63094
|
+
---------------------------------------------------------------------
|
63095
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
63096
|
+
---------------------------------------------------------------------
|
63097
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63098
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63099
|
+
---------------------------------------------------------
|
63100
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
63101
|
+
---------------------------------------------------------
|
63102
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63103
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63104
|
+
----------------------------------------------------------------------------------
|
63105
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
63106
|
+
----------------------------------------------------------------------------------
|
63107
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63108
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63109
|
+
------------------------------------------------------------------------
|
63110
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
63111
|
+
------------------------------------------------------------------------
|
63112
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
63113
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63114
|
+
--------------------------------------------------------
|
63115
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
63116
|
+
--------------------------------------------------------
|
63117
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63118
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63119
|
+
-------------------------------------------------------------------------
|
63120
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
63121
|
+
-------------------------------------------------------------------------
|
63122
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63123
|
+
[1m[35m (0.1ms)[0m begin transaction
|
63124
|
+
--------------------------------------------------------------------------
|
63125
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
63126
|
+
--------------------------------------------------------------------------
|
63127
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
63128
|
+
[1m[35m (0.1ms)[0m begin transaction
|
63129
|
+
------------------------------------------------------------------------------------
|
63130
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
63131
|
+
------------------------------------------------------------------------------------
|
63132
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63133
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63134
|
+
------------------------------------------------------------------------------------------------
|
63135
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
63136
|
+
------------------------------------------------------------------------------------------------
|
63137
|
+
[1m[36mSQL (0.4ms)[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
|
63138
|
+
[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')
|
63139
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63140
|
+
[1m[35m (0.1ms)[0m begin transaction
|
63141
|
+
----------------------------------------------------------
|
63142
|
+
ForestLiana::ResourcesGetterTest: test_Filter_after_x_days
|
63143
|
+
----------------------------------------------------------
|
63144
|
+
[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 FROM "trees" WHERE ("trees"."created_at" > '2018-09-11 01:49:38 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
63145
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" > '2018-09-11 01:49:38 UTC')
|
63146
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
63147
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63148
|
+
----------------------------------------------------------------
|
63149
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
63150
|
+
----------------------------------------------------------------
|
63151
|
+
[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.field DESC LIMIT 10 OFFSET 0[0m
|
63152
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "string_fields"
|
63153
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63154
|
+
[1m[35m (0.1ms)[0m begin transaction
|
63155
|
+
----------------------------------------------------------------
|
63156
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
63157
|
+
----------------------------------------------------------------
|
63158
|
+
[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 ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
63159
|
+
[1m[35m (0.1ms)[0m SELECT 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')
|
63160
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63161
|
+
[1m[35m (0.1ms)[0m begin transaction
|
63162
|
+
-------------------------------------------------------------------------------------------
|
63163
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
63164
|
+
-------------------------------------------------------------------------------------------
|
63165
|
+
[1m[36mSQL (0.1ms)[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
|
63166
|
+
[1m[35m (0.0ms)[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')
|
63167
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63168
|
+
[1m[35m (0.1ms)[0m begin transaction
|
63169
|
+
------------------------------------------------------------------------------------
|
63170
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
63171
|
+
------------------------------------------------------------------------------------
|
63172
|
+
[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 (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0[0m
|
63173
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')
|
63174
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
63175
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63176
|
+
-----------------------------------------------------------------
|
63177
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
63178
|
+
-----------------------------------------------------------------
|
63179
|
+
[1m[36mSQL (0.3ms)[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
|
63180
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
63181
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
63182
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63183
|
+
------------------------------------------------------------------------------------------------------
|
63184
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
63185
|
+
------------------------------------------------------------------------------------------------------
|
63186
|
+
[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 = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
63187
|
+
[1m[35m (0.2ms)[0m SELECT 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)')
|
63188
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
63189
|
+
[1m[35m (0.0ms)[0m begin transaction
|
63190
|
+
------------------------------------------------------------
|
63191
|
+
ForestLiana::ResourcesGetterTest: test_Filter_before_x_hours
|
63192
|
+
------------------------------------------------------------
|
63193
|
+
[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-09-11 01:49:38 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
63194
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" < '2018-09-11 01:49:38 UTC')
|
63195
|
+
[1m[36mOwner Load (0.0ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 2]]
|
63196
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
63197
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
63198
|
+
--------------------------------------------------------------------
|
63199
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
63200
|
+
--------------------------------------------------------------------
|
63201
|
+
[1m[35mSQL (0.7ms)[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
|
63202
|
+
[1m[36m (0.4ms)[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
|
63203
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
63204
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
63205
|
+
-----------------------------------------------------------------
|
63206
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
63207
|
+
-----------------------------------------------------------------
|
63208
|
+
[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.id DESC LIMIT 10 OFFSET 10
|
63209
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
63210
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
63211
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
63212
|
+
-----------------------------------------------------------------------
|
63213
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
63214
|
+
-----------------------------------------------------------------------
|
63215
|
+
[1m[35mSQL (0.2ms)[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
|
63216
|
+
[1m[36m (0.2ms)[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
|
63217
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
data/test/routing/route_test.rb
CHANGED
@@ -18,7 +18,7 @@ module ForestLiana
|
|
18
18
|
assert_routing({
|
19
19
|
method: 'post', path: 'sessions'
|
20
20
|
}, {
|
21
|
-
controller: 'forest_liana/sessions', action: '
|
21
|
+
controller: 'forest_liana/sessions', action: 'create_with_password'
|
22
22
|
})
|
23
23
|
assert_routing({
|
24
24
|
method: 'post', path: 'sessions-google'
|
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.11.
|
4
|
+
version: 2.11.13
|
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-09-
|
11
|
+
date: 2018-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|