forest_liana 3.0.0.pre.beta.12 → 3.0.0.pre.beta.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e0a8c448274b9fc35eec14dce3fc3c7918952e8
4
- data.tar.gz: b9908c1757d5a969a72447a62d36b3566c892059
3
+ metadata.gz: 170ebd04b308cfbcab3278c1222dd9ac837df6b3
4
+ data.tar.gz: 1e6b94cc56dea458248f70e3320d78e79ffafb2c
5
5
  SHA512:
6
- metadata.gz: f67b9b8b05b952f8d4f759f2696c826bfd8228ce1b7ba9103886e1c67addfcffde5ac8fb5e3cb466709a75cbab2c0a1c820e3cdf000e70e860a4afcdee9f952b
7
- data.tar.gz: b75fe5f14a6109f03110157b3d74dafdeae45a985534bd15c027622567061e1f505784ed9d64c32dd77db0cbbed9d2bd3496e458a154d97601020ae28ed89280
6
+ metadata.gz: 6fbd2c82ab4873f9c7ba6aef6efd9c1d18914b6b057a8462106fd0f03d0df5a395fe4da05c256e562a2ee9233b8efd58d4860def153b58f1a681d35bfbe78c92
7
+ data.tar.gz: 5c0e427989fb8b5668637c7f8fe81b4918b3dac7f3e92ac97ee20eae11489d4f9991aadb0ddad6bd163260ca6fee2dea2907371032ebbf33f8a451e9003f2a70
@@ -83,8 +83,7 @@ module ForestLiana
83
83
  getter = ForestLiana::ResourceGetter.new(@resource, params)
84
84
  getter.perform
85
85
 
86
- render serializer: nil, json:
87
- serialize_model(get_record(getter.record), include: includes(getter))
86
+ render serializer: nil, json: render_record_jsonapi(getter)
88
87
  rescue => error
89
88
  FOREST_LOGGER.error "Record Show error: #{error}\n#{format_stacktrace(error)}"
90
89
  internal_server_error
@@ -189,6 +188,18 @@ module ForestLiana
189
188
  is_sti_model? ? record.becomes(@resource) : record
190
189
  end
191
190
 
191
+ def render_record_jsonapi getter
192
+ collection_fields = getter.collection.fields.map { |field| field[:field] }
193
+ fields_to_serialize = {
194
+ ForestLiana.name_for(@resource) => collection_fields.join(',')
195
+ }
196
+
197
+ serialize_model(get_record(getter.record), {
198
+ include: includes(getter),
199
+ fields: fields_to_serialize
200
+ })
201
+ end
202
+
192
203
  def render_jsonapi getter
193
204
  records = getter.records.map { |record| get_record(record) }
194
205
  fields_to_serialize = fields_per_model(params[:fields], @resource)
@@ -1,6 +1,7 @@
1
1
  module ForestLiana
2
2
  class ResourceGetter < BaseGetter
3
3
  attr_accessor :record
4
+ attr_reader :collection
4
5
 
5
6
  def initialize(resource, params)
6
7
  @resource = resource
@@ -70,7 +70,11 @@ module ForestLiana
70
70
  private
71
71
 
72
72
  def get_fields_to_serialize
73
- @params[:fields][@collection_name].split(',').map { |name| name.to_sym }
73
+ if @params[:fields] && @params[:fields][@collection_name]
74
+ @params[:fields][@collection_name].split(',').map { |name| name.to_sym }
75
+ else
76
+ []
77
+ end
74
78
  end
75
79
 
76
80
  def get_segment
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "3.0.0-beta.12"
2
+ VERSION = "3.0.0-beta.13"
3
3
  end
@@ -23817,3 +23817,1131 @@ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.2ms)
23817
23817
   (0.0ms) rollback transaction
23818
23818
   (0.1ms) begin transaction
23819
23819
   (0.0ms) rollback transaction
