forest_liana 1.6.12 → 1.6.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/forest_liana/resources_controller.rb +4 -4
- data/app/deserializers/forest_liana/resource_deserializer.rb +3 -1
- data/lib/forest_liana/bootstraper.rb +8 -1
- data/lib/forest_liana/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +4049 -0
- data/test/services/forest_liana/resource_updater_test.rb +18 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d016e67c7749916944193b1c240e9460e54a22d
|
4
|
+
data.tar.gz: fd33bcc493f145f27c7e535206be2a2979ebec3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5a016b5fc428c00cdc7734e61608222d07ab9fbe3e023d4b99e8acd2f034c1b7e16e01408874d83a86bcedf8c08f0bd5a57d4135d50b8765a1232754fd85849
|
7
|
+
data.tar.gz: 3dc4408e8607d4fa3f1d1495f5c0ff65a63b4fa545fc6ab68078e97ed3bdf75b7ce031b2de697fb8f3bfb6e813f7b4b7bcf97d63c40ca7c82570984b76f21124
|
@@ -14,7 +14,7 @@ module ForestLiana
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def index
|
17
|
-
getter = ResourcesGetter.new(@resource, params)
|
17
|
+
getter = ForestLiana::ResourcesGetter.new(@resource, params)
|
18
18
|
getter.perform
|
19
19
|
|
20
20
|
render serializer: nil, json: serialize_models(getter.records,
|
@@ -24,7 +24,7 @@ module ForestLiana
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def show
|
27
|
-
getter = ResourceGetter.new(@resource, params)
|
27
|
+
getter = ForestLiana::ResourceGetter.new(@resource, params)
|
28
28
|
getter.perform
|
29
29
|
|
30
30
|
render serializer: nil, json:
|
@@ -32,7 +32,7 @@ module ForestLiana
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def create
|
35
|
-
creator = ResourceCreator.new(@resource, params)
|
35
|
+
creator = ForestLiana::ResourceCreator.new(@resource, params)
|
36
36
|
creator.perform
|
37
37
|
|
38
38
|
if creator.errors
|
@@ -48,7 +48,7 @@ module ForestLiana
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def update
|
51
|
-
updater = ResourceUpdater.new(@resource, params)
|
51
|
+
updater = ForestLiana::ResourceUpdater.new(@resource, params)
|
52
52
|
updater.perform
|
53
53
|
|
54
54
|
if updater.errors
|
@@ -33,7 +33,9 @@ module ForestLiana
|
|
33
33
|
attributes_serialized.each do |attribute, serializer|
|
34
34
|
value = @params[:data][:attributes][attribute]
|
35
35
|
begin
|
36
|
-
@attributes
|
36
|
+
if @attributes.has_key?(attribute)
|
37
|
+
@attributes[attribute] = value.nil? ? nil : JSON::parse(value)
|
38
|
+
end
|
37
39
|
rescue
|
38
40
|
message = "Bad format for '#{attribute}' attribute value."
|
39
41
|
raise ForestLiana::Errors::SerializeAttributeBadFormat.new(message)
|
@@ -150,7 +150,14 @@ module ForestLiana
|
|
150
150
|
json = JSONAPI::Serializer.serialize(ForestLiana.apimap, {
|
151
151
|
is_collection: true,
|
152
152
|
include: ['actions', 'segments'],
|
153
|
-
meta: {
|
153
|
+
meta: {
|
154
|
+
liana: 'forest-rails',
|
155
|
+
liana_version: liana_version,
|
156
|
+
framework_version: Gem.loaded_specs["rails"].version.version,
|
157
|
+
orm_version: Gem.loaded_specs["activerecord"].version.version,
|
158
|
+
database_type: ActiveRecord::Base.connection
|
159
|
+
.instance_values["config"][:adapter]
|
160
|
+
}
|
154
161
|
})
|
155
162
|
|
156
163
|
begin
|
data/lib/forest_liana/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -52423,3 +52423,4052 @@ ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an
|
|
52423
52423
|
[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
|
52424
52424
|
[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)')
|
52425
52425
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
52426
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
52427
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.7ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
52428
|
+
[1m[36m (0.5ms)[0m [1m SELECT sql
|
52429
|
+
FROM sqlite_master
|
52430
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
52431
|
+
UNION ALL
|
52432
|
+
SELECT sql
|
52433
|
+
FROM sqlite_temp_master
|
52434
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
52435
|
+
[0m
|
52436
|
+
[1m[35m (1.0ms)[0m SELECT sql
|
52437
|
+
FROM sqlite_master
|
52438
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
52439
|
+
UNION ALL
|
52440
|
+
SELECT sql
|
52441
|
+
FROM sqlite_temp_master
|
52442
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
52443
|
+
|
52444
|
+
[1m[36m (0.4ms)[0m [1m SELECT sql
|
52445
|
+
FROM sqlite_master
|
52446
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
52447
|
+
UNION ALL
|
52448
|
+
SELECT sql
|
52449
|
+
FROM sqlite_temp_master
|
52450
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
52451
|
+
[0m
|
52452
|
+
[1m[35m (0.4ms)[0m SELECT sql
|
52453
|
+
FROM sqlite_master
|
52454
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
52455
|
+
UNION ALL
|
52456
|
+
SELECT sql
|
52457
|
+
FROM sqlite_temp_master
|
52458
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
52459
|
+
|
52460
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
52461
|
+
FROM sqlite_master
|
52462
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
52463
|
+
UNION ALL
|
52464
|
+
SELECT sql
|
52465
|
+
FROM sqlite_temp_master
|
52466
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
52467
|
+
[0m
|
52468
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
52469
|
+
FROM sqlite_master
|
52470
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
52471
|
+
UNION ALL
|
52472
|
+
SELECT sql
|
52473
|
+
FROM sqlite_temp_master
|
52474
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
52475
|
+
|
52476
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
52477
|
+
FROM sqlite_master
|
52478
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
52479
|
+
UNION ALL
|
52480
|
+
SELECT sql
|
52481
|
+
FROM sqlite_temp_master
|
52482
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
52483
|
+
[0m
|
52484
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
52485
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52486
|
+
[1m[36mFixture Delete (1.4ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
52487
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
52488
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
52489
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
52490
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
52491
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
52492
|
+
[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
|
52493
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
52494
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
52495
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
52496
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
52497
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
52498
|
+
[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
|
52499
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
52500
|
+
[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
|
52501
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
52502
|
+
[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
|
52503
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
52504
|
+
[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
|
52505
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
52506
|
+
[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
|
52507
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
52508
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
52509
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
52510
|
+
[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
|
52511
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
52512
|
+
[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
|
52513
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
52514
|
+
[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
|
52515
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
52516
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
52517
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "has_many_fields"
|
52518
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
52519
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
52520
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
52521
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
52522
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
52523
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
52524
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
52525
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
52526
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
52527
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
52528
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
52529
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
52530
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
52531
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
52532
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
52533
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
52534
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
52535
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
52536
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
52537
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
52538
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
52539
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "has_one_fields"
|
52540
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (1)[0m
|
52541
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (2)
|
52542
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (3)[0m
|
52543
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (4)
|
52544
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (5)[0m
|
52545
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (6)
|
52546
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (7)[0m
|
52547
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (8)
|
52548
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (9)[0m
|
52549
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (10)
|
52550
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (11)[0m
|
52551
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (12)
|
52552
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (13)[0m
|
52553
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (14)
|
52554
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (15)[0m
|
52555
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (16)
|
52556
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (17)[0m
|
52557
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (18)
|
52558
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (19)[0m
|
52559
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (20)
|
52560
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (21)[0m
|
52561
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (22)
|
52562
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (23)[0m
|
52563
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (24)
|
52564
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (25)[0m
|
52565
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (26)
|
52566
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (27)[0m
|
52567
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (28)
|
52568
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (29)[0m
|
52569
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (30)
|
52570
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "owners"[0m
|
52571
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2016-05-30 09:00:00.000000', '2017-06-27 20:00:00.000000')
|
52572
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2017-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
52573
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2015-05-02 09:00:00.000000', '2016-06-28 08:00:00.000000')
|
52574
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
52575
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
52576
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
52577
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
52578
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
52579
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
52580
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "string_fields"[0m
|
52581
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')
|
52582
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')[0m
|
52583
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')
|
52584
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')[0m
|
52585
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')
|
52586
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')[0m
|
52587
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')
|
52588
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')[0m
|
52589
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')
|
52590
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')[0m
|
52591
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')
|
52592
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')[0m
|
52593
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')
|
52594
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')[0m
|
52595
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')
|
52596
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')[0m
|
52597
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')
|
52598
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')[0m
|
52599
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')
|
52600
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')[0m
|
52601
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')
|
52602
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')[0m
|
52603
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')
|
52604
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')[0m
|
52605
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')
|
52606
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')[0m
|
52607
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')
|
52608
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')[0m
|
52609
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')
|
52610
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')[0m
|
52611
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "trees"
|
52612
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2010-02-11 11:00:00.000000', '2010-02-11 11:00:00.000000')[0m
|
52613
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2010-02-15 21:00:00.000000', '2010-02-15 21:00:00.000000')
|
52614
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2012-04-11 12:00:00.000000', '2012-04-11 12:00:00.000000')[0m
|
52615
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')
|
52616
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2014-06-18 09:00:00.000000', '2014-06-18 09:00:00.000000')[0m
|
52617
|
+
[1m[35m (1.4ms)[0m commit transaction
|
52618
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52619
|
+
---------------------------
|
52620
|
+
ForestLianaTest: test_truth
|
52621
|
+
---------------------------
|
52622
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
52623
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
52624
|
+
---------------------------------------------------------------------------------------------------------
|
52625
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
52626
|
+
---------------------------------------------------------------------------------------------------------
|
52627
|
+
[1m[35mSerializeField Load (0.7ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
52628
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52629
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52630
|
+
------------------------------------------------------------------------------------------------------
|
52631
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
52632
|
+
------------------------------------------------------------------------------------------------------
|
52633
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
52634
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
52635
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
52636
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
52637
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
52638
|
+
------------------------------------------------------------------------------------------------------------
|
52639
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
52640
|
+
------------------------------------------------------------------------------------------------------------
|
52641
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
52642
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
52643
|
+
[1m[35mSQL (1.1ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", "---\n- test\n- test\n"], ["id", 1]]
|
52644
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
52645
|
+
[1m[35m (2.7ms)[0m rollback transaction
|
52646
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52647
|
+
-----------------------------------------------------------------
|
52648
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
52649
|
+
-----------------------------------------------------------------
|
52650
|
+
[1m[35mStringField Load (0.2ms)[0m SELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10
|
52651
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
52652
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
52653
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
52654
|
+
------------------------------------------------------------------------------------------------------
|
52655
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
52656
|
+
------------------------------------------------------------------------------------------------------
|
52657
|
+
[1m[35mTree Load (0.3ms)[0m SELECT "trees".* FROM "trees" INNER 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
|
52658
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "trees" INNER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')[0m
|
52659
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
52660
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52661
|
+
--------------------------------------------------------------------
|
52662
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
52663
|
+
--------------------------------------------------------------------
|
52664
|
+
[1m[35mHasOneField Load (0.3ms)[0m SELECT "has_one_fields".* FROM "has_one_fields" ORDER BY "belongs_to_fields"."id" DESC LIMIT 10 OFFSET 0
|
52665
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52666
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52667
|
+
------------------------------------------------------------------------------------
|
52668
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
52669
|
+
------------------------------------------------------------------------------------
|
52670
|
+
[1m[36mTree Load (0.3ms)[0m [1mSELECT "trees".* FROM "trees" INNER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0[0m
|
52671
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "trees" INNER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')
|
52672
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52673
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52674
|
+
----------------------------------------------------------------
|
52675
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
52676
|
+
----------------------------------------------------------------
|
52677
|
+
[1m[36mStringField Load (0.3ms)[0m [1mSELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.field DESC LIMIT 10 OFFSET 0[0m
|
52678
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
52679
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52680
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52681
|
+
-----------------------------------------------------------------------
|
52682
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
52683
|
+
-----------------------------------------------------------------------
|
52684
|
+
[1m[36mBelongsToField Load (0.3ms)[0m [1mSELECT "belongs_to_fields".* FROM "belongs_to_fields" ORDER BY "has_one_fields"."id" ASC LIMIT 10 OFFSET 0[0m
|
52685
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
52686
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
52687
|
+
-------------------------------------------------------------------------------------------
|
52688
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
52689
|
+
-------------------------------------------------------------------------------------------
|
52690
|
+
[1m[35mOwner Load (0.3ms)[0m SELECT "owners".* FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0
|
52691
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
52692
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
52693
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52694
|
+
-----------------------------------------------------------------
|
52695
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
52696
|
+
-----------------------------------------------------------------
|
52697
|
+
[1m[35mStringField Load (0.2ms)[0m SELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0
|
52698
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
52699
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
52700
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52701
|
+
------------------------------------------------------------------------------------------------
|
52702
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
52703
|
+
------------------------------------------------------------------------------------------------
|
52704
|
+
[1m[35mTree Load (0.3ms)[0m SELECT "trees".* FROM "trees" INNER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
52705
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "trees" INNER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
52706
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
52707
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52708
|
+
----------------------------------------------------------------
|
52709
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
52710
|
+
----------------------------------------------------------------
|
52711
|
+
[1m[35mTree Load (0.2ms)[0m SELECT "trees".* FROM "trees" INNER 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
|
52712
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "trees" INNER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier')[0m
|
52713
|
+
[1m[35mOwner Load (0.2ms)[0m SELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1 [["id", 2]]
|
52714
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52715
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52716
|
+
------------------------------------------------------------------------------------
|
52717
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
52718
|
+
------------------------------------------------------------------------------------
|
52719
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52720
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52721
|
+
---------------------------------------------------------
|
52722
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
52723
|
+
---------------------------------------------------------
|
52724
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52725
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52726
|
+
-----------------------------------------------------------
|
52727
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
52728
|
+
-----------------------------------------------------------
|
52729
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
52730
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52731
|
+
------------------------------------------------------------------------
|
52732
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
52733
|
+
------------------------------------------------------------------------
|
52734
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52735
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52736
|
+
---------------------------------------------------------------------
|
52737
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
52738
|
+
---------------------------------------------------------------------
|
52739
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52740
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52741
|
+
-------------------------------------------------------------------------
|
52742
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
52743
|
+
-------------------------------------------------------------------------
|
52744
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52745
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52746
|
+
---------------------------------------------------------------------------
|
52747
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
52748
|
+
---------------------------------------------------------------------------
|
52749
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
52750
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52751
|
+
--------------------------------------------------------------------------
|
52752
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
52753
|
+
--------------------------------------------------------------------------
|
52754
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52755
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52756
|
+
--------------------------------------------------------------------------
|
52757
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
52758
|
+
--------------------------------------------------------------------------
|
52759
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52760
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52761
|
+
-------------------------------------------------------------------------
|
52762
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
52763
|
+
-------------------------------------------------------------------------
|
52764
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52765
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52766
|
+
----------------------------------------------------------------------------------
|
52767
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
52768
|
+
----------------------------------------------------------------------------------
|
52769
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52770
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52771
|
+
--------------------------------------------------------
|
52772
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
52773
|
+
--------------------------------------------------------
|
52774
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52775
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52776
|
+
--------------------------------------------------------------------------------------------
|
52777
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_field
|
52778
|
+
--------------------------------------------------------------------------------------------
|
52779
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')[0m
|
52780
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
52781
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52782
|
+
-----------------------------------------------------------------------------
|
52783
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
52784
|
+
-----------------------------------------------------------------------------
|
52785
|
+
[1m[35m (0.4ms)[0m SELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)
|
52786
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52787
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
52788
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
52789
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
52790
|
+
FROM sqlite_master
|
52791
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
52792
|
+
UNION ALL
|
52793
|
+
SELECT sql
|
52794
|
+
FROM sqlite_temp_master
|
52795
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
52796
|
+
[0m
|
52797
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
52798
|
+
FROM sqlite_master
|
52799
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
52800
|
+
UNION ALL
|
52801
|
+
SELECT sql
|
52802
|
+
FROM sqlite_temp_master
|
52803
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
52804
|
+
|
52805
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
52806
|
+
FROM sqlite_master
|
52807
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
52808
|
+
UNION ALL
|
52809
|
+
SELECT sql
|
52810
|
+
FROM sqlite_temp_master
|
52811
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
52812
|
+
[0m
|
52813
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
52814
|
+
FROM sqlite_master
|
52815
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
52816
|
+
UNION ALL
|
52817
|
+
SELECT sql
|
52818
|
+
FROM sqlite_temp_master
|
52819
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
52820
|
+
|
52821
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
52822
|
+
FROM sqlite_master
|
52823
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
52824
|
+
UNION ALL
|
52825
|
+
SELECT sql
|
52826
|
+
FROM sqlite_temp_master
|
52827
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
52828
|
+
[0m
|
52829
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
52830
|
+
FROM sqlite_master
|
52831
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
52832
|
+
UNION ALL
|
52833
|
+
SELECT sql
|
52834
|
+
FROM sqlite_temp_master
|
52835
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
52836
|
+
|
52837
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
52838
|
+
FROM sqlite_master
|
52839
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
52840
|
+
UNION ALL
|
52841
|
+
SELECT sql
|
52842
|
+
FROM sqlite_temp_master
|
52843
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
52844
|
+
[0m
|
52845
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
52846
|
+
[1m[35m (0.2ms)[0m begin transaction
|
52847
|
+
[1m[36mFixture Delete (1.4ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
52848
|
+
[1m[35mFixture Insert (0.8ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
52849
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
52850
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
52851
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
52852
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
52853
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
52854
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
52855
|
+
[1m[36mFixture Insert (3.2ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
52856
|
+
[1m[35mFixture Insert (0.6ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
52857
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
52858
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
52859
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (12, 12, 4)[0m
|
52860
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
52861
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
52862
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
52863
|
+
[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
|
52864
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
52865
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
52866
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
52867
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (20, 20, 7)[0m
|
52868
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
52869
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
52870
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
52871
|
+
[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
|
52872
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
52873
|
+
[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
|
52874
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
52875
|
+
[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
|
52876
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
52877
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
52878
|
+
[1m[35mFixture Delete (1.3ms)[0m DELETE FROM "has_many_fields"
|
52879
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
52880
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
52881
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
52882
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
52883
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
52884
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
52885
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
52886
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
52887
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
52888
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
52889
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
52890
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
52891
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
52892
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
52893
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
52894
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
52895
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
52896
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
52897
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
52898
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
52899
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
52900
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "has_one_fields"
|
52901
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (1)[0m
|
52902
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (2)
|
52903
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (3)[0m
|
52904
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (4)
|
52905
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (5)[0m
|
52906
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (6)
|
52907
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (7)[0m
|
52908
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (8)
|
52909
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (9)[0m
|
52910
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (10)
|
52911
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (11)[0m
|
52912
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (12)
|
52913
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (13)[0m
|
52914
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (14)
|
52915
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (15)[0m
|
52916
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (16)
|
52917
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (17)[0m
|
52918
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (18)
|
52919
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (19)[0m
|
52920
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (20)
|
52921
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (21)[0m
|
52922
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (22)
|
52923
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (23)[0m
|
52924
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (24)
|
52925
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (25)[0m
|
52926
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (26)
|
52927
|
+
[1m[36mFixture Insert (1.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (27)[0m
|
52928
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (28)
|
52929
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (29)[0m
|
52930
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (30)
|
52931
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "owners"[0m
|
52932
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2016-05-30 09:00:00.000000', '2017-06-27 20:00:00.000000')
|
52933
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2017-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
52934
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2015-05-02 09:00:00.000000', '2016-06-28 08:00:00.000000')
|
52935
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
52936
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
52937
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
52938
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
52939
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
52940
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
52941
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "string_fields"[0m
|
52942
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')
|
52943
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')[0m
|
52944
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')
|
52945
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')[0m
|
52946
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')
|
52947
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')[0m
|
52948
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')
|
52949
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')[0m
|
52950
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')
|
52951
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')[0m
|
52952
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')
|
52953
|
+
[1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')[0m
|
52954
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')
|
52955
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')[0m
|
52956
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')
|
52957
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')[0m
|
52958
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')
|
52959
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')[0m
|
52960
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')
|
52961
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')[0m
|
52962
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')
|
52963
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')[0m
|
52964
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')
|
52965
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')[0m
|
52966
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')
|
52967
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')[0m
|
52968
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')
|
52969
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')[0m
|
52970
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')
|
52971
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')[0m
|
52972
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "trees"
|
52973
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2010-02-11 11:00:00.000000', '2010-02-11 11:00:00.000000')[0m
|
52974
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2010-02-15 21:00:00.000000', '2010-02-15 21:00:00.000000')
|
52975
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2012-04-11 12:00:00.000000', '2012-04-11 12:00:00.000000')[0m
|
52976
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')
|
52977
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2014-06-18 09:00:00.000000', '2014-06-18 09:00:00.000000')[0m
|
52978
|
+
[1m[35m (1.1ms)[0m commit transaction
|
52979
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52980
|
+
--------------------------------------------------------
|
52981
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
52982
|
+
--------------------------------------------------------
|
52983
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
52984
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52985
|
+
------------------------------------------------------------------------
|
52986
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
52987
|
+
------------------------------------------------------------------------
|
52988
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
52989
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
52990
|
+
------------------------------------------------------------------------------------
|
52991
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
52992
|
+
------------------------------------------------------------------------------------
|
52993
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
52994
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
52995
|
+
----------------------------------------------------------------------------------
|
52996
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
52997
|
+
----------------------------------------------------------------------------------
|
52998
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
52999
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53000
|
+
-----------------------------------------------------------
|
53001
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
53002
|
+
-----------------------------------------------------------
|
53003
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53004
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53005
|
+
-------------------------------------------------------------------------
|
53006
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
53007
|
+
-------------------------------------------------------------------------
|
53008
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53009
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53010
|
+
---------------------------------------------------------
|
53011
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
53012
|
+
---------------------------------------------------------
|
53013
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53014
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53015
|
+
--------------------------------------------------------------------------
|
53016
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
53017
|
+
--------------------------------------------------------------------------
|
53018
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53019
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
53020
|
+
---------------------------------------------------------------------
|
53021
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
53022
|
+
---------------------------------------------------------------------
|
53023
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53024
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53025
|
+
---------------------------------------------------------------------------
|
53026
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
53027
|
+
---------------------------------------------------------------------------
|
53028
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53030
|
+
--------------------------------------------------------------------------
|
53031
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
53032
|
+
--------------------------------------------------------------------------
|
53033
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53034
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53035
|
+
-------------------------------------------------------------------------
|
53036
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
53037
|
+
-------------------------------------------------------------------------
|
53038
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53039
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53040
|
+
--------------------------------------------------------------------------------------------
|
53041
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_field
|
53042
|
+
--------------------------------------------------------------------------------------------
|
53043
|
+
[1m[35m (0.4ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')
|
53044
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53045
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53046
|
+
-----------------------------------------------------------------------------
|
53047
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
53048
|
+
-----------------------------------------------------------------------------
|
53049
|
+
[1m[36m (0.4ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
53050
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53051
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53052
|
+
---------------------------
|
53053
|
+
ForestLianaTest: test_truth
|
53054
|
+
---------------------------
|
53055
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53056
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53057
|
+
--------------------------------------------------------------------
|
53058
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
53059
|
+
--------------------------------------------------------------------
|
53060
|
+
[1m[35mSQL (2.8ms)[0m SELECT "has_one_fields"."id" AS t0_r0, "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
|
53061
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "has_one_fields"[0m
|
53062
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53063
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53064
|
+
-----------------------------------------------------------------------
|
53065
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
53066
|
+
-----------------------------------------------------------------------
|
53067
|
+
[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_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
|
53068
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "belongs_to_fields"[0m
|
53069
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53070
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53071
|
+
------------------------------------------------------------------------------------
|
53072
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
53073
|
+
------------------------------------------------------------------------------------
|
53074
|
+
[1m[35mSQL (0.3ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0
|
53075
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')[0m
|
53076
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53077
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
53078
|
+
-----------------------------------------------------------------
|
53079
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
53080
|
+
-----------------------------------------------------------------
|
53081
|
+
[1m[35mSQL (0.2ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10
|
53082
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
53083
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53084
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53085
|
+
-------------------------------------------------------------------------------------------
|
53086
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
53087
|
+
-------------------------------------------------------------------------------------------
|
53088
|
+
[1m[35mSQL (0.2ms)[0m SELECT "owners"."id" AS t0_r0, "owners"."name" AS t0_r1, "owners"."created_at" AS t0_r2, "owners"."updated_at" AS t0_r3 FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0
|
53089
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
53090
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53091
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53092
|
+
----------------------------------------------------------------
|
53093
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
53094
|
+
----------------------------------------------------------------
|
53095
|
+
[1m[35mSQL (0.3ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
53096
|
+
[1m[36m (0.4ms)[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
|
53097
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53098
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53099
|
+
------------------------------------------------------------------------------------------------------
|
53100
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
53101
|
+
------------------------------------------------------------------------------------------------------
|
53102
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
53103
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')[0m
|
53104
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
53105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53106
|
+
------------------------------------------------------------------------------------------------
|
53107
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
53108
|
+
------------------------------------------------------------------------------------------------
|
53109
|
+
[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 '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
53110
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
53111
|
+
[1m[35m (1.8ms)[0m rollback transaction
|
53112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53113
|
+
----------------------------------------------------------------
|
53114
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
53115
|
+
----------------------------------------------------------------
|
53116
|
+
[1m[35mSQL (0.7ms)[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
|
53117
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
53118
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53120
|
+
-----------------------------------------------------------------
|
53121
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
53122
|
+
-----------------------------------------------------------------
|
53123
|
+
[1m[35mSQL (0.3ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0
|
53124
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
53125
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53126
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53127
|
+
------------------------------------------------------------------------------------------------------------
|
53128
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
53129
|
+
------------------------------------------------------------------------------------------------------------
|
53130
|
+
[1m[35mSerializeField Load (0.2ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
53131
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
53132
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", "---\n- test\n- test\n"], ["id", 1]]
|
53133
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
53134
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
53135
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53136
|
+
---------------------------------------------------------------------------------------------------------
|
53137
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
53138
|
+
---------------------------------------------------------------------------------------------------------
|
53139
|
+
[1m[35mSerializeField Load (0.2ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
53140
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53141
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53142
|
+
------------------------------------------------------------------------------------------------------
|
53143
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
53144
|
+
------------------------------------------------------------------------------------------------------
|
53145
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
53146
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
53147
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
53148
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
53149
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53150
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
53151
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
53152
|
+
FROM sqlite_master
|
53153
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
53154
|
+
UNION ALL
|
53155
|
+
SELECT sql
|
53156
|
+
FROM sqlite_temp_master
|
53157
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
53158
|
+
[0m
|
53159
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53160
|
+
FROM sqlite_master
|
53161
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
53162
|
+
UNION ALL
|
53163
|
+
SELECT sql
|
53164
|
+
FROM sqlite_temp_master
|
53165
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
53166
|
+
|
53167
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
53168
|
+
FROM sqlite_master
|
53169
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
53170
|
+
UNION ALL
|
53171
|
+
SELECT sql
|
53172
|
+
FROM sqlite_temp_master
|
53173
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
53174
|
+
[0m
|
53175
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53176
|
+
FROM sqlite_master
|
53177
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
53178
|
+
UNION ALL
|
53179
|
+
SELECT sql
|
53180
|
+
FROM sqlite_temp_master
|
53181
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
53182
|
+
|
53183
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
53184
|
+
FROM sqlite_master
|
53185
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
53186
|
+
UNION ALL
|
53187
|
+
SELECT sql
|
53188
|
+
FROM sqlite_temp_master
|
53189
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
53190
|
+
[0m
|
53191
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53192
|
+
FROM sqlite_master
|
53193
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
53194
|
+
UNION ALL
|
53195
|
+
SELECT sql
|
53196
|
+
FROM sqlite_temp_master
|
53197
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
53198
|
+
|
53199
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
53200
|
+
FROM sqlite_master
|
53201
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
53202
|
+
UNION ALL
|
53203
|
+
SELECT sql
|
53204
|
+
FROM sqlite_temp_master
|
53205
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
53206
|
+
[0m
|
53207
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53208
|
+
[1m[35m (0.2ms)[0m begin transaction
|
53209
|
+
[1m[36mFixture Delete (8.1ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
53210
|
+
[1m[35mFixture Insert (0.5ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
53211
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
53212
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
53213
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
53214
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
53215
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
53216
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
53217
|
+
[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
|
53218
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
53219
|
+
[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
|
53220
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
53221
|
+
[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
|
53222
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
53223
|
+
[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
|
53224
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
53225
|
+
[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
|
53226
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
53227
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
53228
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
53229
|
+
[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
|
53230
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
53231
|
+
[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
|
53232
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
53233
|
+
[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
|
53234
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
53235
|
+
[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
|
53236
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
53237
|
+
[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
|
53238
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
53239
|
+
[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
|
53240
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "has_many_fields"
|
53241
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
53242
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
53243
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
53244
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
53245
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
53246
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
53247
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
53248
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
53249
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
53250
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
53251
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
53252
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
53253
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
53254
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
53255
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
53256
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
53257
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
53258
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
53259
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
53260
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
53261
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
53262
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "has_one_fields"
|
53263
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (1)[0m
|
53264
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (2)
|
53265
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (3)[0m
|
53266
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (4)
|
53267
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (5)[0m
|
53268
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (6)
|
53269
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (7)[0m
|
53270
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (8)
|
53271
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (9)[0m
|
53272
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (10)
|
53273
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (11)[0m
|
53274
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (12)
|
53275
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (13)[0m
|
53276
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (14)
|
53277
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (15)[0m
|
53278
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (16)
|
53279
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (17)[0m
|
53280
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (18)
|
53281
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (19)[0m
|
53282
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (20)
|
53283
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (21)[0m
|
53284
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (22)
|
53285
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (23)[0m
|
53286
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (24)
|
53287
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (25)[0m
|
53288
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (26)
|
53289
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (27)[0m
|
53290
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (28)
|
53291
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (29)[0m
|
53292
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (30)
|
53293
|
+
[1m[36mFixture Delete (1.5ms)[0m [1mDELETE FROM "owners"[0m
|
53294
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2016-05-30 09:00:00.000000', '2017-06-27 20:00:00.000000')
|
53295
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2017-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
53296
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2015-05-02 09:00:00.000000', '2016-06-28 08:00:00.000000')
|
53297
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
53298
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
53299
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
53300
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
53301
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
53302
|
+
[1m[35mFixture Insert (0.8ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
53303
|
+
[1m[36mFixture Delete (1.1ms)[0m [1mDELETE FROM "string_fields"[0m
|
53304
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')
|
53305
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')[0m
|
53306
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')
|
53307
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')[0m
|
53308
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')
|
53309
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')[0m
|
53310
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')
|
53311
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')[0m
|
53312
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')
|
53313
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')[0m
|
53314
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')
|
53315
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')[0m
|
53316
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')
|
53317
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')[0m
|
53318
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')
|
53319
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')[0m
|
53320
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')
|
53321
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')[0m
|
53322
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')
|
53323
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')[0m
|
53324
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')
|
53325
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')[0m
|
53326
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')
|
53327
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')[0m
|
53328
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')
|
53329
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')[0m
|
53330
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')
|
53331
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')[0m
|
53332
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')
|
53333
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')[0m
|
53334
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "trees"
|
53335
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2010-02-11 11:00:00.000000', '2010-02-11 11:00:00.000000')[0m
|
53336
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2010-02-15 21:00:00.000000', '2010-02-15 21:00:00.000000')
|
53337
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2012-04-11 12:00:00.000000', '2012-04-11 12:00:00.000000')[0m
|
53338
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')
|
53339
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2014-06-18 09:00:00.000000', '2014-06-18 09:00:00.000000')[0m
|
53340
|
+
[1m[35m (1.8ms)[0m commit transaction
|
53341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53342
|
+
---------------------------------------------------------------------------------------------------------
|
53343
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
53344
|
+
---------------------------------------------------------------------------------------------------------
|
53345
|
+
[1m[35mSerializeField Load (0.2ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
53346
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53347
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53348
|
+
------------------------------------------------------------------------------------------------------
|
53349
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
53350
|
+
------------------------------------------------------------------------------------------------------
|
53351
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
53352
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
53353
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
53354
|
+
[1m[35m (1.7ms)[0m rollback transaction
|
53355
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
53356
|
+
------------------------------------------------------------------------------------------------------------
|
53357
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
53358
|
+
------------------------------------------------------------------------------------------------------------
|
53359
|
+
[1m[35mSerializeField Load (0.5ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
53360
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
53361
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", "---\n- test\n- test\n"], ["id", 1]]
|
53362
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
53363
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
53364
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
53365
|
+
---------------------------
|
53366
|
+
ForestLianaTest: test_truth
|
53367
|
+
---------------------------
|
53368
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53369
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53370
|
+
--------------------------------------------------------------------------------------------
|
53371
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_field
|
53372
|
+
--------------------------------------------------------------------------------------------
|
53373
|
+
[1m[35m (0.4ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')
|
53374
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53375
|
+
[1m[35m (0.2ms)[0m begin transaction
|
53376
|
+
-----------------------------------------------------------------------------
|
53377
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
53378
|
+
-----------------------------------------------------------------------------
|
53379
|
+
[1m[36m (0.5ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
53380
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53381
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53382
|
+
----------------------------------------------------------------
|
53383
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
53384
|
+
----------------------------------------------------------------
|
53385
|
+
[1m[35mSQL (0.3ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
53386
|
+
[1m[36m (0.3ms)[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
|
53387
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53388
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53389
|
+
-----------------------------------------------------------------------
|
53390
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
53391
|
+
-----------------------------------------------------------------------
|
53392
|
+
[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_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
|
53393
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "belongs_to_fields"[0m
|
53394
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53395
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53396
|
+
------------------------------------------------------------------------------------------------
|
53397
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
53398
|
+
------------------------------------------------------------------------------------------------
|
53399
|
+
[1m[35mSQL (0.5ms)[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 '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
53400
|
+
[1m[36m (1.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
53401
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
53402
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53403
|
+
-------------------------------------------------------------------------------------------
|
53404
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
53405
|
+
-------------------------------------------------------------------------------------------
|
53406
|
+
[1m[35mSQL (0.4ms)[0m SELECT "owners"."id" AS t0_r0, "owners"."name" AS t0_r1, "owners"."created_at" AS t0_r2, "owners"."updated_at" AS t0_r3 FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0
|
53407
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
53408
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53409
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53410
|
+
------------------------------------------------------------------------------------------------------
|
53411
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
53412
|
+
------------------------------------------------------------------------------------------------------
|
53413
|
+
[1m[35mSQL (0.5ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
53414
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')[0m
|
53415
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53416
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
53417
|
+
-----------------------------------------------------------------
|
53418
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
53419
|
+
-----------------------------------------------------------------
|
53420
|
+
[1m[35mSQL (0.3ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10
|
53421
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
53422
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53423
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53424
|
+
--------------------------------------------------------------------
|
53425
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
53426
|
+
--------------------------------------------------------------------
|
53427
|
+
[1m[35mSQL (1.1ms)[0m SELECT "has_one_fields"."id" AS t0_r0, "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
|
53428
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "has_one_fields"[0m
|
53429
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53430
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53431
|
+
------------------------------------------------------------------------------------
|
53432
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
53433
|
+
------------------------------------------------------------------------------------
|
53434
|
+
[1m[35mSQL (0.8ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0
|
53435
|
+
[1m[36m (1.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')[0m
|
53436
|
+
[1m[35m (5.3ms)[0m rollback transaction
|
53437
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53438
|
+
----------------------------------------------------------------
|
53439
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
53440
|
+
----------------------------------------------------------------
|
53441
|
+
[1m[35mSQL (0.3ms)[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
|
53442
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
53443
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53444
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53445
|
+
-----------------------------------------------------------------
|
53446
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
53447
|
+
-----------------------------------------------------------------
|
53448
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0
|
53449
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
53450
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53451
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
53452
|
+
----------------------------------------------------------------------------------
|
53453
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
53454
|
+
----------------------------------------------------------------------------------
|
53455
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53456
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
53457
|
+
-------------------------------------------------------------------------
|
53458
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
53459
|
+
-------------------------------------------------------------------------
|
53460
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53462
|
+
-----------------------------------------------------------
|
53463
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
53464
|
+
-----------------------------------------------------------
|
53465
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53466
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53467
|
+
--------------------------------------------------------------------------
|
53468
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
53469
|
+
--------------------------------------------------------------------------
|
53470
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53471
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53472
|
+
--------------------------------------------------------------------------
|
53473
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
53474
|
+
--------------------------------------------------------------------------
|
53475
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
53476
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53477
|
+
--------------------------------------------------------
|
53478
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
53479
|
+
--------------------------------------------------------
|
53480
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53481
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53482
|
+
-------------------------------------------------------------------------
|
53483
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
53484
|
+
-------------------------------------------------------------------------
|
53485
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53486
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53487
|
+
---------------------------------------------------------------------
|
53488
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
53489
|
+
---------------------------------------------------------------------
|
53490
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53491
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53492
|
+
------------------------------------------------------------------------
|
53493
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
53494
|
+
------------------------------------------------------------------------
|
53495
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53496
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53497
|
+
---------------------------------------------------------------------------
|
53498
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
53499
|
+
---------------------------------------------------------------------------
|
53500
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53501
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
53502
|
+
------------------------------------------------------------------------------------
|
53503
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
53504
|
+
------------------------------------------------------------------------------------
|
53505
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53506
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53507
|
+
---------------------------------------------------------
|
53508
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
53509
|
+
---------------------------------------------------------
|
53510
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53511
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53512
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
53513
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
53514
|
+
FROM sqlite_master
|
53515
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
53516
|
+
UNION ALL
|
53517
|
+
SELECT sql
|
53518
|
+
FROM sqlite_temp_master
|
53519
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
53520
|
+
[0m
|
53521
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53522
|
+
FROM sqlite_master
|
53523
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
53524
|
+
UNION ALL
|
53525
|
+
SELECT sql
|
53526
|
+
FROM sqlite_temp_master
|
53527
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
53528
|
+
|
53529
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
53530
|
+
FROM sqlite_master
|
53531
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
53532
|
+
UNION ALL
|
53533
|
+
SELECT sql
|
53534
|
+
FROM sqlite_temp_master
|
53535
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
53536
|
+
[0m
|
53537
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53538
|
+
FROM sqlite_master
|
53539
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
53540
|
+
UNION ALL
|
53541
|
+
SELECT sql
|
53542
|
+
FROM sqlite_temp_master
|
53543
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
53544
|
+
|
53545
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
53546
|
+
FROM sqlite_master
|
53547
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
53548
|
+
UNION ALL
|
53549
|
+
SELECT sql
|
53550
|
+
FROM sqlite_temp_master
|
53551
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
53552
|
+
[0m
|
53553
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53554
|
+
FROM sqlite_master
|
53555
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
53556
|
+
UNION ALL
|
53557
|
+
SELECT sql
|
53558
|
+
FROM sqlite_temp_master
|
53559
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
53560
|
+
|
53561
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
53562
|
+
FROM sqlite_master
|
53563
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
53564
|
+
UNION ALL
|
53565
|
+
SELECT sql
|
53566
|
+
FROM sqlite_temp_master
|
53567
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
53568
|
+
[0m
|
53569
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53570
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53571
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
53572
|
+
[1m[36m (0.5ms)[0m [1m SELECT sql
|
53573
|
+
FROM sqlite_master
|
53574
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
53575
|
+
UNION ALL
|
53576
|
+
SELECT sql
|
53577
|
+
FROM sqlite_temp_master
|
53578
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
53579
|
+
[0m
|
53580
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53581
|
+
FROM sqlite_master
|
53582
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
53583
|
+
UNION ALL
|
53584
|
+
SELECT sql
|
53585
|
+
FROM sqlite_temp_master
|
53586
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
53587
|
+
|
53588
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
53589
|
+
FROM sqlite_master
|
53590
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
53591
|
+
UNION ALL
|
53592
|
+
SELECT sql
|
53593
|
+
FROM sqlite_temp_master
|
53594
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
53595
|
+
[0m
|
53596
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53597
|
+
FROM sqlite_master
|
53598
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
53599
|
+
UNION ALL
|
53600
|
+
SELECT sql
|
53601
|
+
FROM sqlite_temp_master
|
53602
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
53603
|
+
|
53604
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
53605
|
+
FROM sqlite_master
|
53606
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
53607
|
+
UNION ALL
|
53608
|
+
SELECT sql
|
53609
|
+
FROM sqlite_temp_master
|
53610
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
53611
|
+
[0m
|
53612
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53613
|
+
FROM sqlite_master
|
53614
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
53615
|
+
UNION ALL
|
53616
|
+
SELECT sql
|
53617
|
+
FROM sqlite_temp_master
|
53618
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
53619
|
+
|
53620
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
53621
|
+
FROM sqlite_master
|
53622
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
53623
|
+
UNION ALL
|
53624
|
+
SELECT sql
|
53625
|
+
FROM sqlite_temp_master
|
53626
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
53627
|
+
[0m
|
53628
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53629
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53630
|
+
[1m[36mFixture Delete (1.7ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
53631
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
53632
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
53633
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
53634
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
53635
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
53636
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
53637
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
53638
|
+
[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
|
53639
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
53640
|
+
[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
|
53641
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
53642
|
+
[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
|
53643
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
53644
|
+
[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
|
53645
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
53646
|
+
[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
|
53647
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
53648
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
53649
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
53650
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (20, 20, 7)[0m
|
53651
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
53652
|
+
[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
|
53653
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
53654
|
+
[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
|
53655
|
+
[1m[35mFixture Insert (0.7ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
53656
|
+
[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
|
53657
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
53658
|
+
[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
|
53659
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
53660
|
+
[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
|
53661
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "has_many_fields"
|
53662
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
53663
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
53664
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
53665
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
53666
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
53667
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
53668
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
53669
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
53670
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
53671
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
53672
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
53673
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
53674
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
53675
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
53676
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
53677
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
53678
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
53679
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
53680
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
53681
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
53682
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
53683
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "has_one_fields"
|
53684
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (1)[0m
|
53685
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (2)
|
53686
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (3)[0m
|
53687
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (4)
|
53688
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (5)[0m
|
53689
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (6)
|
53690
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (7)[0m
|
53691
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (8)
|
53692
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (9)[0m
|
53693
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (10)
|
53694
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (11)[0m
|
53695
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (12)
|
53696
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (13)[0m
|
53697
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (14)
|
53698
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (15)[0m
|
53699
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (16)
|
53700
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (17)[0m
|
53701
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (18)
|
53702
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (19)[0m
|
53703
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (20)
|
53704
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (21)[0m
|
53705
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (22)
|
53706
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (23)[0m
|
53707
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (24)
|
53708
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (25)[0m
|
53709
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (26)
|
53710
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (27)[0m
|
53711
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (28)
|
53712
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (29)[0m
|
53713
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (30)
|
53714
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "owners"[0m
|
53715
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2016-05-30 09:00:00.000000', '2017-06-27 20:00:00.000000')
|
53716
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2017-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
53717
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2015-05-02 09:00:00.000000', '2016-06-28 08:00:00.000000')
|
53718
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
53719
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
53720
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
53721
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
53722
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
53723
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
53724
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "string_fields"[0m
|
53725
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')
|
53726
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')[0m
|
53727
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')
|
53728
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')[0m
|
53729
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')
|
53730
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')[0m
|
53731
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')
|
53732
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')[0m
|
53733
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')
|
53734
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')[0m
|
53735
|
+
[1m[35mFixture Insert (1.7ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')
|
53736
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')[0m
|
53737
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')
|
53738
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')[0m
|
53739
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')
|
53740
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')[0m
|
53741
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')
|
53742
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')[0m
|
53743
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')
|
53744
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')[0m
|
53745
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')
|
53746
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')[0m
|
53747
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')
|
53748
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')[0m
|
53749
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')
|
53750
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')[0m
|
53751
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')
|
53752
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')[0m
|
53753
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')
|
53754
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')[0m
|
53755
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "trees"
|
53756
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2010-02-11 11:00:00.000000', '2010-02-11 11:00:00.000000')[0m
|
53757
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2010-02-15 21:00:00.000000', '2010-02-15 21:00:00.000000')
|
53758
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2012-04-11 12:00:00.000000', '2012-04-11 12:00:00.000000')[0m
|
53759
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')
|
53760
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2014-06-18 09:00:00.000000', '2014-06-18 09:00:00.000000')[0m
|
53761
|
+
[1m[35m (2.1ms)[0m commit transaction
|
53762
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53763
|
+
-------------------------------------------------------------------------------------------
|
53764
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
53765
|
+
-------------------------------------------------------------------------------------------
|
53766
|
+
[1m[35mSQL (0.4ms)[0m SELECT "owners"."id" AS t0_r0, "owners"."name" AS t0_r1, "owners"."created_at" AS t0_r2, "owners"."updated_at" AS t0_r3 FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0
|
53767
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
53768
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53769
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53770
|
+
-----------------------------------------------------------------------
|
53771
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
53772
|
+
-----------------------------------------------------------------------
|
53773
|
+
[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_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
|
53774
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "belongs_to_fields"[0m
|
53775
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53776
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53777
|
+
------------------------------------------------------------------------------------
|
53778
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
53779
|
+
------------------------------------------------------------------------------------
|
53780
|
+
[1m[35mSQL (0.3ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0
|
53781
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')[0m
|
53782
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53783
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
53784
|
+
------------------------------------------------------------------------------------------------
|
53785
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
53786
|
+
------------------------------------------------------------------------------------------------
|
53787
|
+
[1m[35mSQL (0.3ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
53788
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
53789
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53790
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
53791
|
+
-----------------------------------------------------------------
|
53792
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
53793
|
+
-----------------------------------------------------------------
|
53794
|
+
[1m[35mSQL (0.2ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0
|
53795
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
53796
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53797
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53798
|
+
----------------------------------------------------------------
|
53799
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
53800
|
+
----------------------------------------------------------------
|
53801
|
+
[1m[35mSQL (0.2ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.field DESC LIMIT 10 OFFSET 0
|
53802
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
53803
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
53804
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53805
|
+
-----------------------------------------------------------------
|
53806
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
53807
|
+
-----------------------------------------------------------------
|
53808
|
+
[1m[35mSQL (0.2ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10
|
53809
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
53810
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
53811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53812
|
+
--------------------------------------------------------------------
|
53813
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
53814
|
+
--------------------------------------------------------------------
|
53815
|
+
[1m[35mSQL (0.6ms)[0m SELECT "has_one_fields"."id" AS t0_r0, "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
|
53816
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "has_one_fields"[0m
|
53817
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53818
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53819
|
+
------------------------------------------------------------------------------------------------------
|
53820
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
53821
|
+
------------------------------------------------------------------------------------------------------
|
53822
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
53823
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')[0m
|
53824
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53825
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53826
|
+
----------------------------------------------------------------
|
53827
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
53828
|
+
----------------------------------------------------------------
|
53829
|
+
[1m[35mSQL (0.3ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
53830
|
+
[1m[36m (0.3ms)[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
|
53831
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53832
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53833
|
+
---------------------------------------------------------------------------------------------------------
|
53834
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
53835
|
+
---------------------------------------------------------------------------------------------------------
|
53836
|
+
[1m[35mSerializeField Load (0.2ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
53837
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53838
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53839
|
+
---------------------------------------------------------------------------------------------------
|
53840
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
53841
|
+
---------------------------------------------------------------------------------------------------
|
53842
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
53843
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
53844
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53845
|
+
------------------------------------------------------------------------------------------------------------
|
53846
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
53847
|
+
------------------------------------------------------------------------------------------------------------
|
53848
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
53849
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
53850
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", "---\n- test\n- test\n"], ["id", 1]]
|
53851
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
53852
|
+
[1m[35m (2.4ms)[0m rollback transaction
|
53853
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
53854
|
+
------------------------------------------------------------------------------------------------------
|
53855
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
53856
|
+
------------------------------------------------------------------------------------------------------
|
53857
|
+
[1m[35mSerializeField Load (0.2ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
53858
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
53859
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
53860
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53861
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53862
|
+
---------------------------
|
53863
|
+
ForestLianaTest: test_truth
|
53864
|
+
---------------------------
|
53865
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53866
|
+
[1m[35m (0.0ms)[0m begin transaction
|
53867
|
+
--------------------------------------------------------------------------------------------
|
53868
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_field
|
53869
|
+
--------------------------------------------------------------------------------------------
|
53870
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')[0m
|
53871
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
53872
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
53873
|
+
-----------------------------------------------------------------------------
|
53874
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
53875
|
+
-----------------------------------------------------------------------------
|
53876
|
+
[1m[35m (0.4ms)[0m SELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)
|
53877
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53878
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53879
|
+
------------------------------------------------------------------------
|
53880
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
53881
|
+
------------------------------------------------------------------------
|
53882
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53883
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53884
|
+
----------------------------------------------------------------------------------
|
53885
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
53886
|
+
----------------------------------------------------------------------------------
|
53887
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53888
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53889
|
+
---------------------------------------------------------------------------
|
53890
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
53891
|
+
---------------------------------------------------------------------------
|
53892
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53893
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53894
|
+
-------------------------------------------------------------------------
|
53895
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
53896
|
+
-------------------------------------------------------------------------
|
53897
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53898
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53899
|
+
--------------------------------------------------------
|
53900
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
53901
|
+
--------------------------------------------------------
|
53902
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53903
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53904
|
+
------------------------------------------------------------------------------------
|
53905
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
53906
|
+
------------------------------------------------------------------------------------
|
53907
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
53908
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53909
|
+
---------------------------------------------------------
|
53910
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
53911
|
+
---------------------------------------------------------
|
53912
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53913
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53914
|
+
--------------------------------------------------------------------------
|
53915
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
53916
|
+
--------------------------------------------------------------------------
|
53917
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53918
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53919
|
+
-----------------------------------------------------------
|
53920
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
53921
|
+
-----------------------------------------------------------
|
53922
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53923
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53924
|
+
--------------------------------------------------------------------------
|
53925
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
53926
|
+
--------------------------------------------------------------------------
|
53927
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53928
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53929
|
+
---------------------------------------------------------------------
|
53930
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
53931
|
+
---------------------------------------------------------------------
|
53932
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53933
|
+
[1m[35m (0.1ms)[0m begin transaction
|
53934
|
+
-------------------------------------------------------------------------
|
53935
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
53936
|
+
-------------------------------------------------------------------------
|
53937
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
53938
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53939
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
53940
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
53941
|
+
FROM sqlite_master
|
53942
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
53943
|
+
UNION ALL
|
53944
|
+
SELECT sql
|
53945
|
+
FROM sqlite_temp_master
|
53946
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
53947
|
+
[0m
|
53948
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53949
|
+
FROM sqlite_master
|
53950
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
53951
|
+
UNION ALL
|
53952
|
+
SELECT sql
|
53953
|
+
FROM sqlite_temp_master
|
53954
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
53955
|
+
|
53956
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
53957
|
+
FROM sqlite_master
|
53958
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
53959
|
+
UNION ALL
|
53960
|
+
SELECT sql
|
53961
|
+
FROM sqlite_temp_master
|
53962
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
53963
|
+
[0m
|
53964
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53965
|
+
FROM sqlite_master
|
53966
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
53967
|
+
UNION ALL
|
53968
|
+
SELECT sql
|
53969
|
+
FROM sqlite_temp_master
|
53970
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
53971
|
+
|
53972
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
53973
|
+
FROM sqlite_master
|
53974
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
53975
|
+
UNION ALL
|
53976
|
+
SELECT sql
|
53977
|
+
FROM sqlite_temp_master
|
53978
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
53979
|
+
[0m
|
53980
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
53981
|
+
FROM sqlite_master
|
53982
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
53983
|
+
UNION ALL
|
53984
|
+
SELECT sql
|
53985
|
+
FROM sqlite_temp_master
|
53986
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
53987
|
+
|
53988
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
53989
|
+
FROM sqlite_master
|
53990
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
53991
|
+
UNION ALL
|
53992
|
+
SELECT sql
|
53993
|
+
FROM sqlite_temp_master
|
53994
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
53995
|
+
[0m
|
53996
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53997
|
+
[1m[35m (0.2ms)[0m begin transaction
|
53998
|
+
[1m[36mFixture Delete (5.4ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
53999
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
54000
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
54001
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
54002
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
54003
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
54004
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
54005
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
54006
|
+
[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
|
54007
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
54008
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
54009
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
54010
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (12, 12, 4)[0m
|
54011
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
54012
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
54013
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
54014
|
+
[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
|
54015
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
54016
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
54017
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
54018
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (20, 20, 7)[0m
|
54019
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
54020
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
54021
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
54022
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (24, 24, 8)[0m
|
54023
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
54024
|
+
[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
|
54025
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
54026
|
+
[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
|
54027
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
54028
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
54029
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "has_many_fields"
|
54030
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
54031
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
54032
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
54033
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
54034
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
54035
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
54036
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
54037
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
54038
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
54039
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
54040
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
54041
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
54042
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
54043
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
54044
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
54045
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
54046
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
54047
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
54048
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
54049
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
54050
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
54051
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "has_one_fields"
|
54052
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (1)[0m
|
54053
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (2)
|
54054
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (3)[0m
|
54055
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (4)
|
54056
|
+
[1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (5)[0m
|
54057
|
+
[1m[35mFixture Insert (1.2ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (6)
|
54058
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (7)[0m
|
54059
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (8)
|
54060
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (9)[0m
|
54061
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (10)
|
54062
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (11)[0m
|
54063
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (12)
|
54064
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (13)[0m
|
54065
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (14)
|
54066
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (15)[0m
|
54067
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (16)
|
54068
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (17)[0m
|
54069
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (18)
|
54070
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (19)[0m
|
54071
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (20)
|
54072
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (21)[0m
|
54073
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (22)
|
54074
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (23)[0m
|
54075
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (24)
|
54076
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (25)[0m
|
54077
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (26)
|
54078
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (27)[0m
|
54079
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (28)
|
54080
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (29)[0m
|
54081
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (30)
|
54082
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "owners"[0m
|
54083
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2016-05-30 09:00:00.000000', '2017-06-27 20:00:00.000000')
|
54084
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2017-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
54085
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2015-05-02 09:00:00.000000', '2016-06-28 08:00:00.000000')
|
54086
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
54087
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
54088
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
54089
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
54090
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
54091
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
54092
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "string_fields"[0m
|
54093
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')
|
54094
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')[0m
|
54095
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')
|
54096
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')[0m
|
54097
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')
|
54098
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')[0m
|
54099
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')
|
54100
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')[0m
|
54101
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')
|
54102
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')[0m
|
54103
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')
|
54104
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')[0m
|
54105
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')
|
54106
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')[0m
|
54107
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')
|
54108
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')[0m
|
54109
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')
|
54110
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')[0m
|
54111
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')
|
54112
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')[0m
|
54113
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')
|
54114
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')[0m
|
54115
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')
|
54116
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')[0m
|
54117
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')
|
54118
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')[0m
|
54119
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')
|
54120
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')[0m
|
54121
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')
|
54122
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')[0m
|
54123
|
+
[1m[35mFixture Delete (1.8ms)[0m DELETE FROM "trees"
|
54124
|
+
[1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2010-02-11 11:00:00.000000', '2010-02-11 11:00:00.000000')[0m
|
54125
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2010-02-15 21:00:00.000000', '2010-02-15 21:00:00.000000')
|
54126
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2012-04-11 12:00:00.000000', '2012-04-11 12:00:00.000000')[0m
|
54127
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')
|
54128
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2014-06-18 09:00:00.000000', '2014-06-18 09:00:00.000000')[0m
|
54129
|
+
[1m[35m (4.0ms)[0m commit transaction
|
54130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54131
|
+
----------------------------------------------------------------
|
54132
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
54133
|
+
----------------------------------------------------------------
|
54134
|
+
[1m[35mSQL (0.4ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.field DESC LIMIT 10 OFFSET 0
|
54135
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
54136
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54137
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54138
|
+
------------------------------------------------------------------------------------
|
54139
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
54140
|
+
------------------------------------------------------------------------------------
|
54141
|
+
[1m[35mSQL (0.3ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0
|
54142
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')[0m
|
54143
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54144
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
54145
|
+
------------------------------------------------------------------------------------------------
|
54146
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
54147
|
+
------------------------------------------------------------------------------------------------
|
54148
|
+
[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 '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
54149
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
54150
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54151
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54152
|
+
-------------------------------------------------------------------------------------------
|
54153
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
54154
|
+
-------------------------------------------------------------------------------------------
|
54155
|
+
[1m[35mSQL (0.2ms)[0m SELECT "owners"."id" AS t0_r0, "owners"."name" AS t0_r1, "owners"."created_at" AS t0_r2, "owners"."updated_at" AS t0_r3 FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0
|
54156
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
54157
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54158
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54159
|
+
-----------------------------------------------------------------
|
54160
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
54161
|
+
-----------------------------------------------------------------
|
54162
|
+
[1m[35mSQL (0.2ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0
|
54163
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
54164
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54166
|
+
--------------------------------------------------------------------
|
54167
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
54168
|
+
--------------------------------------------------------------------
|
54169
|
+
[1m[35mSQL (0.5ms)[0m SELECT "has_one_fields"."id" AS t0_r0, "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
|
54170
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "has_one_fields"[0m
|
54171
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54172
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54173
|
+
------------------------------------------------------------------------------------------------------
|
54174
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
54175
|
+
------------------------------------------------------------------------------------------------------
|
54176
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
54177
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')[0m
|
54178
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54179
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54180
|
+
-----------------------------------------------------------------
|
54181
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
54182
|
+
-----------------------------------------------------------------
|
54183
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10
|
54184
|
+
[1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
54185
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54186
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54187
|
+
-----------------------------------------------------------------------
|
54188
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
54189
|
+
-----------------------------------------------------------------------
|
54190
|
+
[1m[35mSQL (0.4ms)[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_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
|
54191
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "belongs_to_fields"[0m
|
54192
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
54193
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54194
|
+
----------------------------------------------------------------
|
54195
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
54196
|
+
----------------------------------------------------------------
|
54197
|
+
[1m[35mSQL (0.8ms)[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
|
54198
|
+
[1m[36m (0.3ms)[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
|
54199
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54200
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54201
|
+
--------------------------------------------------------------------------
|
54202
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
54203
|
+
--------------------------------------------------------------------------
|
54204
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54205
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54206
|
+
-------------------------------------------------------------------------
|
54207
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
54208
|
+
-------------------------------------------------------------------------
|
54209
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
54211
|
+
------------------------------------------------------------------------------------
|
54212
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
54213
|
+
------------------------------------------------------------------------------------
|
54214
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54215
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54216
|
+
--------------------------------------------------------------------------
|
54217
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
54218
|
+
--------------------------------------------------------------------------
|
54219
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54220
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54221
|
+
--------------------------------------------------------
|
54222
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
54223
|
+
--------------------------------------------------------
|
54224
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
54225
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54226
|
+
------------------------------------------------------------------------
|
54227
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
54228
|
+
------------------------------------------------------------------------
|
54229
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54230
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54231
|
+
---------------------------------------------------------
|
54232
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
54233
|
+
---------------------------------------------------------
|
54234
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54235
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54236
|
+
----------------------------------------------------------------------------------
|
54237
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
54238
|
+
----------------------------------------------------------------------------------
|
54239
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54240
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54241
|
+
-----------------------------------------------------------
|
54242
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
54243
|
+
-----------------------------------------------------------
|
54244
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54245
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54246
|
+
---------------------------------------------------------------------
|
54247
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
54248
|
+
---------------------------------------------------------------------
|
54249
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54250
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54251
|
+
-------------------------------------------------------------------------
|
54252
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
54253
|
+
-------------------------------------------------------------------------
|
54254
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54255
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54256
|
+
---------------------------------------------------------------------------
|
54257
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
54258
|
+
---------------------------------------------------------------------------
|
54259
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54260
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54261
|
+
--------------------------------------------------------------------------------------------
|
54262
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_field
|
54263
|
+
--------------------------------------------------------------------------------------------
|
54264
|
+
[1m[35m (0.3ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')
|
54265
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54266
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54267
|
+
-----------------------------------------------------------------------------
|
54268
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
54269
|
+
-----------------------------------------------------------------------------
|
54270
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
54271
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54273
|
+
---------------------------
|
54274
|
+
ForestLianaTest: test_truth
|
54275
|
+
---------------------------
|
54276
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54277
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54278
|
+
---------------------------------------------------------------------------------------------------
|
54279
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
54280
|
+
---------------------------------------------------------------------------------------------------
|
54281
|
+
[1m[35mSerializeField Load (0.2ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
54282
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54283
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54284
|
+
---------------------------------------------------------------------------------------------------------
|
54285
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
54286
|
+
---------------------------------------------------------------------------------------------------------
|
54287
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
54288
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54289
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54290
|
+
------------------------------------------------------------------------------------------------------
|
54291
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
54292
|
+
------------------------------------------------------------------------------------------------------
|
54293
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
54294
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
54295
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
54296
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54298
|
+
------------------------------------------------------------------------------------------------------------
|
54299
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
54300
|
+
------------------------------------------------------------------------------------------------------------
|
54301
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
54302
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
54303
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", "---\n- test\n- test\n"], ["id", 1]]
|
54304
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
54305
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
54306
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
54307
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
54308
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
54309
|
+
FROM sqlite_master
|
54310
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
54311
|
+
UNION ALL
|
54312
|
+
SELECT sql
|
54313
|
+
FROM sqlite_temp_master
|
54314
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
54315
|
+
[0m
|
54316
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
54317
|
+
FROM sqlite_master
|
54318
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
54319
|
+
UNION ALL
|
54320
|
+
SELECT sql
|
54321
|
+
FROM sqlite_temp_master
|
54322
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
54323
|
+
|
54324
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
54325
|
+
FROM sqlite_master
|
54326
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
54327
|
+
UNION ALL
|
54328
|
+
SELECT sql
|
54329
|
+
FROM sqlite_temp_master
|
54330
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
54331
|
+
[0m
|
54332
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
54333
|
+
FROM sqlite_master
|
54334
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
54335
|
+
UNION ALL
|
54336
|
+
SELECT sql
|
54337
|
+
FROM sqlite_temp_master
|
54338
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
54339
|
+
|
54340
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
54341
|
+
FROM sqlite_master
|
54342
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
54343
|
+
UNION ALL
|
54344
|
+
SELECT sql
|
54345
|
+
FROM sqlite_temp_master
|
54346
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
54347
|
+
[0m
|
54348
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
54349
|
+
FROM sqlite_master
|
54350
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
54351
|
+
UNION ALL
|
54352
|
+
SELECT sql
|
54353
|
+
FROM sqlite_temp_master
|
54354
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
54355
|
+
|
54356
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
54357
|
+
FROM sqlite_master
|
54358
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
54359
|
+
UNION ALL
|
54360
|
+
SELECT sql
|
54361
|
+
FROM sqlite_temp_master
|
54362
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
54363
|
+
[0m
|
54364
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
54365
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54366
|
+
[1m[36mFixture Delete (1.4ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
54367
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
54368
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
54369
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
54370
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
54371
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
54372
|
+
[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
|
54373
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
54374
|
+
[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
|
54375
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
54376
|
+
[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
|
54377
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
54378
|
+
[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
|
54379
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
54380
|
+
[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
|
54381
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
54382
|
+
[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
|
54383
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
54384
|
+
[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
|
54385
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
54386
|
+
[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
|
54387
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
54388
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
54389
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
54390
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (24, 24, 8)[0m
|
54391
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
54392
|
+
[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
|
54393
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
54394
|
+
[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
|
54395
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
54396
|
+
[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
|
54397
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "has_many_fields"
|
54398
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
54399
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
54400
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
54401
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
54402
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
54403
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
54404
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
54405
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
54406
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
54407
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
54408
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
54409
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
54410
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
54411
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
54412
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
54413
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
54414
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
54415
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
54416
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
54417
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
54418
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
54419
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "has_one_fields"
|
54420
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (1)[0m
|
54421
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (2)
|
54422
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (3)[0m
|
54423
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (4)
|
54424
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (5)[0m
|
54425
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (6)
|
54426
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (7)[0m
|
54427
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (8)
|
54428
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (9)[0m
|
54429
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (10)
|
54430
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (11)[0m
|
54431
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (12)
|
54432
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (13)[0m
|
54433
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (14)
|
54434
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (15)[0m
|
54435
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (16)
|
54436
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (17)[0m
|
54437
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (18)
|
54438
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (19)[0m
|
54439
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (20)
|
54440
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (21)[0m
|
54441
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (22)
|
54442
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (23)[0m
|
54443
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (24)
|
54444
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (25)[0m
|
54445
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (26)
|
54446
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (27)[0m
|
54447
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (28)
|
54448
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (29)[0m
|
54449
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (30)
|
54450
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "owners"[0m
|
54451
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2016-05-30 09:00:00.000000', '2017-06-27 20:00:00.000000')
|
54452
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2017-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
54453
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2015-05-02 09:00:00.000000', '2016-06-28 08:00:00.000000')
|
54454
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
54455
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
54456
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
54457
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
54458
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
54459
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
54460
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "string_fields"[0m
|
54461
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')
|
54462
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')[0m
|
54463
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')
|
54464
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')[0m
|
54465
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')
|
54466
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')[0m
|
54467
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')
|
54468
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')[0m
|
54469
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')
|
54470
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')[0m
|
54471
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')
|
54472
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')[0m
|
54473
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')
|
54474
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')[0m
|
54475
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')
|
54476
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')[0m
|
54477
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')
|
54478
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')[0m
|
54479
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')
|
54480
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')[0m
|
54481
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')
|
54482
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')[0m
|
54483
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')
|
54484
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')[0m
|
54485
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')
|
54486
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')[0m
|
54487
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')
|
54488
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')[0m
|
54489
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')
|
54490
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')[0m
|
54491
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "trees"
|
54492
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2010-02-11 11:00:00.000000', '2010-02-11 11:00:00.000000')[0m
|
54493
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2010-02-15 21:00:00.000000', '2010-02-15 21:00:00.000000')
|
54494
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2012-04-11 12:00:00.000000', '2012-04-11 12:00:00.000000')[0m
|
54495
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')
|
54496
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2014-06-18 09:00:00.000000', '2014-06-18 09:00:00.000000')[0m
|
54497
|
+
[1m[35m (1.1ms)[0m commit transaction
|
54498
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54499
|
+
--------------------------------------------------------
|
54500
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
54501
|
+
--------------------------------------------------------
|
54502
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
54503
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
54504
|
+
------------------------------------------------------------------------------------
|
54505
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
54506
|
+
------------------------------------------------------------------------------------
|
54507
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
54508
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54509
|
+
-----------------------------------------------------------
|
54510
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
54511
|
+
-----------------------------------------------------------
|
54512
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54513
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54514
|
+
-------------------------------------------------------------------------
|
54515
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
54516
|
+
-------------------------------------------------------------------------
|
54517
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54518
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54519
|
+
--------------------------------------------------------------------------
|
54520
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
54521
|
+
--------------------------------------------------------------------------
|
54522
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54523
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
54524
|
+
-------------------------------------------------------------------------
|
54525
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
54526
|
+
-------------------------------------------------------------------------
|
54527
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54528
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54529
|
+
------------------------------------------------------------------------
|
54530
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
54531
|
+
------------------------------------------------------------------------
|
54532
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54533
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54534
|
+
---------------------------------------------------------------------------
|
54535
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
54536
|
+
---------------------------------------------------------------------------
|
54537
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54538
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
54539
|
+
---------------------------------------------------------
|
54540
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
54541
|
+
---------------------------------------------------------
|
54542
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54543
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54544
|
+
---------------------------------------------------------------------
|
54545
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
54546
|
+
---------------------------------------------------------------------
|
54547
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54548
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54549
|
+
--------------------------------------------------------------------------
|
54550
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
54551
|
+
--------------------------------------------------------------------------
|
54552
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54553
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54554
|
+
----------------------------------------------------------------------------------
|
54555
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
54556
|
+
----------------------------------------------------------------------------------
|
54557
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54558
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54559
|
+
-----------------------------------------------------------------------------
|
54560
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
54561
|
+
-----------------------------------------------------------------------------
|
54562
|
+
[1m[35m (0.4ms)[0m SELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)
|
54563
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54564
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54565
|
+
--------------------------------------------------------------------------------------------
|
54566
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_field
|
54567
|
+
--------------------------------------------------------------------------------------------
|
54568
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')[0m
|
54569
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54570
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
54571
|
+
---------------------------------------------------------------------------------------------------------
|
54572
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
54573
|
+
---------------------------------------------------------------------------------------------------------
|
54574
|
+
[1m[35mSerializeField Load (0.3ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
54575
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54576
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54577
|
+
---------------------------------------------------------------------------------------------------
|
54578
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
54579
|
+
---------------------------------------------------------------------------------------------------
|
54580
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
54581
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
54582
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54583
|
+
------------------------------------------------------------------------------------------------------
|
54584
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
54585
|
+
------------------------------------------------------------------------------------------------------
|
54586
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
54587
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
54588
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
54589
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54590
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54591
|
+
------------------------------------------------------------------------------------------------------------
|
54592
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
54593
|
+
------------------------------------------------------------------------------------------------------------
|
54594
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
54595
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
54596
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", "---\n- test\n- test\n"], ["id", 1]]
|
54597
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
54598
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
54599
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54600
|
+
---------------------------
|
54601
|
+
ForestLianaTest: test_truth
|
54602
|
+
---------------------------
|
54603
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54604
|
+
[1m[35m (0.0ms)[0m begin transaction
|
54605
|
+
--------------------------------------------------------------------
|
54606
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
54607
|
+
--------------------------------------------------------------------
|
54608
|
+
[1m[36mSQL (0.6ms)[0m [1mSELECT "has_one_fields"."id" AS t0_r0, "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
|
54609
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "has_one_fields"
|
54610
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54611
|
+
[1m[35m (0.3ms)[0m begin transaction
|
54612
|
+
-----------------------------------------------------------------------
|
54613
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
54614
|
+
-----------------------------------------------------------------------
|
54615
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT "belongs_to_fields"."id" AS t0_r0, "belongs_to_fields"."has_one_field_id" AS t0_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t0_r2, "belongs_to_fields"."has_many_field_id" AS t0_r3, "has_one_fields"."id" AS t1_r0, "has_many_fields"."id" AS t2_r0, "has_many_fields"."has_many_through_field_id" AS t2_r1, "has_many_class_name_fields"."id" AS t3_r0 FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" ORDER BY "has_one_fields"."id" ASC LIMIT 10 OFFSET 0[0m
|
54616
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "belongs_to_fields"
|
54617
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
54618
|
+
[1m[35m (0.0ms)[0m begin transaction
|
54619
|
+
-----------------------------------------------------------------
|
54620
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
54621
|
+
-----------------------------------------------------------------
|
54622
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0[0m
|
54623
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
54624
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54625
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54626
|
+
----------------------------------------------------------------
|
54627
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
54628
|
+
----------------------------------------------------------------
|
54629
|
+
[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.field DESC LIMIT 10 OFFSET 0[0m
|
54630
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
54631
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54632
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54633
|
+
------------------------------------------------------------------------------------------------
|
54634
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
54635
|
+
------------------------------------------------------------------------------------------------
|
54636
|
+
[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 (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
54637
|
+
[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 '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')
|
54638
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54639
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54640
|
+
-------------------------------------------------------------------------------------------
|
54641
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
54642
|
+
-------------------------------------------------------------------------------------------
|
54643
|
+
[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 '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0[0m
|
54644
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')
|
54645
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54646
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54647
|
+
------------------------------------------------------------------------------------
|
54648
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
54649
|
+
------------------------------------------------------------------------------------
|
54650
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0[0m
|
54651
|
+
[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')
|
54652
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54653
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54654
|
+
------------------------------------------------------------------------------------------------------
|
54655
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
54656
|
+
------------------------------------------------------------------------------------------------------
|
54657
|
+
[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 (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
54658
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')
|
54659
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54660
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54661
|
+
-----------------------------------------------------------------
|
54662
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
54663
|
+
-----------------------------------------------------------------
|
54664
|
+
[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
|
54665
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
54666
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
54667
|
+
[1m[35m (0.1ms)[0m begin transaction
|
54668
|
+
----------------------------------------------------------------
|
54669
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
54670
|
+
----------------------------------------------------------------
|
54671
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("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
|
54672
|
+
[1m[35m (0.2ms)[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')
|
54673
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54674
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
54675
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
54676
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
54677
|
+
FROM sqlite_master
|
54678
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
54679
|
+
UNION ALL
|
54680
|
+
SELECT sql
|
54681
|
+
FROM sqlite_temp_master
|
54682
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
54683
|
+
[0m
|
54684
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
54685
|
+
FROM sqlite_master
|
54686
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
54687
|
+
UNION ALL
|
54688
|
+
SELECT sql
|
54689
|
+
FROM sqlite_temp_master
|
54690
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
54691
|
+
|
54692
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
54693
|
+
FROM sqlite_master
|
54694
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
54695
|
+
UNION ALL
|
54696
|
+
SELECT sql
|
54697
|
+
FROM sqlite_temp_master
|
54698
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
54699
|
+
[0m
|
54700
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
54701
|
+
FROM sqlite_master
|
54702
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
54703
|
+
UNION ALL
|
54704
|
+
SELECT sql
|
54705
|
+
FROM sqlite_temp_master
|
54706
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
54707
|
+
|
54708
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
54709
|
+
FROM sqlite_master
|
54710
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
54711
|
+
UNION ALL
|
54712
|
+
SELECT sql
|
54713
|
+
FROM sqlite_temp_master
|
54714
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
54715
|
+
[0m
|
54716
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
54717
|
+
FROM sqlite_master
|
54718
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
54719
|
+
UNION ALL
|
54720
|
+
SELECT sql
|
54721
|
+
FROM sqlite_temp_master
|
54722
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
54723
|
+
|
54724
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
54725
|
+
FROM sqlite_master
|
54726
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
54727
|
+
UNION ALL
|
54728
|
+
SELECT sql
|
54729
|
+
FROM sqlite_temp_master
|
54730
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
54731
|
+
[0m
|
54732
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
54733
|
+
[1m[35m (0.3ms)[0m begin transaction
|
54734
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
54735
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
54736
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
54737
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
54738
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
54739
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
54740
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
54741
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
54742
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
54743
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
54744
|
+
[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
|
54745
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
54746
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (12, 12, 4)[0m
|
54747
|
+
[1m[35mFixture Insert (0.5ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
54748
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
54749
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
54750
|
+
[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
|
54751
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
54752
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
54753
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
54754
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (20, 20, 7)[0m
|
54755
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
54756
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
54757
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
54758
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (24, 24, 8)[0m
|
54759
|
+
[1m[35mFixture Insert (1.8ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
54760
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (26, 26, 9)[0m
|
54761
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
54762
|
+
[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
|
54763
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
54764
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
54765
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "has_many_fields"
|
54766
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
54767
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
54768
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
54769
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
54770
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
54771
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
54772
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
54773
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
54774
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
54775
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
54776
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
54777
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
54778
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
54779
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
54780
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
54781
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
54782
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
54783
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
54784
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
54785
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
54786
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
54787
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "has_one_fields"
|
54788
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (1)[0m
|
54789
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (2)
|
54790
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (3)[0m
|
54791
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (4)
|
54792
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (5)[0m
|
54793
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (6)
|
54794
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (7)[0m
|
54795
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (8)
|
54796
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (9)[0m
|
54797
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (10)
|
54798
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (11)[0m
|
54799
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (12)
|
54800
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (13)[0m
|
54801
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (14)
|
54802
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (15)[0m
|
54803
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (16)
|
54804
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (17)[0m
|
54805
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (18)
|
54806
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (19)[0m
|
54807
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (20)
|
54808
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (21)[0m
|
54809
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (22)
|
54810
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (23)[0m
|
54811
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (24)
|
54812
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (25)[0m
|
54813
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (26)
|
54814
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (27)[0m
|
54815
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (28)
|
54816
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (29)[0m
|
54817
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (30)
|
54818
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "owners"[0m
|
54819
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2016-05-30 09:00:00.000000', '2017-06-27 20:00:00.000000')
|
54820
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2017-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
54821
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2015-05-02 09:00:00.000000', '2016-06-28 08:00:00.000000')
|
54822
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
54823
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
54824
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
54825
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
54826
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
54827
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
54828
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "string_fields"[0m
|
54829
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')
|
54830
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')[0m
|
54831
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')
|
54832
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')[0m
|
54833
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')
|
54834
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')[0m
|
54835
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')
|
54836
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')[0m
|
54837
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')
|
54838
|
+
[1m[36mFixture Insert (1.9ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')[0m
|
54839
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')
|
54840
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')[0m
|
54841
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')
|
54842
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')[0m
|
54843
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')
|
54844
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')[0m
|
54845
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')
|
54846
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')[0m
|
54847
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')
|
54848
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')[0m
|
54849
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')
|
54850
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')[0m
|
54851
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')
|
54852
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')[0m
|
54853
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')
|
54854
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')[0m
|
54855
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')
|
54856
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')[0m
|
54857
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')
|
54858
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')[0m
|
54859
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "trees"
|
54860
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2010-02-11 11:00:00.000000', '2010-02-11 11:00:00.000000')[0m
|
54861
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2010-02-15 21:00:00.000000', '2010-02-15 21:00:00.000000')
|
54862
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2012-04-11 12:00:00.000000', '2012-04-11 12:00:00.000000')[0m
|
54863
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')
|
54864
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2014-06-18 09:00:00.000000', '2014-06-18 09:00:00.000000')[0m
|
54865
|
+
[1m[35m (1.2ms)[0m commit transaction
|
54866
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54867
|
+
--------------------------------------------------------
|
54868
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
54869
|
+
--------------------------------------------------------
|
54870
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54871
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54872
|
+
----------------------------------------------------------------------------------
|
54873
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
54874
|
+
----------------------------------------------------------------------------------
|
54875
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54876
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54877
|
+
------------------------------------------------------------------------
|
54878
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
54879
|
+
------------------------------------------------------------------------
|
54880
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54881
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54882
|
+
---------------------------------------------------------------------------
|
54883
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
54884
|
+
---------------------------------------------------------------------------
|
54885
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
54886
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54887
|
+
---------------------------------------------------------------------
|
54888
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
54889
|
+
---------------------------------------------------------------------
|
54890
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54891
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54892
|
+
---------------------------------------------------------
|
54893
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
54894
|
+
---------------------------------------------------------
|
54895
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54896
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54897
|
+
-------------------------------------------------------------------------
|
54898
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
54899
|
+
-------------------------------------------------------------------------
|
54900
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
54901
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54902
|
+
-----------------------------------------------------------
|
54903
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
54904
|
+
-----------------------------------------------------------
|
54905
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54906
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54907
|
+
------------------------------------------------------------------------------------
|
54908
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
54909
|
+
------------------------------------------------------------------------------------
|
54910
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
54911
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54912
|
+
--------------------------------------------------------------------------
|
54913
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
54914
|
+
--------------------------------------------------------------------------
|
54915
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54916
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54917
|
+
--------------------------------------------------------------------------
|
54918
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
54919
|
+
--------------------------------------------------------------------------
|
54920
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54921
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54922
|
+
-------------------------------------------------------------------------
|
54923
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
54924
|
+
-------------------------------------------------------------------------
|
54925
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
54926
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54927
|
+
-----------------------------------------------------------------
|
54928
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
54929
|
+
-----------------------------------------------------------------
|
54930
|
+
[1m[35mSQL (0.2ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10
|
54931
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
54932
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54934
|
+
----------------------------------------------------------------
|
54935
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
54936
|
+
----------------------------------------------------------------
|
54937
|
+
[1m[35mSQL (0.2ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.field DESC LIMIT 10 OFFSET 0
|
54938
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
54939
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54940
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54941
|
+
-------------------------------------------------------------------------------------------
|
54942
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
54943
|
+
-------------------------------------------------------------------------------------------
|
54944
|
+
[1m[35mSQL (0.3ms)[0m SELECT "owners"."id" AS t0_r0, "owners"."name" AS t0_r1, "owners"."created_at" AS t0_r2, "owners"."updated_at" AS t0_r3 FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0
|
54945
|
+
[1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
54946
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54947
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54948
|
+
-----------------------------------------------------------------
|
54949
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
54950
|
+
-----------------------------------------------------------------
|
54951
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0
|
54952
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
54953
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
54954
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
54955
|
+
------------------------------------------------------------------------------------------------
|
54956
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
54957
|
+
------------------------------------------------------------------------------------------------
|
54958
|
+
[1m[35mSQL (0.3ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
54959
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
54960
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54961
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54962
|
+
-----------------------------------------------------------------------
|
54963
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
54964
|
+
-----------------------------------------------------------------------
|
54965
|
+
[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_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
|
54966
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "belongs_to_fields"[0m
|
54967
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54969
|
+
------------------------------------------------------------------------------------------------------
|
54970
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
54971
|
+
------------------------------------------------------------------------------------------------------
|
54972
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
54973
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')[0m
|
54974
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
54975
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
54976
|
+
------------------------------------------------------------------------------------
|
54977
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
54978
|
+
------------------------------------------------------------------------------------
|
54979
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0
|
54980
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')[0m
|
54981
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54983
|
+
----------------------------------------------------------------
|
54984
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
54985
|
+
----------------------------------------------------------------
|
54986
|
+
[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
|
54987
|
+
[1m[36m (0.2ms)[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
|
54988
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54989
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
54990
|
+
--------------------------------------------------------------------
|
54991
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
54992
|
+
--------------------------------------------------------------------
|
54993
|
+
[1m[35mSQL (0.4ms)[0m SELECT "has_one_fields"."id" AS t0_r0, "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
|
54994
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "has_one_fields"[0m
|
54995
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
54996
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
54997
|
+
--------------------------------------------------------------------------------------------
|
54998
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_field
|
54999
|
+
--------------------------------------------------------------------------------------------
|
55000
|
+
[1m[35m (0.2ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')
|
55001
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
55002
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55003
|
+
-----------------------------------------------------------------------------
|
55004
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
55005
|
+
-----------------------------------------------------------------------------
|
55006
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
55007
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55008
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55009
|
+
---------------------------
|
55010
|
+
ForestLianaTest: test_truth
|
55011
|
+
---------------------------
|
55012
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
55013
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55014
|
+
---------------------------------------------------------------------------------------------------
|
55015
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
55016
|
+
---------------------------------------------------------------------------------------------------
|
55017
|
+
[1m[35mSerializeField Load (0.2ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
55018
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
55019
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", nil], ["id", 1]]
|
55020
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
55021
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
55022
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55023
|
+
------------------------------------------------------------------------------------------------------------
|
55024
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
55025
|
+
------------------------------------------------------------------------------------------------------------
|
55026
|
+
[1m[35mSerializeField Load (0.2ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
55027
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
55028
|
+
[1m[35mSQL (1.4ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", "---\n- test\n- test\n"], ["id", 1]]
|
55029
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
55030
|
+
[1m[35m (2.5ms)[0m rollback transaction
|
55031
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55032
|
+
---------------------------------------------------------------------------------------------------------
|
55033
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
55034
|
+
---------------------------------------------------------------------------------------------------------
|
55035
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
55036
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55037
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55038
|
+
------------------------------------------------------------------------------------------------------
|
55039
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
55040
|
+
------------------------------------------------------------------------------------------------------
|
55041
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
55042
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
55043
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
55044
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
55045
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
55046
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
55047
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
55048
|
+
FROM sqlite_master
|
55049
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
55050
|
+
UNION ALL
|
55051
|
+
SELECT sql
|
55052
|
+
FROM sqlite_temp_master
|
55053
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
55054
|
+
[0m
|
55055
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
55056
|
+
FROM sqlite_master
|
55057
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
55058
|
+
UNION ALL
|
55059
|
+
SELECT sql
|
55060
|
+
FROM sqlite_temp_master
|
55061
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
55062
|
+
|
55063
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
55064
|
+
FROM sqlite_master
|
55065
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
55066
|
+
UNION ALL
|
55067
|
+
SELECT sql
|
55068
|
+
FROM sqlite_temp_master
|
55069
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
55070
|
+
[0m
|
55071
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
55072
|
+
FROM sqlite_master
|
55073
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
55074
|
+
UNION ALL
|
55075
|
+
SELECT sql
|
55076
|
+
FROM sqlite_temp_master
|
55077
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
55078
|
+
|
55079
|
+
[1m[36m (0.5ms)[0m [1m SELECT sql
|
55080
|
+
FROM sqlite_master
|
55081
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
55082
|
+
UNION ALL
|
55083
|
+
SELECT sql
|
55084
|
+
FROM sqlite_temp_master
|
55085
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
55086
|
+
[0m
|
55087
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
55088
|
+
FROM sqlite_master
|
55089
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
55090
|
+
UNION ALL
|
55091
|
+
SELECT sql
|
55092
|
+
FROM sqlite_temp_master
|
55093
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
55094
|
+
|
55095
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
55096
|
+
FROM sqlite_master
|
55097
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
55098
|
+
UNION ALL
|
55099
|
+
SELECT sql
|
55100
|
+
FROM sqlite_temp_master
|
55101
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
55102
|
+
[0m
|
55103
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
55104
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55105
|
+
[1m[36mFixture Delete (4.5ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
55106
|
+
[1m[35mFixture Insert (0.5ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
55107
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
55108
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
55109
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
55110
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
55111
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
55112
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
55113
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
55114
|
+
[1m[35mFixture Insert (0.6ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
55115
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
55116
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
55117
|
+
[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
|
55118
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
55119
|
+
[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
|
55120
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
55121
|
+
[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
|
55122
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
55123
|
+
[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
|
55124
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
55125
|
+
[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
|
55126
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
55127
|
+
[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
|
55128
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
55129
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (24, 24, 8)[0m
|
55130
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
55131
|
+
[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
|
55132
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
55133
|
+
[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
|
55134
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
55135
|
+
[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
|
55136
|
+
[1m[35mFixture Delete (1.0ms)[0m DELETE FROM "has_many_fields"
|
55137
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
55138
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
55139
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
55140
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
55141
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
55142
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
55143
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
55144
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
55145
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
55146
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
55147
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
55148
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
55149
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
55150
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
55151
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
55152
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
55153
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
55154
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
55155
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
55156
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
55157
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
55158
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "has_one_fields"
|
55159
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (1)[0m
|
55160
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (2)
|
55161
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (3)[0m
|
55162
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (4)
|
55163
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (5)[0m
|
55164
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (6)
|
55165
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (7)[0m
|
55166
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (8)
|
55167
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (9)[0m
|
55168
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (10)
|
55169
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (11)[0m
|
55170
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (12)
|
55171
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (13)[0m
|
55172
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (14)
|
55173
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (15)[0m
|
55174
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (16)
|
55175
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (17)[0m
|
55176
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (18)
|
55177
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (19)[0m
|
55178
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (20)
|
55179
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (21)[0m
|
55180
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (22)
|
55181
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (23)[0m
|
55182
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (24)
|
55183
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (25)[0m
|
55184
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (26)
|
55185
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (27)[0m
|
55186
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (28)
|
55187
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (29)[0m
|
55188
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (30)
|
55189
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "owners"[0m
|
55190
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2016-05-30 09:00:00.000000', '2017-06-27 20:00:00.000000')
|
55191
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2017-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
55192
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2015-05-02 09:00:00.000000', '2016-06-28 08:00:00.000000')
|
55193
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
55194
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
55195
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
55196
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
55197
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
55198
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
55199
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "string_fields"[0m
|
55200
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')
|
55201
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')[0m
|
55202
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')
|
55203
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')[0m
|
55204
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')
|
55205
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')[0m
|
55206
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')
|
55207
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')[0m
|
55208
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')
|
55209
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')[0m
|
55210
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')
|
55211
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')[0m
|
55212
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')
|
55213
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')[0m
|
55214
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')
|
55215
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')[0m
|
55216
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')
|
55217
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')[0m
|
55218
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')
|
55219
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')[0m
|
55220
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')
|
55221
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')[0m
|
55222
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')
|
55223
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')[0m
|
55224
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')
|
55225
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')[0m
|
55226
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')
|
55227
|
+
[1m[36mFixture Insert (5.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')[0m
|
55228
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')
|
55229
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')[0m
|
55230
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "trees"
|
55231
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2010-02-11 11:00:00.000000', '2010-02-11 11:00:00.000000')[0m
|
55232
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2010-02-15 21:00:00.000000', '2010-02-15 21:00:00.000000')
|
55233
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2012-04-11 12:00:00.000000', '2012-04-11 12:00:00.000000')[0m
|
55234
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')
|
55235
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2014-06-18 09:00:00.000000', '2014-06-18 09:00:00.000000')[0m
|
55236
|
+
[1m[35m (1.4ms)[0m commit transaction
|
55237
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55238
|
+
-------------------------------------------------------------------------------------------
|
55239
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
55240
|
+
-------------------------------------------------------------------------------------------
|
55241
|
+
[1m[35mOwner Load (0.4ms)[0m SELECT "owners".* FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0
|
55242
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
55243
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55244
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55245
|
+
--------------------------------------------------------------------
|
55246
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
55247
|
+
--------------------------------------------------------------------
|
55248
|
+
[1m[35mHasOneField Load (0.3ms)[0m SELECT "has_one_fields".* FROM "has_one_fields" ORDER BY "belongs_to_fields"."id" DESC LIMIT 10 OFFSET 0
|
55249
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55250
|
+
[1m[35m (0.2ms)[0m begin transaction
|
55251
|
+
------------------------------------------------------------------------------------------------
|
55252
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
55253
|
+
------------------------------------------------------------------------------------------------
|
55254
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
55255
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55256
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55257
|
+
----------------------------------------------------------------
|
55258
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
55259
|
+
----------------------------------------------------------------
|
55260
|
+
[1m[35mStringField Load (0.3ms)[0m SELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.field DESC LIMIT 10 OFFSET 0
|
55261
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
55262
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55264
|
+
----------------------------------------------------------------
|
55265
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
55266
|
+
----------------------------------------------------------------
|
55267
|
+
[1m[35mTree Load (0.2ms)[0m SELECT "trees".* FROM "trees" 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
|
55268
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55269
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55270
|
+
-----------------------------------------------------------------
|
55271
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
55272
|
+
-----------------------------------------------------------------
|
55273
|
+
[1m[36mStringField Load (0.2ms)[0m [1mSELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10[0m
|
55274
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
55275
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55276
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55277
|
+
------------------------------------------------------------------------------------
|
55278
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
55279
|
+
------------------------------------------------------------------------------------
|
55280
|
+
[1m[36mTree Load (0.3ms)[0m [1mSELECT "trees".* FROM "trees" WHERE (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0[0m
|
55281
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55282
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55283
|
+
-----------------------------------------------------------------------
|
55284
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
55285
|
+
-----------------------------------------------------------------------
|
55286
|
+
[1m[35mBelongsToField Load (0.3ms)[0m SELECT "belongs_to_fields".* FROM "belongs_to_fields" ORDER BY "has_one_fields"."id" ASC LIMIT 10 OFFSET 0
|
55287
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55288
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55289
|
+
-----------------------------------------------------------------
|
55290
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
55291
|
+
-----------------------------------------------------------------
|
55292
|
+
[1m[36mStringField Load (0.2ms)[0m [1mSELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0[0m
|
55293
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
55294
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55295
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55296
|
+
------------------------------------------------------------------------------------------------------
|
55297
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
55298
|
+
------------------------------------------------------------------------------------------------------
|
55299
|
+
[1m[36mTree Load (0.3ms)[0m [1mSELECT "trees".* FROM "trees" 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
|
55300
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55301
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55302
|
+
------------------------------------------------------------------------
|
55303
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
55304
|
+
------------------------------------------------------------------------
|
55305
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55307
|
+
----------------------------------------------------------------------------------
|
55308
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
55309
|
+
----------------------------------------------------------------------------------
|
55310
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55311
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55312
|
+
--------------------------------------------------------
|
55313
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
55314
|
+
--------------------------------------------------------
|
55315
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55317
|
+
--------------------------------------------------------------------------
|
55318
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
55319
|
+
--------------------------------------------------------------------------
|
55320
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55321
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55322
|
+
--------------------------------------------------------------------------
|
55323
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
55324
|
+
--------------------------------------------------------------------------
|
55325
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55327
|
+
-------------------------------------------------------------------------
|
55328
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
55329
|
+
-------------------------------------------------------------------------
|
55330
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55331
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55332
|
+
-----------------------------------------------------------
|
55333
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
55334
|
+
-----------------------------------------------------------
|
55335
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55336
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55337
|
+
---------------------------------------------------------------------------
|
55338
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
55339
|
+
---------------------------------------------------------------------------
|
55340
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55342
|
+
---------------------------------------------------------
|
55343
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
55344
|
+
---------------------------------------------------------
|
55345
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55346
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55347
|
+
---------------------------------------------------------------------
|
55348
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
55349
|
+
---------------------------------------------------------------------
|
55350
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55351
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55352
|
+
------------------------------------------------------------------------------------
|
55353
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
55354
|
+
------------------------------------------------------------------------------------
|
55355
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55356
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55357
|
+
-------------------------------------------------------------------------
|
55358
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
55359
|
+
-------------------------------------------------------------------------
|
55360
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55361
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55362
|
+
---------------------------
|
55363
|
+
ForestLianaTest: test_truth
|
55364
|
+
---------------------------
|
55365
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
55366
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
55367
|
+
--------------------------------------------------------------------------------------------
|
55368
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_field
|
55369
|
+
--------------------------------------------------------------------------------------------
|
55370
|
+
[1m[35m (0.3ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')
|
55371
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55372
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55373
|
+
-----------------------------------------------------------------------------
|
55374
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
55375
|
+
-----------------------------------------------------------------------------
|
55376
|
+
[1m[36m (0.3ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
55377
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55378
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55379
|
+
------------------------------------------------------------------------------------------------------
|
55380
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
55381
|
+
------------------------------------------------------------------------------------------------------
|
55382
|
+
[1m[35mSerializeField Load (0.3ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
55383
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
55384
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
55385
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55386
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55387
|
+
------------------------------------------------------------------------------------------------------------
|
55388
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
55389
|
+
------------------------------------------------------------------------------------------------------------
|
55390
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
55391
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
55392
|
+
[1m[36mSQL (0.7ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", "---\n- test\n- test\n"], ["id", 1]]
|
55393
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
55394
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
55395
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55396
|
+
---------------------------------------------------------------------------------------------------------
|
55397
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
55398
|
+
---------------------------------------------------------------------------------------------------------
|
55399
|
+
[1m[36mSerializeField Load (2.0ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
55400
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55401
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
55402
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
55403
|
+
[1m[36m (0.4ms)[0m [1m SELECT sql
|
55404
|
+
FROM sqlite_master
|
55405
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
55406
|
+
UNION ALL
|
55407
|
+
SELECT sql
|
55408
|
+
FROM sqlite_temp_master
|
55409
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
55410
|
+
[0m
|
55411
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
55412
|
+
FROM sqlite_master
|
55413
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
55414
|
+
UNION ALL
|
55415
|
+
SELECT sql
|
55416
|
+
FROM sqlite_temp_master
|
55417
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
55418
|
+
|
55419
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
55420
|
+
FROM sqlite_master
|
55421
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
55422
|
+
UNION ALL
|
55423
|
+
SELECT sql
|
55424
|
+
FROM sqlite_temp_master
|
55425
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
55426
|
+
[0m
|
55427
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
55428
|
+
FROM sqlite_master
|
55429
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
55430
|
+
UNION ALL
|
55431
|
+
SELECT sql
|
55432
|
+
FROM sqlite_temp_master
|
55433
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
55434
|
+
|
55435
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
55436
|
+
FROM sqlite_master
|
55437
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
55438
|
+
UNION ALL
|
55439
|
+
SELECT sql
|
55440
|
+
FROM sqlite_temp_master
|
55441
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
55442
|
+
[0m
|
55443
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
55444
|
+
FROM sqlite_master
|
55445
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
55446
|
+
UNION ALL
|
55447
|
+
SELECT sql
|
55448
|
+
FROM sqlite_temp_master
|
55449
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
55450
|
+
|
55451
|
+
[1m[36m (0.9ms)[0m [1m SELECT sql
|
55452
|
+
FROM sqlite_master
|
55453
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
55454
|
+
UNION ALL
|
55455
|
+
SELECT sql
|
55456
|
+
FROM sqlite_temp_master
|
55457
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
55458
|
+
[0m
|
55459
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
55460
|
+
[1m[35m (0.2ms)[0m begin transaction
|
55461
|
+
[1m[36mFixture Delete (3.2ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
55462
|
+
[1m[35mFixture Insert (0.6ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
55463
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
55464
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
55465
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
55466
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
55467
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
55468
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
55469
|
+
[1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
55470
|
+
[1m[35mFixture Insert (0.7ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
55471
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
55472
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
55473
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (12, 12, 4)[0m
|
55474
|
+
[1m[35mFixture Insert (0.9ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
55475
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
55476
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
55477
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (16, 16, 6)[0m
|
55478
|
+
[1m[35mFixture Insert (1.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
55479
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
55480
|
+
[1m[35mFixture Insert (0.5ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
55481
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (20, 20, 7)[0m
|
55482
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
55483
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
55484
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
55485
|
+
[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
|
55486
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
55487
|
+
[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
|
55488
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
55489
|
+
[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
|
55490
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
55491
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
55492
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "has_many_fields"
|
55493
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
55494
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
55495
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
55496
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
55497
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
55498
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
55499
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
55500
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
55501
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
55502
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
55503
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
55504
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
55505
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
55506
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
55507
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
55508
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
55509
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
55510
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
55511
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
55512
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
55513
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
55514
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "has_one_fields"
|
55515
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (1)[0m
|
55516
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (2)
|
55517
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (3)[0m
|
55518
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (4)
|
55519
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (5)[0m
|
55520
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (6)
|
55521
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (7)[0m
|
55522
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (8)
|
55523
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (9)[0m
|
55524
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (10)
|
55525
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (11)[0m
|
55526
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (12)
|
55527
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (13)[0m
|
55528
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (14)
|
55529
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (15)[0m
|
55530
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (16)
|
55531
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (17)[0m
|
55532
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (18)
|
55533
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (19)[0m
|
55534
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (20)
|
55535
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (21)[0m
|
55536
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (22)
|
55537
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (23)[0m
|
55538
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (24)
|
55539
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (25)[0m
|
55540
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (26)
|
55541
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (27)[0m
|
55542
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (28)
|
55543
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (29)[0m
|
55544
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (30)
|
55545
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "owners"[0m
|
55546
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2016-05-30 09:00:00.000000', '2017-06-27 20:00:00.000000')
|
55547
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2017-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
55548
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2015-05-02 09:00:00.000000', '2016-06-28 08:00:00.000000')
|
55549
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
55550
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
55551
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
55552
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
55553
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
55554
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
55555
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "string_fields"[0m
|
55556
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')
|
55557
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')[0m
|
55558
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')
|
55559
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')[0m
|
55560
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')
|
55561
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')[0m
|
55562
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')
|
55563
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')[0m
|
55564
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')
|
55565
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')[0m
|
55566
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')
|
55567
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')[0m
|
55568
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')
|
55569
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')[0m
|
55570
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')
|
55571
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')[0m
|
55572
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')
|
55573
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')[0m
|
55574
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')
|
55575
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')[0m
|
55576
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')
|
55577
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')[0m
|
55578
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')
|
55579
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')[0m
|
55580
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')
|
55581
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')[0m
|
55582
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')
|
55583
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')[0m
|
55584
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')
|
55585
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')[0m
|
55586
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "trees"
|
55587
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2010-02-11 11:00:00.000000', '2010-02-11 11:00:00.000000')[0m
|
55588
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2010-02-15 21:00:00.000000', '2010-02-15 21:00:00.000000')
|
55589
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2012-04-11 12:00:00.000000', '2012-04-11 12:00:00.000000')[0m
|
55590
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')
|
55591
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2014-06-18 09:00:00.000000', '2014-06-18 09:00:00.000000')[0m
|
55592
|
+
[1m[35m (2.2ms)[0m commit transaction
|
55593
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55594
|
+
------------------------------------------------------------------------------------
|
55595
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
55596
|
+
------------------------------------------------------------------------------------
|
55597
|
+
[1m[35mTree Load (0.4ms)[0m SELECT "trees".* FROM "trees" INNER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0
|
55598
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "trees" INNER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')[0m
|
55599
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55601
|
+
-----------------------------------------------------------------
|
55602
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
55603
|
+
-----------------------------------------------------------------
|
55604
|
+
[1m[35mStringField Load (0.2ms)[0m SELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10
|
55605
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
55606
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
55607
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
55608
|
+
--------------------------------------------------------------------
|
55609
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
55610
|
+
--------------------------------------------------------------------
|
55611
|
+
[1m[35mHasOneField Load (0.3ms)[0m SELECT "has_one_fields".* FROM "has_one_fields" ORDER BY "belongs_to_fields"."id" DESC LIMIT 10 OFFSET 0
|
55612
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55613
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55614
|
+
-------------------------------------------------------------------------------------------
|
55615
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
55616
|
+
-------------------------------------------------------------------------------------------
|
55617
|
+
[1m[36mOwner Load (0.4ms)[0m [1mSELECT "owners".* FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0[0m
|
55618
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')
|
55619
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55620
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55621
|
+
----------------------------------------------------------------
|
55622
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
55623
|
+
----------------------------------------------------------------
|
55624
|
+
[1m[36mTree Load (1.1ms)[0m [1mSELECT "trees".* FROM "trees" INNER 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
|
55625
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "trees" INNER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier')
|
55626
|
+
[1m[36mOwner Load (0.2ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 2]]
|
55627
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55628
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55629
|
+
-----------------------------------------------------------------
|
55630
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
55631
|
+
-----------------------------------------------------------------
|
55632
|
+
[1m[35mStringField Load (0.2ms)[0m SELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0
|
55633
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
55634
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55635
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55636
|
+
-----------------------------------------------------------------------
|
55637
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
55638
|
+
-----------------------------------------------------------------------
|
55639
|
+
[1m[35mBelongsToField Load (0.2ms)[0m SELECT "belongs_to_fields".* FROM "belongs_to_fields" ORDER BY "has_one_fields"."id" ASC LIMIT 10 OFFSET 0
|
55640
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55641
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55642
|
+
----------------------------------------------------------------
|
55643
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
55644
|
+
----------------------------------------------------------------
|
55645
|
+
[1m[36mStringField Load (0.3ms)[0m [1mSELECT "string_fields".* FROM "string_fields" ORDER BY string_fields.field DESC LIMIT 10 OFFSET 0[0m
|
55646
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
55647
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55648
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55649
|
+
------------------------------------------------------------------------------------------------
|
55650
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
55651
|
+
------------------------------------------------------------------------------------------------
|
55652
|
+
[1m[36mTree Load (0.5ms)[0m [1mSELECT "trees".* FROM "trees" INNER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0[0m
|
55653
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "trees" INNER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')
|
55654
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55655
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55656
|
+
------------------------------------------------------------------------------------------------------
|
55657
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
55658
|
+
------------------------------------------------------------------------------------------------------
|
55659
|
+
[1m[36mTree Load (0.2ms)[0m [1mSELECT "trees".* FROM "trees" INNER 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
|
55660
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "trees" INNER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')
|
55661
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55662
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55663
|
+
--------------------------------------------------------------------------------------------
|
55664
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_field
|
55665
|
+
--------------------------------------------------------------------------------------------
|
55666
|
+
[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
|
55667
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
55668
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55669
|
+
-----------------------------------------------------------------------------
|
55670
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
55671
|
+
-----------------------------------------------------------------------------
|
55672
|
+
[1m[35m (0.5ms)[0m SELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)
|
55673
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55674
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55675
|
+
---------------------------
|
55676
|
+
ForestLianaTest: test_truth
|
55677
|
+
---------------------------
|
55678
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55679
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55680
|
+
---------------------------------------------------------------------------
|
55681
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
55682
|
+
---------------------------------------------------------------------------
|
55683
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55684
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55685
|
+
--------------------------------------------------------
|
55686
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
55687
|
+
--------------------------------------------------------
|
55688
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55689
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55690
|
+
-------------------------------------------------------------------------
|
55691
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
55692
|
+
-------------------------------------------------------------------------
|
55693
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55694
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55695
|
+
--------------------------------------------------------------------------
|
55696
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
55697
|
+
--------------------------------------------------------------------------
|
55698
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55699
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55700
|
+
-------------------------------------------------------------------------
|
55701
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
55702
|
+
-------------------------------------------------------------------------
|
55703
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55704
|
+
[1m[35m (0.0ms)[0m begin transaction
|
55705
|
+
------------------------------------------------------------------------------------
|
55706
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
55707
|
+
------------------------------------------------------------------------------------
|
55708
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55709
|
+
[1m[35m (0.0ms)[0m begin transaction
|
55710
|
+
-----------------------------------------------------------
|
55711
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
55712
|
+
-----------------------------------------------------------
|
55713
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55714
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55715
|
+
---------------------------------------------------------
|
55716
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
55717
|
+
---------------------------------------------------------
|
55718
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55719
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55720
|
+
------------------------------------------------------------------------
|
55721
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
55722
|
+
------------------------------------------------------------------------
|
55723
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55724
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55725
|
+
--------------------------------------------------------------------------
|
55726
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
55727
|
+
--------------------------------------------------------------------------
|
55728
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55729
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55730
|
+
---------------------------------------------------------------------
|
55731
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
55732
|
+
---------------------------------------------------------------------
|
55733
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55734
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55735
|
+
----------------------------------------------------------------------------------
|
55736
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
55737
|
+
----------------------------------------------------------------------------------
|
55738
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55739
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55740
|
+
------------------------------------------------------------------------------------------------------
|
55741
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
55742
|
+
------------------------------------------------------------------------------------------------------
|
55743
|
+
[1m[36mSerializeField Load (0.2ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
55744
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
55745
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
55746
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55747
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
55748
|
+
---------------------------------------------------------------------------------------------------------
|
55749
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
55750
|
+
---------------------------------------------------------------------------------------------------------
|
55751
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
55752
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55753
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55754
|
+
------------------------------------------------------------------------------------------------------------
|
55755
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
55756
|
+
------------------------------------------------------------------------------------------------------------
|
55757
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
55758
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
55759
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", "---\n- test\n- test\n"], ["id", 1]]
|
55760
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
55761
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
55762
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
55763
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
55764
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
55765
|
+
FROM sqlite_master
|
55766
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
55767
|
+
UNION ALL
|
55768
|
+
SELECT sql
|
55769
|
+
FROM sqlite_temp_master
|
55770
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
55771
|
+
[0m
|
55772
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
55773
|
+
FROM sqlite_master
|
55774
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
55775
|
+
UNION ALL
|
55776
|
+
SELECT sql
|
55777
|
+
FROM sqlite_temp_master
|
55778
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
55779
|
+
|
55780
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
55781
|
+
FROM sqlite_master
|
55782
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
55783
|
+
UNION ALL
|
55784
|
+
SELECT sql
|
55785
|
+
FROM sqlite_temp_master
|
55786
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
55787
|
+
[0m
|
55788
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
55789
|
+
FROM sqlite_master
|
55790
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
55791
|
+
UNION ALL
|
55792
|
+
SELECT sql
|
55793
|
+
FROM sqlite_temp_master
|
55794
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
55795
|
+
|
55796
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
55797
|
+
FROM sqlite_master
|
55798
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
55799
|
+
UNION ALL
|
55800
|
+
SELECT sql
|
55801
|
+
FROM sqlite_temp_master
|
55802
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
55803
|
+
[0m
|
55804
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
55805
|
+
FROM sqlite_master
|
55806
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
55807
|
+
UNION ALL
|
55808
|
+
SELECT sql
|
55809
|
+
FROM sqlite_temp_master
|
55810
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
55811
|
+
|
55812
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
55813
|
+
FROM sqlite_master
|
55814
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
55815
|
+
UNION ALL
|
55816
|
+
SELECT sql
|
55817
|
+
FROM sqlite_temp_master
|
55818
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
55819
|
+
[0m
|
55820
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
55821
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55822
|
+
[1m[36mFixture Delete (1.3ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
55823
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
55824
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
55825
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
55826
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
55827
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
55828
|
+
[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
|
55829
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
55830
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
55831
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
55832
|
+
[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
|
55833
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
55834
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (12, 12, 4)[0m
|
55835
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
55836
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
55837
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
55838
|
+
[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
|
55839
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
55840
|
+
[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
|
55841
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
55842
|
+
[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
|
55843
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
55844
|
+
[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
|
55845
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
55846
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (24, 24, 8)[0m
|
55847
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
55848
|
+
[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
|
55849
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
55850
|
+
[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
|
55851
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
55852
|
+
[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
|
55853
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "has_many_fields"
|
55854
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
55855
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
55856
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
55857
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
55858
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
55859
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
55860
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
55861
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
55862
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
55863
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
55864
|
+
[1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
55865
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
55866
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
55867
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
55868
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
55869
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
55870
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
55871
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
55872
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
55873
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
55874
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
55875
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "has_one_fields"
|
55876
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (1)[0m
|
55877
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (2)
|
55878
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (3)[0m
|
55879
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (4)
|
55880
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (5)[0m
|
55881
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (6)
|
55882
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (7)[0m
|
55883
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (8)
|
55884
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (9)[0m
|
55885
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (10)
|
55886
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (11)[0m
|
55887
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (12)
|
55888
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (13)[0m
|
55889
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (14)
|
55890
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (15)[0m
|
55891
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (16)
|
55892
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (17)[0m
|
55893
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (18)
|
55894
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (19)[0m
|
55895
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (20)
|
55896
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (21)[0m
|
55897
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (22)
|
55898
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (23)[0m
|
55899
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (24)
|
55900
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (25)[0m
|
55901
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (26)
|
55902
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (27)[0m
|
55903
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (28)
|
55904
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (29)[0m
|
55905
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (30)
|
55906
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "owners"[0m
|
55907
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2016-05-30 09:00:00.000000', '2017-06-27 20:00:00.000000')
|
55908
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2017-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
55909
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2015-05-02 09:00:00.000000', '2016-06-28 08:00:00.000000')
|
55910
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
55911
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
55912
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
55913
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
55914
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
55915
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
55916
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "string_fields"[0m
|
55917
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')
|
55918
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')[0m
|
55919
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')
|
55920
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')[0m
|
55921
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')
|
55922
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')[0m
|
55923
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')
|
55924
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')[0m
|
55925
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')
|
55926
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')[0m
|
55927
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')
|
55928
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')[0m
|
55929
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')
|
55930
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')[0m
|
55931
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')
|
55932
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')[0m
|
55933
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')
|
55934
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')[0m
|
55935
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')
|
55936
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')[0m
|
55937
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')
|
55938
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')[0m
|
55939
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')
|
55940
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')[0m
|
55941
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')
|
55942
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')[0m
|
55943
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')
|
55944
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')[0m
|
55945
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')
|
55946
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')[0m
|
55947
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "trees"
|
55948
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2010-02-11 11:00:00.000000', '2010-02-11 11:00:00.000000')[0m
|
55949
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2010-02-15 21:00:00.000000', '2010-02-15 21:00:00.000000')
|
55950
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2012-04-11 12:00:00.000000', '2012-04-11 12:00:00.000000')[0m
|
55951
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')
|
55952
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2014-06-18 09:00:00.000000', '2014-06-18 09:00:00.000000')[0m
|
55953
|
+
[1m[35m (1.6ms)[0m commit transaction
|
55954
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55955
|
+
---------------------------------------------------------------------------------------------------------
|
55956
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
55957
|
+
---------------------------------------------------------------------------------------------------------
|
55958
|
+
[1m[35mSerializeField Load (0.4ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
55959
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55960
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55961
|
+
------------------------------------------------------------------------------------------------------------
|
55962
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
55963
|
+
------------------------------------------------------------------------------------------------------------
|
55964
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
55965
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
55966
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", "---\n- test\n- test\n"], ["id", 1]]
|
55967
|
+
[1m[35m (0.7ms)[0m RELEASE SAVEPOINT active_record_1
|
55968
|
+
[1m[36m (3.5ms)[0m [1mrollback transaction[0m
|
55969
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55970
|
+
------------------------------------------------------------------------------------------------------
|
55971
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
55972
|
+
------------------------------------------------------------------------------------------------------
|
55973
|
+
[1m[36mSerializeField Load (0.5ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
55974
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
55975
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
55976
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55977
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55978
|
+
---------------------------
|
55979
|
+
ForestLianaTest: test_truth
|
55980
|
+
---------------------------
|
55981
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
55982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55983
|
+
--------------------------------------------------------------------------------------------
|
55984
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_field
|
55985
|
+
--------------------------------------------------------------------------------------------
|
55986
|
+
[1m[35m (0.3ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')
|
55987
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55988
|
+
[1m[35m (0.1ms)[0m begin transaction
|
55989
|
+
-----------------------------------------------------------------------------
|
55990
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
55991
|
+
-----------------------------------------------------------------------------
|
55992
|
+
[1m[36m (1.0ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
55993
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
55994
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
55995
|
+
--------------------------------------------------------
|
55996
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
55997
|
+
--------------------------------------------------------
|
55998
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
55999
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56000
|
+
------------------------------------------------------------------------
|
56001
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
56002
|
+
------------------------------------------------------------------------
|
56003
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56004
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56005
|
+
---------------------------------------------------------------------------
|
56006
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
56007
|
+
---------------------------------------------------------------------------
|
56008
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
56009
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
56010
|
+
---------------------------------------------------------
|
56011
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
56012
|
+
---------------------------------------------------------
|
56013
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56014
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56015
|
+
--------------------------------------------------------------------------
|
56016
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
56017
|
+
--------------------------------------------------------------------------
|
56018
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56019
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56020
|
+
----------------------------------------------------------------------------------
|
56021
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
56022
|
+
----------------------------------------------------------------------------------
|
56023
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56024
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56025
|
+
-----------------------------------------------------------
|
56026
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
56027
|
+
-----------------------------------------------------------
|
56028
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56030
|
+
--------------------------------------------------------------------------
|
56031
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
56032
|
+
--------------------------------------------------------------------------
|
56033
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56034
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56035
|
+
------------------------------------------------------------------------------------
|
56036
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
56037
|
+
------------------------------------------------------------------------------------
|
56038
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56039
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56040
|
+
-------------------------------------------------------------------------
|
56041
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
56042
|
+
-------------------------------------------------------------------------
|
56043
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56044
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56045
|
+
---------------------------------------------------------------------
|
56046
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
56047
|
+
---------------------------------------------------------------------
|
56048
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
56049
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56050
|
+
-------------------------------------------------------------------------
|
56051
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
56052
|
+
-------------------------------------------------------------------------
|
56053
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
56054
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56055
|
+
------------------------------------------------------------------------------------
|
56056
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
56057
|
+
------------------------------------------------------------------------------------
|
56058
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56059
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56060
|
+
----------------------------------------------------------------
|
56061
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
56062
|
+
----------------------------------------------------------------
|
56063
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56064
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56065
|
+
-----------------------------------------------------------------------
|
56066
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
56067
|
+
-----------------------------------------------------------------------
|
56068
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56069
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56070
|
+
-----------------------------------------------------------------
|
56071
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
56072
|
+
-----------------------------------------------------------------
|
56073
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56074
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56075
|
+
------------------------------------------------------------------------------------------------------
|
56076
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
56077
|
+
------------------------------------------------------------------------------------------------------
|
56078
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
56079
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
56080
|
+
-----------------------------------------------------------------
|
56081
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
56082
|
+
-----------------------------------------------------------------
|
56083
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56084
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56085
|
+
-------------------------------------------------------------------------------------------
|
56086
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
56087
|
+
-------------------------------------------------------------------------------------------
|
56088
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56089
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56090
|
+
----------------------------------------------------------------
|
56091
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
56092
|
+
----------------------------------------------------------------
|
56093
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56094
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56095
|
+
------------------------------------------------------------------------------------------------
|
56096
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
56097
|
+
------------------------------------------------------------------------------------------------
|
56098
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56099
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
56100
|
+
--------------------------------------------------------------------
|
56101
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
56102
|
+
--------------------------------------------------------------------
|
56103
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56104
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
56105
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
56106
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
56107
|
+
FROM sqlite_master
|
56108
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
56109
|
+
UNION ALL
|
56110
|
+
SELECT sql
|
56111
|
+
FROM sqlite_temp_master
|
56112
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
56113
|
+
[0m
|
56114
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
56115
|
+
FROM sqlite_master
|
56116
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
56117
|
+
UNION ALL
|
56118
|
+
SELECT sql
|
56119
|
+
FROM sqlite_temp_master
|
56120
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
56121
|
+
|
56122
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
56123
|
+
FROM sqlite_master
|
56124
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
56125
|
+
UNION ALL
|
56126
|
+
SELECT sql
|
56127
|
+
FROM sqlite_temp_master
|
56128
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
56129
|
+
[0m
|
56130
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
56131
|
+
FROM sqlite_master
|
56132
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
56133
|
+
UNION ALL
|
56134
|
+
SELECT sql
|
56135
|
+
FROM sqlite_temp_master
|
56136
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
56137
|
+
|
56138
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
56139
|
+
FROM sqlite_master
|
56140
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
56141
|
+
UNION ALL
|
56142
|
+
SELECT sql
|
56143
|
+
FROM sqlite_temp_master
|
56144
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
56145
|
+
[0m
|
56146
|
+
[1m[35m (0.4ms)[0m SELECT sql
|
56147
|
+
FROM sqlite_master
|
56148
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
56149
|
+
UNION ALL
|
56150
|
+
SELECT sql
|
56151
|
+
FROM sqlite_temp_master
|
56152
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
56153
|
+
|
56154
|
+
[1m[36m (0.4ms)[0m [1m SELECT sql
|
56155
|
+
FROM sqlite_master
|
56156
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
56157
|
+
UNION ALL
|
56158
|
+
SELECT sql
|
56159
|
+
FROM sqlite_temp_master
|
56160
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
56161
|
+
[0m
|
56162
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
56163
|
+
[1m[35m (0.4ms)[0m begin transaction
|
56164
|
+
[1m[36mFixture Delete (1.3ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
56165
|
+
[1m[35mFixture Insert (0.7ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
56166
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
56167
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
56168
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
56169
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
56170
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
56171
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
56172
|
+
[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
|
56173
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
56174
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
56175
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
56176
|
+
[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
|
56177
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
56178
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
56179
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
56180
|
+
[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
|
56181
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
56182
|
+
[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
|
56183
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
56184
|
+
[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
|
56185
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
56186
|
+
[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
|
56187
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
56188
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (24, 24, 8)[0m
|
56189
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
56190
|
+
[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
|
56191
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
56192
|
+
[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
|
56193
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
56194
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
56195
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "has_many_fields"
|
56196
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
56197
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
56198
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
56199
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
56200
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
56201
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
56202
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
56203
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
56204
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
56205
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
56206
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
56207
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
56208
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
56209
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
56210
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
56211
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
56212
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
56213
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
56214
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
56215
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
56216
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
56217
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "has_one_fields"
|
56218
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (1)[0m
|
56219
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (2)
|
56220
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (3)[0m
|
56221
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (4)
|
56222
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (5)[0m
|
56223
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (6)
|
56224
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (7)[0m
|
56225
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (8)
|
56226
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (9)[0m
|
56227
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (10)
|
56228
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (11)[0m
|
56229
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (12)
|
56230
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (13)[0m
|
56231
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (14)
|
56232
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (15)[0m
|
56233
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (16)
|
56234
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (17)[0m
|
56235
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (18)
|
56236
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (19)[0m
|
56237
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (20)
|
56238
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (21)[0m
|
56239
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (22)
|
56240
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (23)[0m
|
56241
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (24)
|
56242
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (25)[0m
|
56243
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (26)
|
56244
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (27)[0m
|
56245
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (28)
|
56246
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id") VALUES (29)[0m
|
56247
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id") VALUES (30)
|
56248
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "owners"[0m
|
56249
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2016-05-30 09:00:00.000000', '2017-06-27 20:00:00.000000')
|
56250
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2017-05-02 09:00:00.000000', '2017-06-28 08:00:00.000000')[0m
|
56251
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2015-05-02 09:00:00.000000', '2016-06-28 08:00:00.000000')
|
56252
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
56253
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
56254
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
56255
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
56256
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
56257
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
56258
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "string_fields"[0m
|
56259
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')
|
56260
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')[0m
|
56261
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')
|
56262
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')[0m
|
56263
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')
|
56264
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')[0m
|
56265
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')
|
56266
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')[0m
|
56267
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')
|
56268
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')[0m
|
56269
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')
|
56270
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')[0m
|
56271
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')
|
56272
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')[0m
|
56273
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')
|
56274
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')[0m
|
56275
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')
|
56276
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')[0m
|
56277
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')
|
56278
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')[0m
|
56279
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')
|
56280
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')[0m
|
56281
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')
|
56282
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')[0m
|
56283
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')
|
56284
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')[0m
|
56285
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')
|
56286
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')[0m
|
56287
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')
|
56288
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')[0m
|
56289
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "trees"
|
56290
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2010-02-11 11:00:00.000000', '2010-02-11 11:00:00.000000')[0m
|
56291
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2010-02-15 21:00:00.000000', '2010-02-15 21:00:00.000000')
|
56292
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2012-04-11 12:00:00.000000', '2012-04-11 12:00:00.000000')[0m
|
56293
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2015-06-18 09:00:00.000000', '2015-06-18 09:00:00.000000')
|
56294
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2014-06-18 09:00:00.000000', '2014-06-18 09:00:00.000000')[0m
|
56295
|
+
[1m[35m (1.2ms)[0m commit transaction
|
56296
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56297
|
+
--------------------------------------------------------------------------------------------
|
56298
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_field
|
56299
|
+
--------------------------------------------------------------------------------------------
|
56300
|
+
[1m[35m (0.2ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')
|
56301
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
56302
|
+
[1m[35m (0.1ms)[0m begin transaction
|
56303
|
+
-----------------------------------------------------------------------------
|
56304
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
56305
|
+
-----------------------------------------------------------------------------
|
56306
|
+
[1m[36m (0.4ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
56307
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56309
|
+
----------------------------------------------------------------
|
56310
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
56311
|
+
----------------------------------------------------------------
|
56312
|
+
[1m[35mSQL (0.3ms)[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
|
56313
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
56314
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56315
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56316
|
+
------------------------------------------------------------------------------------------------
|
56317
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
56318
|
+
------------------------------------------------------------------------------------------------
|
56319
|
+
[1m[35mSQL (0.6ms)[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 '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
56320
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
56321
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56322
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
56323
|
+
--------------------------------------------------------------------
|
56324
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
56325
|
+
--------------------------------------------------------------------
|
56326
|
+
[1m[35mSQL (0.5ms)[0m SELECT "has_one_fields"."id" AS t0_r0, "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
|
56327
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "has_one_fields"[0m
|
56328
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56329
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56330
|
+
------------------------------------------------------------------------------------
|
56331
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
56332
|
+
------------------------------------------------------------------------------------
|
56333
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY trees.name DESC LIMIT 10 OFFSET 0
|
56334
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')[0m
|
56335
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56336
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56337
|
+
-----------------------------------------------------------------------
|
56338
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
56339
|
+
-----------------------------------------------------------------------
|
56340
|
+
[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_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
|
56341
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "belongs_to_fields"[0m
|
56342
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56343
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56344
|
+
------------------------------------------------------------------------------------------------------
|
56345
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
56346
|
+
------------------------------------------------------------------------------------------------------
|
56347
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY trees.created_at DESC LIMIT 10 OFFSET 0
|
56348
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')[0m
|
56349
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
56350
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
56351
|
+
----------------------------------------------------------------
|
56352
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
56353
|
+
----------------------------------------------------------------
|
56354
|
+
[1m[35mSQL (0.4ms)[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
|
56355
|
+
[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
|
56356
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56357
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56358
|
+
-----------------------------------------------------------------
|
56359
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
56360
|
+
-----------------------------------------------------------------
|
56361
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 15 OFFSET 0
|
56362
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
56363
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56364
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56365
|
+
-------------------------------------------------------------------------------------------
|
56366
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
56367
|
+
-------------------------------------------------------------------------------------------
|
56368
|
+
[1m[35mSQL (0.3ms)[0m SELECT "owners"."id" AS t0_r0, "owners"."name" AS t0_r1, "owners"."created_at" AS t0_r2, "owners"."updated_at" AS t0_r3 FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC') ORDER BY owners.created_at DESC LIMIT 10 OFFSET 0
|
56369
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2016-01-01 08:00:00 UTC' AND '2017-01-01 07:59:59 UTC')[0m
|
56370
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
56371
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56372
|
+
-----------------------------------------------------------------
|
56373
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
56374
|
+
-----------------------------------------------------------------
|
56375
|
+
[1m[35mSQL (0.2ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY string_fields.id DESC LIMIT 10 OFFSET 10
|
56376
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
56377
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56378
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56379
|
+
---------------------------
|
56380
|
+
ForestLianaTest: test_truth
|
56381
|
+
---------------------------
|
56382
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
56383
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56384
|
+
------------------------------------------------------------------------------------------------------------
|
56385
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
56386
|
+
------------------------------------------------------------------------------------------------------------
|
56387
|
+
[1m[35mSerializeField Load (0.2ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
56388
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
56389
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", "---\n- test\n- test\n"], ["id", 1]]
|
56390
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56391
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
56392
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56393
|
+
---------------------------------------------------------------------------------------------------------
|
56394
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
56395
|
+
---------------------------------------------------------------------------------------------------------
|
56396
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
56397
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
56398
|
+
[1m[35m (0.1ms)[0m begin transaction
|
56399
|
+
------------------------------------------------------------------------------------------------------
|
56400
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
56401
|
+
------------------------------------------------------------------------------------------------------
|
56402
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
56403
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
56404
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56405
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56406
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56407
|
+
---------------------------------------------------------------------------------------------------
|
56408
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
56409
|
+
---------------------------------------------------------------------------------------------------
|
56410
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
56411
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
56412
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", nil], ["id", 1]]
|
56413
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56414
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
56415
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56416
|
+
------------------------------------------------------------------------------------
|
56417
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
56418
|
+
------------------------------------------------------------------------------------
|
56419
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56420
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56421
|
+
-----------------------------------------------------------
|
56422
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
56423
|
+
-----------------------------------------------------------
|
56424
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56425
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56426
|
+
------------------------------------------------------------------------
|
56427
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
56428
|
+
------------------------------------------------------------------------
|
56429
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56430
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56431
|
+
----------------------------------------------------------------------------------
|
56432
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
56433
|
+
----------------------------------------------------------------------------------
|
56434
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56435
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56436
|
+
---------------------------------------------------------------------------
|
56437
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
56438
|
+
---------------------------------------------------------------------------
|
56439
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56440
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56441
|
+
--------------------------------------------------------------------------
|
56442
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
56443
|
+
--------------------------------------------------------------------------
|
56444
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56445
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56446
|
+
-------------------------------------------------------------------------
|
56447
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
56448
|
+
-------------------------------------------------------------------------
|
56449
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
56450
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56451
|
+
--------------------------------------------------------------------------
|
56452
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
56453
|
+
--------------------------------------------------------------------------
|
56454
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56455
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56456
|
+
--------------------------------------------------------
|
56457
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
56458
|
+
--------------------------------------------------------
|
56459
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
56460
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56461
|
+
---------------------------------------------------------------------
|
56462
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
56463
|
+
---------------------------------------------------------------------
|
56464
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56465
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56466
|
+
-------------------------------------------------------------------------
|
56467
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
56468
|
+
-------------------------------------------------------------------------
|
56469
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56470
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56471
|
+
---------------------------------------------------------
|
56472
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
56473
|
+
---------------------------------------------------------
|
56474
|
+
[1m[35m (0.1ms)[0m rollback transaction
|