forest_liana 2.14.2 → 2.14.3

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