23820
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
23821
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
23822
+  (0.1ms)  SELECT sql
23823
+ FROM sqlite_master
23824
+ WHERE name='index_trees_on_island_id' AND type='index'
23825
+ UNION ALL
23826
+ SELECT sql
23827
+ FROM sqlite_temp_master
23828
+ WHERE name='index_trees_on_island_id' AND type='index'
23829
+ 
23830
+  (0.1ms) SELECT sql
23831
+ FROM sqlite_master
23832
+ WHERE name='index_trees_on_cutter_id' AND type='index'
23833
+ UNION ALL
23834
+ SELECT sql
23835
+ FROM sqlite_temp_master
23836
+ WHERE name='index_trees_on_cutter_id' AND type='index'
23837
+
23838
+  (0.1ms)  SELECT sql
23839
+ FROM sqlite_master
23840
+ WHERE name='index_trees_on_owner_id' AND type='index'
23841
+ UNION ALL
23842
+ SELECT sql
23843
+ FROM sqlite_temp_master
23844
+ WHERE name='index_trees_on_owner_id' AND type='index'
23845
+ 
23846
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
23847
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
23848
+  (0.1ms) begin transaction
23849
+  (0.1ms) rollback transaction
23850
+  (0.1ms) begin transaction
23851
+  (0.1ms) rollback transaction
23852
+  (0.1ms) begin transaction
23853
+  (0.1ms) rollback transaction
23854
+  (0.1ms) begin transaction
23855
+  (0.0ms) rollback transaction
23856
+  (0.1ms) begin transaction
23857
+  (0.0ms) rollback transaction
23858
+  (0.0ms) begin transaction
23859
+  (0.0ms) rollback transaction
23860
+  (0.0ms) begin transaction
23861
+  (0.0ms) rollback transaction
23862
+  (0.1ms) begin transaction
23863
+  (0.0ms) rollback transaction
23864
+  (0.0ms) begin transaction
23865
+  (0.1ms) SAVEPOINT active_record_1
23866
+ SQL (1.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:13:08.279862"], ["updated_at", "2019-02-28 13:13:08.279862"]]
23867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23868
+  (0.1ms) SAVEPOINT active_record_1
23869
+ SQL (2.1ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:13:08.292418"], ["updated_at", "2019-02-28 13:13:08.292418"]]
23870
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23871
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:13:08 +0100
23872
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
23873
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
23874
+ SQL (0.1ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6 FROM "trees" ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
23875
+ Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.1ms)
23876
+ User Load (0.1ms) SELECT "users".* FROM "users"
23877
+  (0.1ms) SAVEPOINT active_record_1
23878
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
23879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23880
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
23881
+  (0.1ms) SAVEPOINT active_record_1
23882
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
23883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23884
+  (0.8ms) rollback transaction
23885
+  (0.0ms) begin transaction
23886
+  (0.0ms) SAVEPOINT active_record_1
23887
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:13:08.347080"], ["updated_at", "2019-02-28 13:13:08.347080"]]
23888
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23889
+  (0.0ms) SAVEPOINT active_record_1
23890
+ SQL (0.2ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:13:08.348771"], ["updated_at", "2019-02-28 13:13:08.348771"]]
23891
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23892
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:13:08 +0100
23893
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
23894
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
23895
+ SQL (0.1ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6 FROM "trees" ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
23896
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.1ms)
23897
+ User Load (0.3ms) SELECT "users".* FROM "users"
23898
+  (0.1ms) SAVEPOINT active_record_1
23899
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
23900
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23901
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
23902
+  (0.0ms) SAVEPOINT active_record_1
23903
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
23904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23905
+  (0.4ms) rollback transaction
23906
+  (0.1ms) begin transaction
23907
+  (0.0ms) SAVEPOINT active_record_1
23908
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:13:08.367996"], ["updated_at", "2019-02-28 13:13:08.367996"]]
23909
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23910
+  (0.0ms) SAVEPOINT active_record_1
23911
+ SQL (0.1ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:13:08.369554"], ["updated_at", "2019-02-28 13:13:08.369554"]]
23912
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23913
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&filterType=and&filter[owner%3Aid]=%24present&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:13:08 +0100
23914
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
23915
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "filterType"=>"and", "filter"=>{"owner:id"=>"$present"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
23916
+ SQL (0.2ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6, "users"."id" AS t1_r0, "users"."name" AS t1_r1, "users"."created_at" AS t1_r2, "users"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "users" ON "users"."id" = "trees"."owner_id" WHERE (users.id IS NOT NULL) ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
23917
+ Completed 200 OK in 15ms (Views: 1.0ms | ActiveRecord: 0.2ms)
23918
+ User Load (0.3ms) SELECT "users".* FROM "users"
23919
+  (0.1ms) SAVEPOINT active_record_1
23920
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
23921
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23922
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
23923
+  (0.0ms) SAVEPOINT active_record_1
23924
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
23925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23926
+  (0.6ms) rollback transaction
23927
+  (0.0ms) begin transaction
23928
+  (0.0ms) SAVEPOINT active_record_1
23929
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:13:08.398191"], ["updated_at", "2019-02-28 13:13:08.398191"]]
23930
+  (0.2ms) RELEASE SAVEPOINT active_record_1
23931
+  (0.2ms) SAVEPOINT active_record_1
23932
+ SQL (0.2ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:13:08.400828"], ["updated_at", "2019-02-28 13:13:08.400828"]]
23933
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23934
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&filterType=and&filter[owner%3Aid]=%24present&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:13:08 +0100
23935
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
23936
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "filterType"=>"and", "filter"=>{"owner:id"=>"$present"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
23937
+ SQL (0.2ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6, "users"."id" AS t1_r0, "users"."name" AS t1_r1, "users"."created_at" AS t1_r2, "users"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "users" ON "users"."id" = "trees"."owner_id" WHERE (users.id IS NOT NULL) ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
23938
+ Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 0.2ms)
23939
+ User Load (0.2ms) SELECT "users".* FROM "users"
23940
+  (0.1ms) SAVEPOINT active_record_1
23941
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
23942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23943
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
23944
+  (0.1ms) SAVEPOINT active_record_1
23945
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
23946
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23947
+  (0.5ms) rollback transaction
23948
+  (0.0ms) begin transaction
23949
+  (0.0ms) rollback transaction
23950
+  (0.1ms) begin transaction
23951
+  (0.1ms) rollback transaction
23952
+  (0.1ms) begin transaction
23953
+  (0.1ms) rollback transaction
23954
+  (0.0ms) begin transaction
23955
+  (0.2ms) rollback transaction
23956
+  (0.3ms) begin transaction
23957
+  (0.1ms) rollback transaction
23958
+  (0.1ms) begin transaction
23959
+  (0.1ms) rollback transaction
23960
+  (0.5ms) begin transaction
23961
+  (0.1ms) rollback transaction
23962
+  (0.1ms) begin transaction
23963
+  (0.2ms) rollback transaction
23964
+  (0.1ms) begin transaction
23965
+  (0.2ms) rollback transaction
23966
+  (0.3ms) begin transaction
23967
+  (0.2ms) rollback transaction
23968
+  (0.2ms) begin transaction
23969
+  (0.1ms) rollback transaction
23970
+  (0.1ms) begin transaction
23971
+  (0.5ms) rollback transaction
23972
+  (0.1ms) begin transaction
23973
+  (0.0ms) rollback transaction
23974
+  (0.0ms) begin transaction
23975
+  (0.1ms) rollback transaction
23976
+  (0.0ms) begin transaction
23977
+  (0.1ms) rollback transaction
23978
+  (0.0ms) begin transaction
23979
+  (0.0ms) rollback transaction
23980
+  (0.1ms) begin transaction
23981
+  (0.0ms) rollback transaction
23982
+  (0.0ms) begin transaction
23983
+  (0.0ms) rollback transaction
23984
+  (0.0ms) begin transaction
23985
+  (0.0ms) rollback transaction
23986
+  (0.1ms) begin transaction
23987
+  (0.0ms) rollback transaction
23988
+  (0.0ms) begin transaction
23989
+  (0.0ms) rollback transaction
23990
+  (0.0ms) begin transaction
23991
+  (0.0ms) rollback transaction
23992
+  (0.1ms) begin transaction
23993
+  (0.1ms) rollback transaction
23994
+  (0.1ms) begin transaction
23995
+  (0.1ms) rollback transaction
23996
+  (0.2ms) begin transaction
23997
+  (0.4ms) rollback transaction
23998
+  (1.3ms) begin transaction
23999
+  (0.3ms) rollback transaction
24000
+  (0.2ms) begin transaction
24001
+  (0.1ms) rollback transaction
24002
+  (0.1ms) begin transaction
24003
+  (0.1ms) rollback transaction
24004
+  (0.1ms) begin transaction
24005
+  (0.1ms) rollback transaction
24006
+  (0.1ms) begin transaction
24007
+  (0.1ms) rollback transaction
24008
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24009
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24010
+  (0.1ms)  SELECT sql
24011
+ FROM sqlite_master
24012
+ WHERE name='index_trees_on_island_id' AND type='index'
24013
+ UNION ALL
24014
+ SELECT sql
24015
+ FROM sqlite_temp_master
24016
+ WHERE name='index_trees_on_island_id' AND type='index'
24017
+ 
24018
+  (0.1ms) SELECT sql
24019
+ FROM sqlite_master
24020
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24021
+ UNION ALL
24022
+ SELECT sql
24023
+ FROM sqlite_temp_master
24024
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24025
+
24026
+  (0.1ms)  SELECT sql
24027
+ FROM sqlite_master
24028
+ WHERE name='index_trees_on_owner_id' AND type='index'
24029
+ UNION ALL
24030
+ SELECT sql
24031
+ FROM sqlite_temp_master
24032
+ WHERE name='index_trees_on_owner_id' AND type='index'
24033
+ 
24034
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
24035
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24036
+  (0.1ms) begin transaction
24037
+  (0.0ms) rollback transaction
24038
+  (0.1ms) begin transaction
24039
+  (0.0ms) rollback transaction
24040
+  (0.0ms) begin transaction
24041
+  (0.0ms) rollback transaction
24042
+  (0.0ms) begin transaction
24043
+  (0.0ms) rollback transaction
24044
+  (0.0ms) begin transaction
24045
+  (0.0ms) rollback transaction
24046
+  (0.0ms) begin transaction
24047
+  (0.1ms) rollback transaction
24048
+  (0.0ms) begin transaction
24049
+  (0.0ms) rollback transaction
24050
+  (0.0ms) begin transaction
24051
+  (0.0ms) rollback transaction
24052
+  (0.1ms) begin transaction
24053
+  (0.0ms) SAVEPOINT active_record_1
24054
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:13:37.146706"], ["updated_at", "2019-02-28 13:13:37.146706"]]
24055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24056
+  (0.0ms) SAVEPOINT active_record_1
24057
+ SQL (0.2ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:13:37.156785"], ["updated_at", "2019-02-28 13:13:37.156785"]]
24058
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24059
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:13:37 +0100
24060
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24061
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24062
+ SQL (0.1ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6 FROM "trees" ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24063
+ Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 0.1ms)
24064
+ User Load (0.1ms) SELECT "users".* FROM "users"
24065
+  (0.1ms) SAVEPOINT active_record_1
24066
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24067
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24068
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24069
+  (0.0ms) SAVEPOINT active_record_1
24070
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24071
+  (0.3ms) RELEASE SAVEPOINT active_record_1
24072
+  (6.1ms) rollback transaction
24073
+  (0.1ms) begin transaction
24074
+  (0.0ms) SAVEPOINT active_record_1
24075
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:13:37.209911"], ["updated_at", "2019-02-28 13:13:37.209911"]]
24076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24077
+  (0.0ms) SAVEPOINT active_record_1
24078
+ SQL (0.5ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:13:37.213973"], ["updated_at", "2019-02-28 13:13:37.213973"]]
24079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24080
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:13:37 +0100
24081
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24082
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24083
+ SQL (0.1ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6 FROM "trees" ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24084
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
24085
+ User Load (0.1ms) SELECT "users".* FROM "users"
24086
+  (0.0ms) SAVEPOINT active_record_1
24087
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24088
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24089
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24090
+  (0.0ms) SAVEPOINT active_record_1
24091
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24092
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24093
+  (0.5ms) rollback transaction
24094
+  (0.0ms) begin transaction
24095
+  (0.1ms) SAVEPOINT active_record_1
24096
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:13:37.228936"], ["updated_at", "2019-02-28 13:13:37.228936"]]
24097
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24098
+  (0.1ms) SAVEPOINT active_record_1
24099
+ SQL (0.2ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:13:37.232624"], ["updated_at", "2019-02-28 13:13:37.232624"]]
24100
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24101
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&filterType=and&filter[owner%3Aid]=%24present&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:13:37 +0100
24102
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24103
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "filterType"=>"and", "filter"=>{"owner:id"=>"$present"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24104
+ SQL (0.1ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6, "users"."id" AS t1_r0, "users"."name" AS t1_r1, "users"."created_at" AS t1_r2, "users"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "users" ON "users"."id" = "trees"."owner_id" WHERE (users.id IS NOT NULL) ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24105
+ Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.1ms)
24106
+ User Load (0.4ms) SELECT "users".* FROM "users"
24107
+  (0.0ms) SAVEPOINT active_record_1
24108
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24109
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24110
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24111
+  (0.0ms) SAVEPOINT active_record_1
24112
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24113
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24114
+  (2.2ms) rollback transaction
24115
+  (0.0ms) begin transaction
24116
+  (0.0ms) SAVEPOINT active_record_1
24117
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:13:37.270291"], ["updated_at", "2019-02-28 13:13:37.270291"]]
24118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24119
+  (0.0ms) SAVEPOINT active_record_1
24120
+ SQL (0.4ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:13:37.272057"], ["updated_at", "2019-02-28 13:13:37.272057"]]
24121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24122
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&filterType=and&filter[owner%3Aid]=%24present&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:13:37 +0100
24123
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24124
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "filterType"=>"and", "filter"=>{"owner:id"=>"$present"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24125
+ SQL (0.1ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6, "users"."id" AS t1_r0, "users"."name" AS t1_r1, "users"."created_at" AS t1_r2, "users"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "users" ON "users"."id" = "trees"."owner_id" WHERE (users.id IS NOT NULL) ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24126
+ Completed 200 OK in 12ms (Views: 5.5ms | ActiveRecord: 0.1ms)
24127
+ User Load (0.3ms) SELECT "users".* FROM "users"
24128
+  (0.3ms) SAVEPOINT active_record_1
24129
+ SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24130
+  (1.2ms) RELEASE SAVEPOINT active_record_1
24131
+ Tree Load (0.4ms) SELECT "trees".* FROM "trees"
24132
+  (0.1ms) SAVEPOINT active_record_1
24133
+ SQL (0.3ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24134
+  (0.3ms) RELEASE SAVEPOINT active_record_1
24135
+  (2.6ms) rollback transaction
24136
+  (0.3ms) begin transaction
24137
+  (0.1ms) rollback transaction
24138
+  (0.1ms) begin transaction
24139
+  (0.0ms) rollback transaction
24140
+  (0.1ms) begin transaction
24141
+  (0.0ms) rollback transaction
24142
+  (0.1ms) begin transaction
24143
+  (0.2ms) rollback transaction
24144
+  (0.1ms) begin transaction
24145
+  (0.1ms) rollback transaction
24146
+  (0.1ms) begin transaction
24147
+  (0.1ms) rollback transaction
24148
+  (0.0ms) begin transaction
24149
+  (0.0ms) rollback transaction
24150
+  (0.0ms) begin transaction
24151
+  (0.0ms) rollback transaction
24152
+  (0.0ms) begin transaction
24153
+  (0.0ms) rollback transaction
24154
+  (0.0ms) begin transaction
24155
+  (0.0ms) rollback transaction
24156
+  (0.0ms) begin transaction
24157
+  (0.0ms) rollback transaction
24158
+  (0.0ms) begin transaction
24159
+  (0.1ms) rollback transaction
24160
+  (0.0ms) begin transaction
24161
+  (0.0ms) rollback transaction
24162
+  (0.0ms) begin transaction
24163
+  (0.0ms) rollback transaction
24164
+  (0.0ms) begin transaction
24165
+  (0.0ms) rollback transaction
24166
+  (0.0ms) begin transaction
24167
+  (0.0ms) rollback transaction
24168
+  (0.1ms) begin transaction
24169
+  (0.0ms) rollback transaction
24170
+  (0.0ms) begin transaction
24171
+  (0.0ms) rollback transaction
24172
+  (0.1ms) begin transaction
24173
+  (0.1ms) rollback transaction
24174
+  (0.1ms) begin transaction
24175
+  (0.4ms) rollback transaction
24176
+  (0.2ms) begin transaction
24177
+  (0.3ms) rollback transaction
24178
+  (0.3ms) begin transaction
24179
+  (0.2ms) rollback transaction
24180
+  (0.6ms) begin transaction
24181
+  (3.5ms) rollback transaction
24182
+  (0.1ms) begin transaction
24183
+  (0.0ms) rollback transaction
24184
+  (0.1ms) begin transaction
24185
+  (0.1ms) rollback transaction
24186
+  (0.0ms) begin transaction
24187
+  (0.0ms) rollback transaction
24188
+  (0.0ms) begin transaction
24189
+  (0.0ms) rollback transaction
24190
+  (0.0ms) begin transaction
24191
+  (0.0ms) rollback transaction
24192
+  (0.0ms) begin transaction
24193
+  (0.0ms) rollback transaction
24194
+  (0.0ms) begin transaction
24195
+  (0.0ms) rollback transaction
24196
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24197
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24198
+  (0.1ms)  SELECT sql
24199
+ FROM sqlite_master
24200
+ WHERE name='index_trees_on_island_id' AND type='index'
24201
+ UNION ALL
24202
+ SELECT sql
24203
+ FROM sqlite_temp_master
24204
+ WHERE name='index_trees_on_island_id' AND type='index'
24205
+ 
24206
+  (0.1ms) SELECT sql
24207
+ FROM sqlite_master
24208
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24209
+ UNION ALL
24210
+ SELECT sql
24211
+ FROM sqlite_temp_master
24212
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24213
+
24214
+  (0.1ms)  SELECT sql
24215
+ FROM sqlite_master
24216
+ WHERE name='index_trees_on_owner_id' AND type='index'
24217
+ UNION ALL
24218
+ SELECT sql
24219
+ FROM sqlite_temp_master
24220
+ WHERE name='index_trees_on_owner_id' AND type='index'
24221
+ 
24222
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24223
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24224
+  (0.1ms) begin transaction
24225
+  (0.1ms) rollback transaction
24226
+  (0.0ms) begin transaction
24227
+  (0.0ms) rollback transaction
24228
+  (0.0ms) begin transaction
24229
+  (0.0ms) rollback transaction
24230
+  (0.0ms) begin transaction
24231
+  (0.0ms) rollback transaction
24232
+  (0.0ms) begin transaction
24233
+  (0.0ms) rollback transaction
24234
+  (0.0ms) begin transaction
24235
+  (0.0ms) rollback transaction
24236
+  (0.0ms) begin transaction
24237
+  (0.0ms) rollback transaction
24238
+  (0.0ms) begin transaction
24239
+  (0.0ms) rollback transaction
24240
+  (0.0ms) begin transaction
24241
+  (0.0ms) SAVEPOINT active_record_1
24242
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:14:14.162990"], ["updated_at", "2019-02-28 13:14:14.162990"]]
24243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24244
+  (0.1ms) SAVEPOINT active_record_1
24245
+ SQL (0.7ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:14:14.174239"], ["updated_at", "2019-02-28 13:14:14.174239"]]
24246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24247
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:14:14 +0100
24248
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24249
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24250
+ SQL (0.1ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6 FROM "trees" ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24251
+ Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 0.1ms)
24252
+ User Load (0.1ms) SELECT "users".* FROM "users"
24253
+  (0.0ms) SAVEPOINT active_record_1
24254
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24256
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
24257
+  (0.0ms) SAVEPOINT active_record_1
24258
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24260
+  (5.3ms) rollback transaction
24261
+  (0.0ms) begin transaction
24262
+  (0.0ms) SAVEPOINT active_record_1
24263
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:14:14.219121"], ["updated_at", "2019-02-28 13:14:14.219121"]]
24264
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24265
+  (0.0ms) SAVEPOINT active_record_1
24266
+ SQL (0.3ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:14:14.221859"], ["updated_at", "2019-02-28 13:14:14.221859"]]
24267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24268
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:14:14 +0100
24269
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24270
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24271
+ SQL (0.1ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6 FROM "trees" ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24272
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
24273
+ User Load (0.1ms) SELECT "users".* FROM "users"
24274
+  (0.0ms) SAVEPOINT active_record_1
24275
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24277
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24278
+  (0.0ms) SAVEPOINT active_record_1
24279
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24280
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24281
+  (0.4ms) rollback transaction
24282
+  (0.0ms) begin transaction
24283
+  (0.1ms) SAVEPOINT active_record_1
24284
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:14:14.234513"], ["updated_at", "2019-02-28 13:14:14.234513"]]
24285
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24286
+  (0.0ms) SAVEPOINT active_record_1
24287
+ SQL (0.2ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:14:14.235995"], ["updated_at", "2019-02-28 13:14:14.235995"]]
24288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24289
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&filterType=and&filter[owner%3Aid]=%24present&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:14:14 +0100
24290
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24291
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "filterType"=>"and", "filter"=>{"owner:id"=>"$present"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24292
+ SQL (0.1ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6, "users"."id" AS t1_r0, "users"."name" AS t1_r1, "users"."created_at" AS t1_r2, "users"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "users" ON "users"."id" = "trees"."owner_id" WHERE (users.id IS NOT NULL) ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24293
+ Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.1ms)
24294
+ User Load (0.1ms) SELECT "users".* FROM "users"
24295
+  (0.0ms) SAVEPOINT active_record_1
24296
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24298
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24299
+  (0.0ms) SAVEPOINT active_record_1
24300
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24302
+  (0.4ms) rollback transaction
24303
+  (0.1ms) begin transaction
24304
+  (0.1ms) SAVEPOINT active_record_1
24305
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:14:14.259729"], ["updated_at", "2019-02-28 13:14:14.259729"]]
24306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24307
+  (0.1ms) SAVEPOINT active_record_1
24308
+ SQL (0.3ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:14:14.262953"], ["updated_at", "2019-02-28 13:14:14.262953"]]
24309
+  (0.2ms) RELEASE SAVEPOINT active_record_1
24310
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&filterType=and&filter[owner%3Aid]=%24present&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:14:14 +0100
24311
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24312
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "filterType"=>"and", "filter"=>{"owner:id"=>"$present"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24313
+ SQL (0.1ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6, "users"."id" AS t1_r0, "users"."name" AS t1_r1, "users"."created_at" AS t1_r2, "users"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "users" ON "users"."id" = "trees"."owner_id" WHERE (users.id IS NOT NULL) ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24314
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.1ms)
24315
+ User Load (0.1ms) SELECT "users".* FROM "users"
24316
+  (0.0ms) SAVEPOINT active_record_1
24317
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24318
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24319
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24320
+  (0.1ms) SAVEPOINT active_record_1
24321
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24322
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24323
+  (0.5ms) rollback transaction
24324
+  (0.1ms) begin transaction
24325
+  (0.1ms) rollback transaction
24326
+  (0.1ms) begin transaction
24327
+  (0.0ms) rollback transaction
24328
+  (0.1ms) begin transaction
24329
+  (0.0ms) rollback transaction
24330
+  (0.0ms) begin transaction
24331
+  (0.1ms) rollback transaction
24332
+  (0.1ms) begin transaction
24333
+  (0.0ms) rollback transaction
24334
+  (0.0ms) begin transaction
24335
+  (0.0ms) rollback transaction
24336
+  (0.0ms) begin transaction
24337
+  (0.0ms) rollback transaction
24338
+  (0.0ms) begin transaction
24339
+  (0.0ms) rollback transaction
24340
+  (0.0ms) begin transaction
24341
+  (0.0ms) rollback transaction
24342
+  (0.3ms) begin transaction
24343
+  (0.1ms) rollback transaction
24344
+  (0.1ms) begin transaction
24345
+  (0.2ms) rollback transaction
24346
+  (0.5ms) begin transaction
24347
+  (0.1ms) rollback transaction
24348
+  (0.1ms) begin transaction
24349
+  (0.1ms) rollback transaction
24350
+  (0.1ms) begin transaction
24351
+  (0.3ms) rollback transaction
24352
+  (0.1ms) begin transaction
24353
+  (0.0ms) rollback transaction
24354
+  (0.0ms) begin transaction
24355
+  (0.1ms) rollback transaction
24356
+  (0.1ms) begin transaction
24357
+  (0.0ms) rollback transaction
24358
+  (0.0ms) begin transaction
24359
+  (0.1ms) rollback transaction
24360
+  (0.0ms) begin transaction
24361
+  (0.0ms) rollback transaction
24362
+  (0.1ms) begin transaction
24363
+  (0.1ms) rollback transaction
24364
+  (0.1ms) begin transaction
24365
+  (0.1ms) rollback transaction
24366
+  (0.4ms) begin transaction
24367
+  (0.1ms) rollback transaction
24368
+  (0.3ms) begin transaction
24369
+  (0.1ms) rollback transaction
24370
+  (0.0ms) begin transaction
24371
+  (0.0ms) rollback transaction
24372
+  (0.1ms) begin transaction
24373
+  (0.0ms) rollback transaction
24374
+  (0.1ms) begin transaction
24375
+  (0.0ms) rollback transaction
24376
+  (0.1ms) begin transaction
24377
+  (0.0ms) rollback transaction
24378
+  (0.1ms) begin transaction
24379
+  (0.0ms) rollback transaction
24380
+  (0.0ms) begin transaction
24381
+  (0.0ms) rollback transaction
24382
+  (0.0ms) begin transaction
24383
+  (0.0ms) rollback transaction
24384
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24385
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24386
+  (0.1ms)  SELECT sql
24387
+ FROM sqlite_master
24388
+ WHERE name='index_trees_on_island_id' AND type='index'
24389
+ UNION ALL
24390
+ SELECT sql
24391
+ FROM sqlite_temp_master
24392
+ WHERE name='index_trees_on_island_id' AND type='index'
24393
+ 
24394
+  (0.1ms) SELECT sql
24395
+ FROM sqlite_master
24396
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24397
+ UNION ALL
24398
+ SELECT sql
24399
+ FROM sqlite_temp_master
24400
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24401
+
24402
+  (0.1ms)  SELECT sql
24403
+ FROM sqlite_master
24404
+ WHERE name='index_trees_on_owner_id' AND type='index'
24405
+ UNION ALL
24406
+ SELECT sql
24407
+ FROM sqlite_temp_master
24408
+ WHERE name='index_trees_on_owner_id' AND type='index'
24409
+ 
24410
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24411
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24412
+  (0.1ms) begin transaction
24413
+  (0.1ms) rollback transaction
24414
+  (0.0ms) begin transaction
24415
+  (0.0ms) rollback transaction
24416
+  (0.0ms) begin transaction
24417
+  (0.0ms) rollback transaction
24418
+  (0.0ms) begin transaction
24419
+  (0.0ms) rollback transaction
24420
+  (0.1ms) begin transaction
24421
+  (0.0ms) rollback transaction
24422
+  (0.0ms) begin transaction
24423
+  (0.0ms) rollback transaction
24424
+  (0.0ms) begin transaction
24425
+  (0.0ms) rollback transaction
24426
+  (0.0ms) begin transaction
24427
+  (0.0ms) rollback transaction
24428
+  (0.0ms) begin transaction
24429
+  (0.0ms) SAVEPOINT active_record_1
24430
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:14:39.550812"], ["updated_at", "2019-02-28 13:14:39.550812"]]
24431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24432
+  (0.0ms) SAVEPOINT active_record_1
24433
+ SQL (0.2ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:14:39.560633"], ["updated_at", "2019-02-28 13:14:39.560633"]]
24434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24435
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:14:39 +0100
24436
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24437
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24438
+ SQL (0.3ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6 FROM "trees" ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24439
+ Completed 200 OK in 40ms (Views: 0.3ms | ActiveRecord: 0.3ms)
24440
+ User Load (0.1ms) SELECT "users".* FROM "users"
24441
+  (0.0ms) SAVEPOINT active_record_1
24442
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24444
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees"
24445
+  (0.0ms) SAVEPOINT active_record_1
24446
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24448
+  (5.7ms) rollback transaction
24449
+  (0.1ms) begin transaction
24450
+  (0.0ms) SAVEPOINT active_record_1
24451
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:14:39.636186"], ["updated_at", "2019-02-28 13:14:39.636186"]]
24452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24453
+  (0.0ms) SAVEPOINT active_record_1
24454
+ SQL (0.2ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:14:39.637962"], ["updated_at", "2019-02-28 13:14:39.637962"]]
24455
+  (1.6ms) RELEASE SAVEPOINT active_record_1
24456
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:14:39 +0100
24457
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24458
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24459
+ SQL (0.3ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6 FROM "trees" ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24460
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms)
24461
+ User Load (0.1ms) SELECT "users".* FROM "users"
24462
+  (0.0ms) SAVEPOINT active_record_1
24463
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24465
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24466
+  (0.0ms) SAVEPOINT active_record_1
24467
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24468
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24469
+  (0.4ms) rollback transaction
24470
+  (0.1ms) begin transaction
24471
+  (0.0ms) SAVEPOINT active_record_1
24472
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:14:39.661048"], ["updated_at", "2019-02-28 13:14:39.661048"]]
24473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24474
+  (0.0ms) SAVEPOINT active_record_1
24475
+ SQL (0.1ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:14:39.662617"], ["updated_at", "2019-02-28 13:14:39.662617"]]
24476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24477
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&filterType=and&filter[owner%3Aid]=%24present&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:14:39 +0100
24478
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24479
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "filterType"=>"and", "filter"=>{"owner:id"=>"$present"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24480
+ SQL (0.2ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6, "users"."id" AS t1_r0, "users"."name" AS t1_r1, "users"."created_at" AS t1_r2, "users"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "users" ON "users"."id" = "trees"."owner_id" WHERE (users.id IS NOT NULL) ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24481
+ Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 0.2ms)
24482
+ User Load (0.1ms) SELECT "users".* FROM "users"
24483
+  (0.0ms) SAVEPOINT active_record_1
24484
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24485
+  (0.3ms) RELEASE SAVEPOINT active_record_1
24486
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24487
+  (0.0ms) SAVEPOINT active_record_1
24488
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24489
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24490
+  (0.4ms) rollback transaction
24491
+  (0.0ms) begin transaction
24492
+  (0.0ms) SAVEPOINT active_record_1
24493
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:14:39.689780"], ["updated_at", "2019-02-28 13:14:39.689780"]]
24494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24495
+  (0.0ms) SAVEPOINT active_record_1
24496
+ SQL (0.2ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:14:39.691095"], ["updated_at", "2019-02-28 13:14:39.691095"]]
24497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24498
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&filterType=and&filter[owner%3Aid]=%24present&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:14:39 +0100
24499
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24500
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "filterType"=>"and", "filter"=>{"owner:id"=>"$present"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24501
+ SQL (0.2ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6, "users"."id" AS t1_r0, "users"."name" AS t1_r1, "users"."created_at" AS t1_r2, "users"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "users" ON "users"."id" = "trees"."owner_id" WHERE (users.id IS NOT NULL) ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24502
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
24503
+ User Load (0.1ms) SELECT "users".* FROM "users"
24504
+  (0.0ms) SAVEPOINT active_record_1
24505
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24507
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
24508
+  (0.0ms) SAVEPOINT active_record_1
24509
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24511
+  (0.9ms) rollback transaction
24512
+  (0.0ms) begin transaction
24513
+  (0.0ms) rollback transaction
24514
+  (0.0ms) begin transaction
24515
+  (0.0ms) rollback transaction
24516
+  (0.0ms) begin transaction
24517
+  (0.0ms) rollback transaction
24518
+  (0.0ms) begin transaction
24519
+  (0.0ms) rollback transaction
24520
+  (0.0ms) begin transaction
24521
+  (0.0ms) rollback transaction
24522
+  (0.0ms) begin transaction
24523
+  (0.0ms) rollback transaction
24524
+  (0.0ms) begin transaction
24525
+  (0.0ms) rollback transaction
24526
+  (0.0ms) begin transaction
24527
+  (0.0ms) rollback transaction
24528
+  (0.0ms) begin transaction
24529
+  (0.0ms) rollback transaction
24530
+  (0.0ms) begin transaction
24531
+  (0.0ms) rollback transaction
24532
+  (0.0ms) begin transaction
24533
+  (0.0ms) rollback transaction
24534
+  (0.0ms) begin transaction
24535
+  (0.0ms) rollback transaction
24536
+  (0.0ms) begin transaction
24537
+  (0.0ms) rollback transaction
24538
+  (0.0ms) begin transaction
24539
+  (0.0ms) rollback transaction
24540
+  (0.0ms) begin transaction
24541
+  (0.0ms) rollback transaction
24542
+  (0.1ms) begin transaction
24543
+  (0.0ms) rollback transaction
24544
+  (0.0ms) begin transaction
24545
+  (0.0ms) rollback transaction
24546
+  (0.0ms) begin transaction
24547
+  (0.0ms) rollback transaction
24548
+  (0.0ms) begin transaction
24549
+  (0.0ms) rollback transaction
24550
+  (0.0ms) begin transaction
24551
+  (0.1ms) rollback transaction
24552
+  (0.0ms) begin transaction
24553
+  (0.0ms) rollback transaction
24554
+  (0.0ms) begin transaction
24555
+  (0.0ms) rollback transaction
24556
+  (0.0ms) begin transaction
24557
+  (0.0ms) rollback transaction
24558
+  (0.0ms) begin transaction
24559
+  (0.0ms) rollback transaction
24560
+  (0.1ms) begin transaction
24561
+  (0.0ms) rollback transaction
24562
+  (0.0ms) begin transaction
24563
+  (0.0ms) rollback transaction
24564
+  (0.0ms) begin transaction
24565
+  (0.0ms) rollback transaction
24566
+  (0.0ms) begin transaction
24567
+  (0.0ms) rollback transaction
24568
+  (0.0ms) begin transaction
24569
+  (0.0ms) rollback transaction
24570
+  (0.0ms) begin transaction
24571
+  (0.0ms) rollback transaction
24572
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24573
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24574
+  (0.1ms)  SELECT sql
24575
+ FROM sqlite_master
24576
+ WHERE name='index_trees_on_island_id' AND type='index'
24577
+ UNION ALL
24578
+ SELECT sql
24579
+ FROM sqlite_temp_master
24580
+ WHERE name='index_trees_on_island_id' AND type='index'
24581
+ 
24582
+  (0.1ms) SELECT sql
24583
+ FROM sqlite_master
24584
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24585
+ UNION ALL
24586
+ SELECT sql
24587
+ FROM sqlite_temp_master
24588
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24589
+
24590
+  (0.1ms)  SELECT sql
24591
+ FROM sqlite_master
24592
+ WHERE name='index_trees_on_owner_id' AND type='index'
24593
+ UNION ALL
24594
+ SELECT sql
24595
+ FROM sqlite_temp_master
24596
+ WHERE name='index_trees_on_owner_id' AND type='index'
24597
+ 
24598
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
24599
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24600
+  (0.1ms) begin transaction
24601
+  (0.1ms) rollback transaction
24602
+  (0.0ms) begin transaction
24603
+  (0.0ms) rollback transaction
24604
+  (0.1ms) begin transaction
24605
+  (0.0ms) rollback transaction
24606
+  (0.0ms) begin transaction
24607
+  (0.0ms) rollback transaction
24608
+  (0.0ms) begin transaction
24609
+  (0.0ms) rollback transaction
24610
+  (0.0ms) begin transaction
24611
+  (0.0ms) rollback transaction
24612
+  (0.0ms) begin transaction
24613
+  (0.0ms) rollback transaction
24614
+  (0.0ms) begin transaction
24615
+  (0.0ms) rollback transaction
24616
+  (0.0ms) begin transaction
24617
+  (0.0ms) SAVEPOINT active_record_1
24618
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:15:07.335944"], ["updated_at", "2019-02-28 13:15:07.335944"]]
24619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24620
+  (0.0ms) SAVEPOINT active_record_1
24621
+ SQL (0.2ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:15:07.345826"], ["updated_at", "2019-02-28 13:15:07.345826"]]
24622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24623
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:15:07 +0100
24624
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24625
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24626
+ SQL (0.1ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6 FROM "trees" ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24627
+ Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 0.1ms)
24628
+ User Load (0.1ms) SELECT "users".* FROM "users"
24629
+  (0.3ms) SAVEPOINT active_record_1
24630
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24632
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24633
+  (0.0ms) SAVEPOINT active_record_1
24634
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24636
+  (0.4ms) rollback transaction
24637
+  (0.1ms) begin transaction
24638
+  (0.1ms) SAVEPOINT active_record_1
24639
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:15:07.403157"], ["updated_at", "2019-02-28 13:15:07.403157"]]
24640
+  (0.8ms) RELEASE SAVEPOINT active_record_1
24641
+  (0.1ms) SAVEPOINT active_record_1
24642
+ SQL (0.2ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:15:07.406420"], ["updated_at", "2019-02-28 13:15:07.406420"]]
24643
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24644
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:15:07 +0100
24645
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24646
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24647
+ SQL (0.2ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6 FROM "trees" ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24648
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.2ms)
24649
+ User Load (0.1ms) SELECT "users".* FROM "users"
24650
+  (0.0ms) SAVEPOINT active_record_1
24651
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24652
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24653
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24654
+  (0.0ms) SAVEPOINT active_record_1
24655
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24657
+  (0.4ms) rollback transaction
24658
+  (0.1ms) begin transaction
24659
+  (0.0ms) SAVEPOINT active_record_1
24660
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:15:07.423747"], ["updated_at", "2019-02-28 13:15:07.423747"]]
24661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24662
+  (0.1ms) SAVEPOINT active_record_1
24663
+ SQL (0.3ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:15:07.426284"], ["updated_at", "2019-02-28 13:15:07.426284"]]
24664
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24665
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&filterType=and&filter[owner%3Aid]=%24present&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:15:07 +0100
24666
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24667
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "filterType"=>"and", "filter"=>{"owner:id"=>"$present"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24668
+ SQL (0.2ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6, "users"."id" AS t1_r0, "users"."name" AS t1_r1, "users"."created_at" AS t1_r2, "users"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "users" ON "users"."id" = "trees"."owner_id" WHERE (users.id IS NOT NULL) ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24669
+ Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 0.1ms)
24670
+ User Load (0.1ms) SELECT "users".* FROM "users"
24671
+  (0.0ms) SAVEPOINT active_record_1
24672
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24674
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24675
+  (0.0ms) SAVEPOINT active_record_1
24676
+ SQL (0.4ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24677
+  (0.2ms) RELEASE SAVEPOINT active_record_1
24678
+  (2.2ms) rollback transaction
24679
+  (0.1ms) begin transaction
24680
+  (0.1ms) SAVEPOINT active_record_1
24681
+ SQL (1.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 13:15:07.457331"], ["updated_at", "2019-02-28 13:15:07.457331"]]
24682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24683
+  (0.4ms) SAVEPOINT active_record_1
24684
+ SQL (0.6ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 13:15:07.466424"], ["updated_at", "2019-02-28 13:15:07.466424"]]
24685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24686
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&filterType=and&filter[owner%3Aid]=%24present&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 14:15:07 +0100
24687
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24688
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "filterType"=>"and", "filter"=>{"owner:id"=>"$present"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24689
+ SQL (0.2ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6, "users"."id" AS t1_r0, "users"."name" AS t1_r1, "users"."created_at" AS t1_r2, "users"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "users" ON "users"."id" = "trees"."owner_id" WHERE (users.id IS NOT NULL) ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24690
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.2ms)
24691
+ User Load (0.2ms) SELECT "users".* FROM "users"
24692
+  (0.0ms) SAVEPOINT active_record_1
24693
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24695
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24696
+  (0.0ms) SAVEPOINT active_record_1
24697
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24699
+  (2.5ms) rollback transaction
24700
+  (0.1ms) begin transaction
24701
+  (0.0ms) rollback transaction
24702
+  (0.0ms) begin transaction
24703
+  (0.1ms) rollback transaction
24704
+  (0.1ms) begin transaction
24705
+  (0.0ms) rollback transaction
24706
+  (0.1ms) begin transaction
24707
+  (0.1ms) rollback transaction
24708
+  (0.1ms) begin transaction
24709
+  (0.0ms) rollback transaction
24710
+  (0.1ms) begin transaction
24711
+  (0.0ms) rollback transaction
24712
+  (0.1ms) begin transaction
24713
+  (0.0ms) rollback transaction
24714
+  (0.1ms) begin transaction
24715
+  (0.0ms) rollback transaction
24716
+  (0.1ms) begin transaction
24717
+  (0.3ms) rollback transaction
24718
+  (0.1ms) begin transaction
24719
+  (0.0ms) rollback transaction
24720
+  (0.0ms) begin transaction
24721
+  (0.0ms) rollback transaction
24722
+  (0.1ms) begin transaction
24723
+  (0.1ms) rollback transaction
24724
+  (0.1ms) begin transaction
24725
+  (0.1ms) rollback transaction
24726
+  (0.0ms) begin transaction
24727
+  (0.1ms) rollback transaction
24728
+  (0.1ms) begin transaction
24729
+  (0.0ms) rollback transaction
24730
+  (0.1ms) begin transaction
24731
+  (0.3ms) rollback transaction
24732
+  (0.2ms) begin transaction
24733
+  (0.1ms) rollback transaction
24734
+  (0.2ms) begin transaction
24735
+  (0.1ms) rollback transaction
24736
+  (0.2ms) begin transaction
24737
+  (0.7ms) rollback transaction
24738
+  (0.1ms) begin transaction
24739
+  (0.1ms) rollback transaction
24740
+  (0.2ms) begin transaction
24741
+  (0.1ms) rollback transaction
24742
+  (0.1ms) begin transaction
24743
+  (0.0ms) rollback transaction
24744
+  (0.0ms) begin transaction
24745
+  (0.0ms) rollback transaction
24746
+  (0.1ms) begin transaction
24747
+  (0.1ms) rollback transaction
24748
+  (0.1ms) begin transaction
24749
+  (0.0ms) rollback transaction
24750
+  (0.0ms) begin transaction
24751
+  (0.0ms) rollback transaction
24752
+  (0.0ms) begin transaction
24753
+  (0.0ms) rollback transaction
24754
+  (0.1ms) begin transaction
24755
+  (0.0ms) rollback transaction
24756
+  (0.1ms) begin transaction
24757
+  (0.2ms) rollback transaction
24758
+  (0.1ms) begin transaction
24759
+  (0.0ms) rollback transaction
24760
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
24761
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24762
+  (0.1ms)  SELECT sql
24763
+ FROM sqlite_master
24764
+ WHERE name='index_trees_on_island_id' AND type='index'
24765
+ UNION ALL
24766
+ SELECT sql
24767
+ FROM sqlite_temp_master
24768
+ WHERE name='index_trees_on_island_id' AND type='index'
24769
+ 
24770
+  (0.1ms) SELECT sql
24771
+ FROM sqlite_master
24772
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24773
+ UNION ALL
24774
+ SELECT sql
24775
+ FROM sqlite_temp_master
24776
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24777
+
24778
+  (0.1ms)  SELECT sql
24779
+ FROM sqlite_master
24780
+ WHERE name='index_trees_on_owner_id' AND type='index'
24781
+ UNION ALL
24782
+ SELECT sql
24783
+ FROM sqlite_temp_master
24784
+ WHERE name='index_trees_on_owner_id' AND type='index'
24785
+ 
24786
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24787
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24788
+  (0.1ms) begin transaction
24789
+  (0.1ms) rollback transaction
24790
+  (0.0ms) begin transaction
24791
+  (0.0ms) rollback transaction
24792
+  (0.0ms) begin transaction
24793
+  (0.0ms) rollback transaction
24794
+  (0.1ms) begin transaction
24795
+  (0.1ms) rollback transaction
24796
+  (0.0ms) begin transaction
24797
+  (0.1ms) rollback transaction
24798
+  (0.0ms) begin transaction
24799
+  (0.1ms) rollback transaction
24800
+  (0.0ms) begin transaction
24801
+  (0.0ms) rollback transaction
24802
+  (0.1ms) begin transaction
24803
+  (0.0ms) rollback transaction
24804
+  (0.1ms) begin transaction
24805
+  (0.1ms) SAVEPOINT active_record_1
24806
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 16:53:31.306869"], ["updated_at", "2019-02-28 16:53:31.306869"]]
24807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24808
+  (0.1ms) SAVEPOINT active_record_1
24809
+ SQL (2.3ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 16:53:31.321164"], ["updated_at", "2019-02-28 16:53:31.321164"]]
24810
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24811
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 17:53:31 +0100
24812
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24813
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24814
+ SQL (0.1ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6 FROM "trees" ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24815
+ Completed 200 OK in 38ms (Views: 0.3ms | ActiveRecord: 0.1ms)
24816
+ User Load (0.1ms) SELECT "users".* FROM "users"
24817
+  (0.0ms) SAVEPOINT active_record_1
24818
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24820
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
24821
+  (0.0ms) SAVEPOINT active_record_1
24822
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24824
+  (0.4ms) rollback transaction
24825
+  (0.1ms) begin transaction
24826
+  (0.1ms) SAVEPOINT active_record_1
24827
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 16:53:31.404420"], ["updated_at", "2019-02-28 16:53:31.404420"]]
24828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24829
+  (0.0ms) SAVEPOINT active_record_1
24830
+ SQL (0.2ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 16:53:31.406662"], ["updated_at", "2019-02-28 16:53:31.406662"]]
24831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24832
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 17:53:31 +0100
24833
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24834
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24835
+ SQL (0.2ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6 FROM "trees" ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24836
+ Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.2ms)
24837
+ User Load (0.1ms) SELECT "users".* FROM "users"
24838
+  (0.0ms) SAVEPOINT active_record_1
24839
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24840
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24841
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24842
+  (0.0ms) SAVEPOINT active_record_1
24843
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24844
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24845
+  (2.0ms) rollback transaction
24846
+  (0.9ms) begin transaction
24847
+  (0.0ms) SAVEPOINT active_record_1
24848
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 16:53:31.456700"], ["updated_at", "2019-02-28 16:53:31.456700"]]
24849
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24850
+  (0.0ms) SAVEPOINT active_record_1
24851
+ SQL (0.8ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 16:53:31.459102"], ["updated_at", "2019-02-28 16:53:31.459102"]]
24852
+  (9.2ms) RELEASE SAVEPOINT active_record_1
24853
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&filterType=and&filter[owner%3Aid]=%24present&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 17:53:31 +0100
24854
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24855
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "filterType"=>"and", "filter"=>{"owner:id"=>"$present"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24856
+ SQL (0.2ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6, "users"."id" AS t1_r0, "users"."name" AS t1_r1, "users"."created_at" AS t1_r2, "users"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "users" ON "users"."id" = "trees"."owner_id" WHERE (users.id IS NOT NULL) ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24857
+ Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 0.2ms)
24858
+ User Load (0.1ms) SELECT "users".* FROM "users"
24859
+  (0.0ms) SAVEPOINT active_record_1
24860
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24862
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24863
+  (0.0ms) SAVEPOINT active_record_1
24864
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24865
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24866
+  (0.5ms) rollback transaction
24867
+  (0.1ms) begin transaction
24868
+  (0.1ms) SAVEPOINT active_record_1
24869
+ SQL (2.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-02-28 16:53:31.528877"], ["updated_at", "2019-02-28 16:53:31.528877"]]
24870
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24871
+  (0.1ms) SAVEPOINT active_record_1
24872
+ SQL (0.1ms) INSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Lemon Tree"], ["owner_id", 1], ["cutter_id", 1], ["created_at", "2019-02-28 16:53:31.533450"], ["updated_at", "2019-02-28 16:53:31.533450"]]
24873
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24874
+ Started GET "/forest/Tree?fields[Tree]=id%2Cname&filterType=and&filter[owner%3Aid]=%24present&page[number]=1&page[size]=10&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 127.0.0.1 at 2019-02-28 17:53:31 +0100
24875
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
24876
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "filterType"=>"and", "filter"=>{"owner:id"=>"$present"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
24877
+ SQL (0.2ms) SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."cutter_id" AS t0_r3, "trees"."island_id" AS t0_r4, "trees"."created_at" AS t0_r5, "trees"."updated_at" AS t0_r6, "users"."id" AS t1_r0, "users"."name" AS t1_r1, "users"."created_at" AS t1_r2, "users"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "users" ON "users"."id" = "trees"."owner_id" WHERE (users.id IS NOT NULL) ORDER BY "trees"."id" DESC LIMIT 10 OFFSET 0
24878
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
24879
+ User Load (0.1ms) SELECT "users".* FROM "users"
24880
+  (0.0ms) SAVEPOINT active_record_1
24881
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
24882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24883
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
24884
+  (0.1ms) SAVEPOINT active_record_1
24885
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
24886
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24887
+  (0.7ms) rollback transaction
24888
+  (0.1ms) begin transaction
24889
+  (0.1ms) rollback transaction
24890
+  (0.1ms) begin transaction
24891
+  (0.1ms) rollback transaction
24892
+  (0.0ms) begin transaction
24893
+  (0.0ms) rollback transaction
24894
+  (0.1ms) begin transaction
24895
+  (0.0ms) rollback transaction
24896
+  (0.0ms) begin transaction
24897
+  (0.0ms) rollback transaction
24898
+  (0.1ms) begin transaction
24899
+  (0.0ms) rollback transaction
24900
+  (0.0ms) begin transaction
24901
+  (0.1ms) rollback transaction
24902
+  (0.0ms) begin transaction
24903
+  (0.1ms) rollback transaction
24904
+  (0.1ms) begin transaction
24905
+  (0.0ms) rollback transaction
24906
+  (0.1ms) begin transaction
24907
+  (0.0ms) rollback transaction
24908
+  (0.0ms) begin transaction
24909
+  (0.0ms) rollback transaction
24910
+  (0.0ms) begin transaction
24911
+  (0.0ms) rollback transaction
24912
+  (0.0ms) begin transaction
24913
+  (1.7ms) rollback transaction
24914
+  (0.1ms) begin transaction
24915
+  (0.1ms) rollback transaction
24916
+  (0.1ms) begin transaction
24917
+  (0.1ms) rollback transaction
24918
+  (1.2ms) begin transaction
24919
+  (0.1ms) rollback transaction
24920
+  (0.1ms) begin transaction
24921
+  (0.1ms) rollback transaction
24922
+  (9.2ms) begin transaction
24923
+  (0.2ms) rollback transaction
24924
+  (0.1ms) begin transaction
24925
+  (0.1ms) rollback transaction
24926
+  (0.1ms) begin transaction
24927
+  (0.0ms) rollback transaction
24928
+  (0.1ms) begin transaction
24929
+  (0.1ms) rollback transaction
24930
+  (0.1ms) begin transaction
24931
+  (0.1ms) rollback transaction
24932
+  (0.1ms) begin transaction
24933
+  (0.0ms) rollback transaction
24934
+  (0.1ms) begin transaction
24935
+  (0.1ms) rollback transaction
24936
+  (0.1ms) begin transaction
24937
+  (0.1ms) rollback transaction
24938
+  (0.1ms) begin transaction
24939
+  (0.0ms) rollback transaction
24940
+  (0.1ms) begin transaction
24941
+  (0.0ms) rollback transaction
24942
+  (0.1ms) begin transaction
24943
+  (0.1ms) rollback transaction
24944
+  (0.0ms) begin transaction
24945
+  (0.0ms) rollback transaction
24946
+  (0.2ms) begin transaction
24947
+  (0.1ms) rollback transaction