forest_liana 2.11.1 → 2.11.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55492e66903c5ce1fb0cf11e861ab3a6a6d4ef7d
|
4
|
+
data.tar.gz: 1b07c8637cd3671a13383ee7acf0b60c561a98b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e438a450e747a983577a645c75647cc9be9ae67fcf1d35ebbffb229bb204f60eb1707e75525ffac624d931b58205fcedcf91a21d67395b561f0e9999c5abfb68
|
7
|
+
data.tar.gz: 866716b733eccf48cc30b75df2e1fa51c3ae6444be7c98dc222c6b06675500efd21375c717b10f9c3e11fca0652dabedec6ed7ced5efa4bc268747c84d8373a2
|
@@ -148,7 +148,14 @@ module ForestLiana
|
|
148
148
|
if model_association
|
149
149
|
model_name = model_association.class_name
|
150
150
|
# NOTICE: Join fields in case of model with self-references.
|
151
|
-
|
151
|
+
if fields[model_name]
|
152
|
+
fields[model_name] = [
|
153
|
+
fields[model_name],
|
154
|
+
relation_fields
|
155
|
+
].join(',').split(',').uniq.join(',')
|
156
|
+
else
|
157
|
+
fields[model_name] = relation_fields
|
158
|
+
end
|
152
159
|
end
|
153
160
|
end
|
154
161
|
fields
|
@@ -80,6 +80,7 @@ module ForestLiana::Collection
|
|
80
80
|
def has_many(name, opts, &block)
|
81
81
|
model.fields << opts.merge({
|
82
82
|
field: name,
|
83
|
+
:'is-virtual' => true,
|
83
84
|
:'is-searchable' => false,
|
84
85
|
type: ['String']
|
85
86
|
})
|
@@ -97,6 +98,7 @@ module ForestLiana::Collection
|
|
97
98
|
def belongs_to(name, opts, &block)
|
98
99
|
model.fields << opts.merge({
|
99
100
|
field: name,
|
101
|
+
:'is-virtual' => true,
|
100
102
|
:'is-searchable' => false,
|
101
103
|
type: 'String'
|
102
104
|
})
|
data/lib/forest_liana/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -59655,3 +59655,893 @@ ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribut
|
|
59655
59655
|
[1m[35mSQL (0.3ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", "---\n- test\n- test\n"], ["id", 1]]
|
59656
59656
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59657
59657
|
[1m[35m (0.5ms)[0m rollback transaction
|
59658
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
59659
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
59660
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
59661
|
+
FROM sqlite_master
|
59662
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
59663
|
+
UNION ALL
|
59664
|
+
SELECT sql
|
59665
|
+
FROM sqlite_temp_master
|
59666
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
59667
|
+
[0m
|
59668
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
59669
|
+
FROM sqlite_master
|
59670
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
59671
|
+
UNION ALL
|
59672
|
+
SELECT sql
|
59673
|
+
FROM sqlite_temp_master
|
59674
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
59675
|
+
|
59676
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
59677
|
+
FROM sqlite_master
|
59678
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
59679
|
+
UNION ALL
|
59680
|
+
SELECT sql
|
59681
|
+
FROM sqlite_temp_master
|
59682
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
59683
|
+
[0m
|
59684
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
59685
|
+
FROM sqlite_master
|
59686
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
59687
|
+
UNION ALL
|
59688
|
+
SELECT sql
|
59689
|
+
FROM sqlite_temp_master
|
59690
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
59691
|
+
|
59692
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
59693
|
+
FROM sqlite_master
|
59694
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
59695
|
+
UNION ALL
|
59696
|
+
SELECT sql
|
59697
|
+
FROM sqlite_temp_master
|
59698
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
59699
|
+
[0m
|
59700
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
59701
|
+
FROM sqlite_master
|
59702
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
59703
|
+
UNION ALL
|
59704
|
+
SELECT sql
|
59705
|
+
FROM sqlite_temp_master
|
59706
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
59707
|
+
|
59708
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
59709
|
+
FROM sqlite_master
|
59710
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
59711
|
+
UNION ALL
|
59712
|
+
SELECT sql
|
59713
|
+
FROM sqlite_temp_master
|
59714
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
59715
|
+
[0m
|
59716
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
59717
|
+
[1m[35m (0.1ms)[0m begin transaction
|
59718
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
59719
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
59720
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
59721
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
59722
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
59723
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
59724
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
59725
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
59726
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
59727
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
59728
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
59729
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "string_fields"
|
59730
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')[0m
|
59731
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')
|
59732
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')[0m
|
59733
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')
|
59734
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')[0m
|
59735
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')
|
59736
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')[0m
|
59737
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')
|
59738
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')[0m
|
59739
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')
|
59740
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')[0m
|
59741
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')
|
59742
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')[0m
|
59743
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')
|
59744
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')[0m
|
59745
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')
|
59746
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')[0m
|
59747
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')
|
59748
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')[0m
|
59749
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')
|
59750
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')[0m
|
59751
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')
|
59752
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')[0m
|
59753
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')
|
59754
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')[0m
|
59755
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')
|
59756
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')[0m
|
59757
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')
|
59758
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')[0m
|
59759
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')
|
59760
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
59761
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
59762
|
+
[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
|
59763
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
59764
|
+
[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
|
59765
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
59766
|
+
[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
|
59767
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
59768
|
+
[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
|
59769
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
59770
|
+
[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
|
59771
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
59772
|
+
[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
|
59773
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
59774
|
+
[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
|
59775
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
59776
|
+
[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
|
59777
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
59778
|
+
[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
|
59779
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
59780
|
+
[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
|
59781
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
59782
|
+
[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
|
59783
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
59784
|
+
[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
|
59785
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
59786
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (26, 26, 9)[0m
|
59787
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
59788
|
+
[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
|
59789
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
59790
|
+
[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
|
59791
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "trees"
|
59792
|
+
[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
|
59793
|
+
[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')
|
59794
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2013-04-11 12:00:00.000000', '2013-04-11 12:00:00.000000')[0m
|
59795
|
+
[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')
|
59796
|
+
[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
|
59797
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (6, 'Oak', 3, '2018-07-30 13:51:20.000000', '2018-07-30 13:51:20.000000')
|
59798
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (7, 'Sequoia', 1, '2018-07-30 13:51:20.000000', '2018-07-30 13:51:20.000000')[0m
|
59799
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (8, 'Fir', 1, '2018-07-30 13:51:20.000000', '2018-07-30 13:51:20.000000')
|
59800
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "has_one_fields"[0m
|
59801
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (1, 't', 0)
|
59802
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (2, 't', 0)[0m
|
59803
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (3, 't', 0)
|
59804
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (4, 't', 0)[0m
|
59805
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (5, 't', 0)
|
59806
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (6, 't', 0)[0m
|
59807
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (7, 't', 0)
|
59808
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (8, 't', 0)[0m
|
59809
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (9, 't', 0)
|
59810
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (10, 't', 0)[0m
|
59811
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (11, 't', 0)
|
59812
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (12, 't', 0)[0m
|
59813
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (13, 't', 0)
|
59814
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (14, 't', 0)[0m
|
59815
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (15, 't', 0)
|
59816
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (16, 't', 0)[0m
|
59817
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (17, 't', 0)
|
59818
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (18, 't', 0)[0m
|
59819
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (19, 't', 0)
|
59820
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (20, 't', 0)[0m
|
59821
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (21, 't', 0)
|
59822
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (22, 't', 0)[0m
|
59823
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (23, 't', 0)
|
59824
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (24, 't', 0)[0m
|
59825
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (25, 't', 0)
|
59826
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (26, 't', 0)[0m
|
59827
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (27, 't', 0)
|
59828
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (28, 't', 0)[0m
|
59829
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (29, 't', 0)
|
59830
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (30, 't', 1)[0m
|
59831
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "owners"
|
59832
|
+
[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
|
59833
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2018-05-02 09:00:00.000000', '2018-06-28 08:00:00.000000')
|
59834
|
+
[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
|
59835
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "has_many_fields"
|
59836
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
59837
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
59838
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
59839
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
59840
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
59841
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
59842
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
59843
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
59844
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
59845
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
59846
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
59847
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
59848
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
59849
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
59850
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
59851
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
59852
|
+
[1m[36m (5.7ms)[0m [1mcommit transaction[0m
|
59853
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59854
|
+
-----------------------------------
|
59855
|
+
ForestLiana::RouteTest: test_Routes
|
59856
|
+
-----------------------------------
|
59857
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
59858
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59859
|
+
--------------------------------------------------------------------------
|
59860
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
59861
|
+
--------------------------------------------------------------------------
|
59862
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
59863
|
+
[1m[35m (0.1ms)[0m begin transaction
|
59864
|
+
----------------------------------------------------------------------------------
|
59865
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
59866
|
+
----------------------------------------------------------------------------------
|
59867
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
59868
|
+
[1m[35m (0.1ms)[0m begin transaction
|
59869
|
+
-------------------------------------------------------------------------
|
59870
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
59871
|
+
-------------------------------------------------------------------------
|
59872
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
59873
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59874
|
+
---------------------------------------------------------------------------
|
59875
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
59876
|
+
---------------------------------------------------------------------------
|
59877
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
59878
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59879
|
+
-------------------------------------------------------------------------
|
59880
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
59881
|
+
-------------------------------------------------------------------------
|
59882
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
59883
|
+
[1m[35m (0.1ms)[0m begin transaction
|
59884
|
+
-----------------------------------------------------------
|
59885
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
59886
|
+
-----------------------------------------------------------
|
59887
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
59888
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59889
|
+
---------------------------------------------------------
|
59890
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
59891
|
+
---------------------------------------------------------
|
59892
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
59893
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59894
|
+
--------------------------------------------------------------------------
|
59895
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
59896
|
+
--------------------------------------------------------------------------
|
59897
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
59898
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59899
|
+
------------------------------------------------------------------------------------
|
59900
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
59901
|
+
------------------------------------------------------------------------------------
|
59902
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
59903
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59904
|
+
--------------------------------------------------------
|
59905
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
59906
|
+
--------------------------------------------------------
|
59907
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
59908
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59909
|
+
---------------------------------------------------------------------
|
59910
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
59911
|
+
---------------------------------------------------------------------
|
59912
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
59913
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59914
|
+
------------------------------------------------------------------------
|
59915
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
59916
|
+
------------------------------------------------------------------------
|
59917
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
59918
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59919
|
+
-----------------------------------------------------------------------------------------
|
59920
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_boolean_field
|
59921
|
+
-----------------------------------------------------------------------------------------
|
59922
|
+
[1m[36m (0.1ms)[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
|
59923
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
59924
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
59925
|
+
---------------------------------------------------------------------------------------
|
59926
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_foreign_key
|
59927
|
+
---------------------------------------------------------------------------------------
|
59928
|
+
[1m[35m (0.8ms)[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
|
59929
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
59930
|
+
[1m[35m (0.1ms)[0m begin transaction
|
59931
|
+
------------------------------------------------------------------
|
59932
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_page_1_size_15
|
59933
|
+
------------------------------------------------------------------
|
59934
|
+
[1m[36mOwner Load (0.2ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
59935
|
+
[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]]
|
59936
|
+
[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]]
|
59937
|
+
[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]]
|
59938
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
59939
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59940
|
+
-------------------------------------------------------------------------
|
59941
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_search_parameter
|
59942
|
+
-------------------------------------------------------------------------
|
59943
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
59944
|
+
[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]]
|
59945
|
+
[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]]
|
59946
|
+
[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]]
|
59947
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
59948
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59949
|
+
-----------------------------------------------------------------------
|
59950
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_sort_parameter
|
59951
|
+
-----------------------------------------------------------------------
|
59952
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
59953
|
+
[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]]
|
59954
|
+
[1m[36m (0.0ms)[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]]
|
59955
|
+
[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]]
|
59956
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
59957
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59958
|
+
---------------------------
|
59959
|
+
ForestLianaTest: test_truth
|
59960
|
+
---------------------------
|
59961
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
59962
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59963
|
+
------------------------------------------------------------------------------------------------------
|
59964
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
59965
|
+
------------------------------------------------------------------------------------------------------
|
59966
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
59967
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
59968
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59969
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
59970
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
59971
|
+
---------------------------------------------------------------------------------------------------
|
59972
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
59973
|
+
---------------------------------------------------------------------------------------------------
|
59974
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
59975
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
59976
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", nil], ["id", 1]]
|
59977
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59978
|
+
[1m[35m (2.4ms)[0m rollback transaction
|
59979
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
59980
|
+
------------------------------------------------------------------------------------------------------------
|
59981
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
59982
|
+
------------------------------------------------------------------------------------------------------------
|
59983
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
59984
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
59985
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", "---\n- test\n- test\n"], ["id", 1]]
|
59986
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
59987
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
59988
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
59989
|
+
---------------------------------------------------------------------------------------------------------
|
59990
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
59991
|
+
---------------------------------------------------------------------------------------------------------
|
59992
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
59993
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
59994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
59995
|
+
------------------------------------------------------------------------------------
|
59996
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
59997
|
+
------------------------------------------------------------------------------------
|
59998
|
+
[1m[36mSQL (0.6ms)[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
|
59999
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')
|
60000
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
60001
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60002
|
+
-----------------------------------------------------------------
|
60003
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
60004
|
+
-----------------------------------------------------------------
|
60005
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0[0m
|
60006
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "string_fields"
|
60007
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
60008
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60009
|
+
-----------------------------------------------------------------
|
60010
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
60011
|
+
-----------------------------------------------------------------
|
60012
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10[0m
|
60013
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "string_fields"
|
60014
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60015
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60016
|
+
-------------------------------------------------------------------------------------------
|
60017
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
60018
|
+
-------------------------------------------------------------------------------------------
|
60019
|
+
[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
|
60020
|
+
[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')
|
60021
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
60022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60023
|
+
------------------------------------------------------------------------------------------------------
|
60024
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
60025
|
+
------------------------------------------------------------------------------------------------------
|
60026
|
+
[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
|
60027
|
+
[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 = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')
|
60028
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
60029
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60030
|
+
------------------------------------------------------------
|
60031
|
+
ForestLiana::ResourcesGetterTest: test_Filter_before_x_hours
|
60032
|
+
------------------------------------------------------------
|
60033
|
+
[1m[36mSQL (0.6ms)[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-07-30 13:50:20 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
60034
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" < '2018-07-30 13:50:20 UTC')
|
60035
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 2]]
|
60036
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
60037
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60038
|
+
----------------------------------------------------------------
|
60039
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
60040
|
+
----------------------------------------------------------------
|
60041
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.field DESC LIMIT 10 OFFSET 0
|
60042
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
60043
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60044
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60045
|
+
----------------------------------------------------------
|
60046
|
+
ForestLiana::ResourcesGetterTest: test_Filter_after_x_days
|
60047
|
+
----------------------------------------------------------
|
60048
|
+
[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 FROM "trees" WHERE ("trees"."created_at" > '2018-07-30 13:50:20 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
60049
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" > '2018-07-30 13:50:20 UTC')[0m
|
60050
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
60051
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60052
|
+
--------------------------------------------------------------------
|
60053
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
60054
|
+
--------------------------------------------------------------------
|
60055
|
+
[1m[35mSQL (0.3ms)[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
|
60056
|
+
[1m[36m (0.2ms)[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
|
60057
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
60058
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60059
|
+
------------------------------------------------------------------------------------------------
|
60060
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
60061
|
+
------------------------------------------------------------------------------------------------
|
60062
|
+
[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 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
|
60063
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC')[0m
|
60064
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60065
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60066
|
+
----------------------------------------------------------------
|
60067
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
60068
|
+
----------------------------------------------------------------
|
60069
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
60070
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier')[0m
|
60071
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
60072
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
60073
|
+
-----------------------------------------------------------------------
|
60074
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
60075
|
+
-----------------------------------------------------------------------
|
60076
|
+
[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
|
60077
|
+
[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
|
60078
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60079
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
60080
|
+
-------------------------------------------------------------------------------------------------
|
60081
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_enum_field
|
60082
|
+
-------------------------------------------------------------------------------------------------
|
60083
|
+
[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')
|
60084
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
60085
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60086
|
+
----------------------------------------------------------------------------------------------------
|
60087
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_integer_field
|
60088
|
+
----------------------------------------------------------------------------------------------------
|
60089
|
+
[1m[36m (0.1ms)[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
|
60090
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60091
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
60092
|
+
----------------------------------------------------------------------------------------------------
|
60093
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_boolean_field
|
60094
|
+
----------------------------------------------------------------------------------------------------
|
60095
|
+
[1m[35m (0.1ms)[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)
|
60096
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
60097
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60098
|
+
-----------------------------------------------------------------------------
|
60099
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
60100
|
+
-----------------------------------------------------------------------------
|
60101
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
60102
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
60103
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
60104
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
60105
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
60106
|
+
FROM sqlite_master
|
60107
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
60108
|
+
UNION ALL
|
60109
|
+
SELECT sql
|
60110
|
+
FROM sqlite_temp_master
|
60111
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
60112
|
+
[0m
|
60113
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
60114
|
+
FROM sqlite_master
|
60115
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
60116
|
+
UNION ALL
|
60117
|
+
SELECT sql
|
60118
|
+
FROM sqlite_temp_master
|
60119
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
60120
|
+
|
60121
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
60122
|
+
FROM sqlite_master
|
60123
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
60124
|
+
UNION ALL
|
60125
|
+
SELECT sql
|
60126
|
+
FROM sqlite_temp_master
|
60127
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
60128
|
+
[0m
|
60129
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
60130
|
+
FROM sqlite_master
|
60131
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
60132
|
+
UNION ALL
|
60133
|
+
SELECT sql
|
60134
|
+
FROM sqlite_temp_master
|
60135
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
60136
|
+
|
60137
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
60138
|
+
FROM sqlite_master
|
60139
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
60140
|
+
UNION ALL
|
60141
|
+
SELECT sql
|
60142
|
+
FROM sqlite_temp_master
|
60143
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
60144
|
+
[0m
|
60145
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
60146
|
+
FROM sqlite_master
|
60147
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
60148
|
+
UNION ALL
|
60149
|
+
SELECT sql
|
60150
|
+
FROM sqlite_temp_master
|
60151
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
60152
|
+
|
60153
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
60154
|
+
FROM sqlite_master
|
60155
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
60156
|
+
UNION ALL
|
60157
|
+
SELECT sql
|
60158
|
+
FROM sqlite_temp_master
|
60159
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
60160
|
+
[0m
|
60161
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
60162
|
+
[1m[35m (0.2ms)[0m begin transaction
|
60163
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
60164
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
60165
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
60166
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
60167
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
60168
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
60169
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
60170
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
60171
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
60172
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
60173
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
60174
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "string_fields"
|
60175
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')[0m
|
60176
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')
|
60177
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')[0m
|
60178
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')
|
60179
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')[0m
|
60180
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')
|
60181
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')[0m
|
60182
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')
|
60183
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')[0m
|
60184
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')
|
60185
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')[0m
|
60186
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')
|
60187
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')[0m
|
60188
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')
|
60189
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')[0m
|
60190
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')
|
60191
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')[0m
|
60192
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')
|
60193
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')[0m
|
60194
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')
|
60195
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')[0m
|
60196
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')
|
60197
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')[0m
|
60198
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')
|
60199
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')[0m
|
60200
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')
|
60201
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')[0m
|
60202
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')
|
60203
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')[0m
|
60204
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')
|
60205
|
+
[1m[36mFixture Delete (1.1ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
60206
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
60207
|
+
[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
|
60208
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
60209
|
+
[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
|
60210
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
60211
|
+
[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
|
60212
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
60213
|
+
[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
|
60214
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
60215
|
+
[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
|
60216
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
60217
|
+
[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
|
60218
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
60219
|
+
[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
|
60220
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
60221
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (16, 16, 6)[0m
|
60222
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
60223
|
+
[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
|
60224
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
60225
|
+
[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
|
60226
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
60227
|
+
[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
|
60228
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
60229
|
+
[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
|
60230
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
60231
|
+
[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
|
60232
|
+
[1m[35mFixture Insert (3.8ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
60233
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (28, 28, 10)[0m
|
60234
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
60235
|
+
[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
|
60236
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "trees"
|
60237
|
+
[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
|
60238
|
+
[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')
|
60239
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2013-04-11 12:00:00.000000', '2013-04-11 12:00:00.000000')[0m
|
60240
|
+
[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')
|
60241
|
+
[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
|
60242
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (6, 'Oak', 3, '2018-07-30 19:04:33.000000', '2018-07-30 19:04:33.000000')
|
60243
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (7, 'Sequoia', 1, '2018-07-30 19:04:33.000000', '2018-07-30 19:04:33.000000')[0m
|
60244
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (8, 'Fir', 1, '2018-07-30 19:04:33.000000', '2018-07-30 19:04:33.000000')
|
60245
|
+
[1m[36mFixture Delete (2.4ms)[0m [1mDELETE FROM "has_one_fields"[0m
|
60246
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (1, 't', 0)
|
60247
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (2, 't', 0)[0m
|
60248
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (3, 't', 0)
|
60249
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (4, 't', 0)[0m
|
60250
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (5, 't', 0)
|
60251
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (6, 't', 0)[0m
|
60252
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (7, 't', 0)
|
60253
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (8, 't', 0)[0m
|
60254
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (9, 't', 0)
|
60255
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (10, 't', 0)[0m
|
60256
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (11, 't', 0)
|
60257
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (12, 't', 0)[0m
|
60258
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (13, 't', 0)
|
60259
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (14, 't', 0)[0m
|
60260
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (15, 't', 0)
|
60261
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (16, 't', 0)[0m
|
60262
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (17, 't', 0)
|
60263
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (18, 't', 0)[0m
|
60264
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (19, 't', 0)
|
60265
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (20, 't', 0)[0m
|
60266
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (21, 't', 0)
|
60267
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (22, 't', 0)[0m
|
60268
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (23, 't', 0)
|
60269
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (24, 't', 0)[0m
|
60270
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (25, 't', 0)
|
60271
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (26, 't', 0)[0m
|
60272
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (27, 't', 0)
|
60273
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (28, 't', 0)[0m
|
60274
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (29, 't', 0)
|
60275
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (30, 't', 1)[0m
|
60276
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "owners"
|
60277
|
+
[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
|
60278
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2018-05-02 09:00:00.000000', '2018-06-28 08:00:00.000000')
|
60279
|
+
[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
|
60280
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "has_many_fields"
|
60281
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
60282
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
60283
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
60284
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
60285
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
60286
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
60287
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
60288
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
60289
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
60290
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
60291
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
60292
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
60293
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
60294
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
60295
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
60296
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
60297
|
+
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
60298
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60299
|
+
---------------------------
|
60300
|
+
ForestLianaTest: test_truth
|
60301
|
+
---------------------------
|
60302
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
60303
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60304
|
+
----------------------------------------------------------------------------------------------------
|
60305
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_integer_field
|
60306
|
+
----------------------------------------------------------------------------------------------------
|
60307
|
+
[1m[36m (0.4ms)[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
|
60308
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
60309
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
60310
|
+
-----------------------------------------------------------------------------
|
60311
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
60312
|
+
-----------------------------------------------------------------------------
|
60313
|
+
[1m[35m (0.4ms)[0m SELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)
|
60314
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
60315
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60316
|
+
----------------------------------------------------------------------------------------------------
|
60317
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_boolean_field
|
60318
|
+
----------------------------------------------------------------------------------------------------
|
60319
|
+
[1m[36m (0.5ms)[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
|
60320
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60321
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60322
|
+
-------------------------------------------------------------------------------------------------
|
60323
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_enum_field
|
60324
|
+
-------------------------------------------------------------------------------------------------
|
60325
|
+
[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')
|
60326
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
60327
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60328
|
+
---------------------------------------------------------------------------------------
|
60329
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_foreign_key
|
60330
|
+
---------------------------------------------------------------------------------------
|
60331
|
+
[1m[36m (0.8ms)[0m [1mSELECT COUNT(DISTINCT "belongs_to_fields"."id") AS count_id, belongs_to_fields.has_one_field_id AS belongs_to_fields_has_one_field_id FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" GROUP BY belongs_to_fields.has_one_field_id ORDER BY count_id DESC[0m
|
60332
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
60333
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
60334
|
+
-----------------------------------------------------------------------------------------
|
60335
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_boolean_field
|
60336
|
+
-----------------------------------------------------------------------------------------
|
60337
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) AS count_all, boolean_fields.field AS boolean_fields_field FROM "boolean_fields" GROUP BY boolean_fields.field ORDER BY count_all DESC
|
60338
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
60339
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60340
|
+
-------------------------------------------------------------------------
|
60341
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_search_parameter
|
60342
|
+
-------------------------------------------------------------------------
|
60343
|
+
[1m[36mOwner Load (0.2ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
60344
|
+
[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]]
|
60345
|
+
[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]]
|
60346
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
60347
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60348
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60349
|
+
------------------------------------------------------------------
|
60350
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_page_1_size_15
|
60351
|
+
------------------------------------------------------------------
|
60352
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
60353
|
+
[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]]
|
60354
|
+
[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]]
|
60355
|
+
[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]]
|
60356
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
60357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60358
|
+
-----------------------------------------------------------------------
|
60359
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_sort_parameter
|
60360
|
+
-----------------------------------------------------------------------
|
60361
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
60362
|
+
[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]]
|
60363
|
+
[1m[36m (0.3ms)[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]]
|
60364
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY trees.id DESC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
60365
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60366
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60367
|
+
-----------------------------------
|
60368
|
+
ForestLiana::RouteTest: test_Routes
|
60369
|
+
-----------------------------------
|
60370
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60371
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60372
|
+
-------------------------------------------------------------------------------------------
|
60373
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
60374
|
+
-------------------------------------------------------------------------------------------
|
60375
|
+
[1m[36mSQL (0.3ms)[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
|
60376
|
+
[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')
|
60377
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60378
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60379
|
+
-----------------------------------------------------------------
|
60380
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
60381
|
+
-----------------------------------------------------------------
|
60382
|
+
[1m[36mSQL (0.2ms)[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
|
60383
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
60384
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60385
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60386
|
+
------------------------------------------------------------------------------------------------
|
60387
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
60388
|
+
------------------------------------------------------------------------------------------------
|
60389
|
+
[1m[36mSQL (0.8ms)[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
|
60390
|
+
[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 BETWEEN '2017-01-01 08:00:00 UTC' AND '2018-01-01 07:59:59 UTC')
|
60391
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60392
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60393
|
+
--------------------------------------------------------------------
|
60394
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
60395
|
+
--------------------------------------------------------------------
|
60396
|
+
[1m[36mSQL (1.0ms)[0m [1mSELECT "has_one_fields"."id" AS t0_r0, "has_one_fields"."checked" AS t0_r1, "has_one_fields"."status" AS t0_r2, "belongs_to_fields"."id" AS t1_r0, "belongs_to_fields"."has_one_field_id" AS t1_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t1_r2, "belongs_to_fields"."has_many_field_id" AS t1_r3, "belongs_to_class_name_fields"."id" AS t2_r0, "belongs_to_class_name_fields"."foo_id" AS t2_r1 FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id" ORDER BY "belongs_to_fields"."id" DESC LIMIT 10 OFFSET 0[0m
|
60397
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "has_one_fields"."id") FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id"
|
60398
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60399
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60400
|
+
------------------------------------------------------------------------------------
|
60401
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
60402
|
+
------------------------------------------------------------------------------------
|
60403
|
+
[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.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0[0m
|
60404
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')
|
60405
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60406
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60407
|
+
----------------------------------------------------------------
|
60408
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
60409
|
+
----------------------------------------------------------------
|
60410
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "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
|
60411
|
+
[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')
|
60412
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
60413
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60414
|
+
----------------------------------------------------------------
|
60415
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
60416
|
+
----------------------------------------------------------------
|
60417
|
+
[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.field DESC LIMIT 10 OFFSET 0[0m
|
60418
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
60419
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60420
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60421
|
+
-----------------------------------------------------------------
|
60422
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
60423
|
+
-----------------------------------------------------------------
|
60424
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10[0m
|
60425
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
60426
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60427
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60428
|
+
------------------------------------------------------------------------------------------------------
|
60429
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
60430
|
+
------------------------------------------------------------------------------------------------------
|
60431
|
+
[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
|
60432
|
+
[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 = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')
|
60433
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
60434
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60435
|
+
----------------------------------------------------------
|
60436
|
+
ForestLiana::ResourcesGetterTest: test_Filter_after_x_days
|
60437
|
+
----------------------------------------------------------
|
60438
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" > '2018-07-30 19:03:33 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
60439
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" > '2018-07-30 19:03:33 UTC')
|
60440
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
60441
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60442
|
+
------------------------------------------------------------
|
60443
|
+
ForestLiana::ResourcesGetterTest: test_Filter_before_x_hours
|
60444
|
+
------------------------------------------------------------
|
60445
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" < '2018-07-30 19:03:33 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
60446
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" < '2018-07-30 19:03:33 UTC')
|
60447
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 2]]
|
60448
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60449
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60450
|
+
-----------------------------------------------------------------------
|
60451
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
60452
|
+
-----------------------------------------------------------------------
|
60453
|
+
[1m[35mSQL (0.3ms)[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
|
60454
|
+
[1m[36m (0.3ms)[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
|
60455
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
60456
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
60457
|
+
---------------------------------------------------------------------
|
60458
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
60459
|
+
---------------------------------------------------------------------
|
60460
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
60462
|
+
---------------------------------------------------------------------------
|
60463
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
60464
|
+
---------------------------------------------------------------------------
|
60465
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60466
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60467
|
+
------------------------------------------------------------------------------------
|
60468
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
60469
|
+
------------------------------------------------------------------------------------
|
60470
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60471
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60472
|
+
-----------------------------------------------------------
|
60473
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
60474
|
+
-----------------------------------------------------------
|
60475
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
60476
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60477
|
+
-------------------------------------------------------------------------
|
60478
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
60479
|
+
-------------------------------------------------------------------------
|
60480
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60481
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60482
|
+
------------------------------------------------------------------------
|
60483
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
60484
|
+
------------------------------------------------------------------------
|
60485
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
60486
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60487
|
+
---------------------------------------------------------
|
60488
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
60489
|
+
---------------------------------------------------------
|
60490
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60491
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60492
|
+
-------------------------------------------------------------------------
|
60493
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
60494
|
+
-------------------------------------------------------------------------
|
60495
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60496
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60497
|
+
--------------------------------------------------------------------------
|
60498
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
60499
|
+
--------------------------------------------------------------------------
|
60500
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60501
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60502
|
+
--------------------------------------------------------------------------
|
60503
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
60504
|
+
--------------------------------------------------------------------------
|
60505
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60506
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60507
|
+
--------------------------------------------------------
|
60508
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
60509
|
+
--------------------------------------------------------
|
60510
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60511
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60512
|
+
----------------------------------------------------------------------------------
|
60513
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
60514
|
+
----------------------------------------------------------------------------------
|
60515
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
60516
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
60517
|
+
------------------------------------------------------------------------------------------------------------
|
60518
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
60519
|
+
------------------------------------------------------------------------------------------------------------
|
60520
|
+
[1m[35mSerializeField Load (0.2ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
60521
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
60522
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", "---\n- test\n- test\n"], ["id", 1]]
|
60523
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60524
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
60525
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60526
|
+
---------------------------------------------------------------------------------------------------------
|
60527
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
60528
|
+
---------------------------------------------------------------------------------------------------------
|
60529
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
60530
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
60531
|
+
[1m[35m (0.0ms)[0m begin transaction
|
60532
|
+
------------------------------------------------------------------------------------------------------
|
60533
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
60534
|
+
------------------------------------------------------------------------------------------------------
|
60535
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
60536
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60537
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60538
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
60539
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60540
|
+
---------------------------------------------------------------------------------------------------
|
60541
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
60542
|
+
---------------------------------------------------------------------------------------------------
|
60543
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
60544
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
60545
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", nil], ["id", 1]]
|
60546
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
60547
|
+
[1m[35m (1.1ms)[0m rollback transaction
|