forest_liana 2.15.7 → 2.15.8

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: d0fab1ce3fad6772840ebacd8a4128f956e0713d
4
- data.tar.gz: edc61a227477cbb0b75e47e378749915dfc12d60
3
+ metadata.gz: 9791d00f328850811605eff107ed34a518693051
4
+ data.tar.gz: 17321641b3f1432ec4bfb63b36a8add62a7493a3
5
5
  SHA512:
6
- metadata.gz: 9491b90245890994c3ead06953c1dfedc4f5e4f3a2f56cad90f6c61503f891785af39115262884f0b0d01aa05bc72da4e868002c84087f303918af01e58b1426
7
- data.tar.gz: 6ca054c180ed9f9c52c8ca681d86d5c75a68d6268b61a75cad9c416c25585c7f38aa706d69a54df4b8ab6d432b65f05a3059ec8b8e76c14c7d3a77931bc51954
6
+ metadata.gz: 6e82b22b8081c3b734af33a21c25b830ea27a6b6441c885ef498ab46d32586a885bc0849d3a00f2248859a7ff8e9f208f62f23f6c38b1d116c2b803c6944688f
7
+ data.tar.gz: 40fae318883c99ccc3f48e634b652a158181fb0e3bd95b04bc61083a799f7f6ece1e6fc4715b00ae1c3f6139446dcee0e6c88bdd88dcf4bc73aa28325daf45a7
@@ -83,7 +83,7 @@ module ForestLiana
83
83
  getter = ForestLiana::ResourceGetter.new(@resource, params)
84
84
  getter.perform
85
85
 
86
- render serializer: nil, json: render_record_jsonapi(getter)
86
+ render serializer: nil, json: render_record_jsonapi(getter.record)
87
87
  rescue => error
88
88
  FOREST_LOGGER.error "Record Show error: #{error}\n#{format_stacktrace(error)}"
89
89
  internal_server_error
@@ -102,8 +102,7 @@ module ForestLiana
102
102
  render serializer: nil, json: JSONAPI::Serializer.serialize_errors(
103
103
  creator.errors), status: 400
104
104
  elsif creator.record.valid?
105
- render serializer: nil,
106
- json: serialize_model(get_record(creator.record), include: record_includes)
105
+ render serializer: nil, json: render_record_jsonapi(creator.record)
107
106
  else
108
107
  render serializer: nil, json: JSONAPI::Serializer.serialize_errors(
109
108
  creator.record.errors), status: 400
@@ -126,8 +125,7 @@ module ForestLiana
126
125
  render serializer: nil, json: JSONAPI::Serializer.serialize_errors(
127
126
  updater.errors), status: 400
128
127
  elsif updater.record.valid?
129
- render serializer: nil,
130
- json: serialize_model(get_record(updater.record), include: record_includes)
128
+ render serializer: nil, json: render_record_jsonapi(updater.record)
131
129
  else
132
130
  render serializer: nil, json: JSONAPI::Serializer.serialize_errors(
133
131
  updater.record.errors), status: 400
@@ -188,14 +186,15 @@ module ForestLiana
188
186
  is_sti_model? ? record.becomes(@resource) : record
189
187
  end
190
188
 
191
- def render_record_jsonapi getter
192
- collection_fields = getter.collection.fields.map { |field| field[:field] }
189
+ def render_record_jsonapi record
190
+ collection = ForestLiana::SchemaHelper.find_collection_from_model(@resource)
191
+ collection_fields = collection.fields.map { |field| field[:field] }
193
192
  fields_to_serialize = {
194
193
  ForestLiana.name_for(@resource) => collection_fields.join(',')
195
194
  }
196
195
 
197
- serialize_model(get_record(getter.record), {
198
- include: includes(getter),
196
+ serialize_model(get_record(record), {
197
+ include: record_includes,
199
198
  fields: fields_to_serialize
200
199
  })
201
200
  end
@@ -0,0 +1,8 @@
1
+ module ForestLiana
2
+ module SchemaHelper
3
+ def self.find_collection_from_model(active_record_class)
4
+ collection_name = ForestLiana.name_for(active_record_class)
5
+ ForestLiana.apimap.find { |collection| collection.name.to_s == collection_name }
6
+ end
7
+ end
8
+ end
@@ -1,7 +1,6 @@
1
1
  module ForestLiana
2
2
  class ResourceGetter < BaseGetter
3
3
  attr_accessor :record
4
- attr_reader :collection
5
4
 
6
5
  def initialize(resource, params)
7
6
  @resource = resource
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "2.15.7"
2
+ VERSION = "2.15.8"
3
3
  end
@@ -24945,3 +24945,1195 @@ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.2ms)
24945
24945
   (0.0ms) rollback transaction
24946
24946
   (0.2ms) begin transaction
24947
24947
   (0.1ms) rollback transaction
24948
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
24949
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24950
+  (0.1ms)  SELECT sql
24951
+ FROM sqlite_master
24952
+ WHERE name='index_trees_on_island_id' AND type='index'
24953
+ UNION ALL
24954
+ SELECT sql
24955
+ FROM sqlite_temp_master
24956
+ WHERE name='index_trees_on_island_id' AND type='index'
24957
+ 
24958
+  (0.1ms) SELECT sql
24959
+ FROM sqlite_master
24960
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24961
+ UNION ALL
24962
+ SELECT sql
24963
+ FROM sqlite_temp_master
24964
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24965
+
24966
+  (0.1ms)  SELECT sql
24967
+ FROM sqlite_master
24968
+ WHERE name='index_trees_on_owner_id' AND type='index'
24969
+ UNION ALL
24970
+ SELECT sql
24971
+ FROM sqlite_temp_master
24972
+ WHERE name='index_trees_on_owner_id' AND type='index'
24973
+ 
24974
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24975
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24976
+  (0.1ms)  SELECT sql
24977
+ FROM sqlite_master
24978
+ WHERE name='index_trees_on_island_id' AND type='index'
24979
+ UNION ALL
24980
+ SELECT sql
24981
+ FROM sqlite_temp_master
24982
+ WHERE name='index_trees_on_island_id' AND type='index'
24983
+ 
24984
+  (0.1ms) SELECT sql
24985
+ FROM sqlite_master
24986
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24987
+ UNION ALL
24988
+ SELECT sql
24989
+ FROM sqlite_temp_master
24990
+ WHERE name='index_trees_on_cutter_id' AND type='index'
24991
+
24992
+  (0.1ms)  SELECT sql
24993
+ FROM sqlite_master
24994
+ WHERE name='index_trees_on_owner_id' AND type='index'
24995
+ UNION ALL
24996
+ SELECT sql
24997
+ FROM sqlite_temp_master
24998
+ WHERE name='index_trees_on_owner_id' AND type='index'
24999
+ 
25000
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25001
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25002
+  (0.1ms)  SELECT sql
25003
+ FROM sqlite_master
25004
+ WHERE name='index_trees_on_island_id' AND type='index'
25005
+ UNION ALL
25006
+ SELECT sql
25007
+ FROM sqlite_temp_master
25008
+ WHERE name='index_trees_on_island_id' AND type='index'
25009
+ 
25010
+  (0.1ms) SELECT sql
25011
+ FROM sqlite_master
25012
+ WHERE name='index_trees_on_cutter_id' AND type='index'
25013
+ UNION ALL
25014
+ SELECT sql
25015
+ FROM sqlite_temp_master
25016
+ WHERE name='index_trees_on_cutter_id' AND type='index'
25017
+
25018
+  (0.1ms)  SELECT sql
25019
+ FROM sqlite_master
25020
+ WHERE name='index_trees_on_owner_id' AND type='index'
25021
+ UNION ALL
25022
+ SELECT sql
25023
+ FROM sqlite_temp_master
25024
+ WHERE name='index_trees_on_owner_id' AND type='index'
25025
+ 
25026
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25027
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25028
+  (0.1ms) begin transaction
25029
+  (0.1ms) rollback transaction
25030
+  (0.1ms) begin transaction
25031
+  (0.0ms) rollback transaction
25032
+  (0.0ms) begin transaction
25033
+  (0.0ms) rollback transaction
25034
+  (0.0ms) begin transaction
25035
+  (0.0ms) rollback transaction
25036
+  (0.0ms) begin transaction
25037
+  (0.1ms) rollback transaction
25038
+  (0.0ms) begin transaction
25039
+  (0.0ms) rollback transaction
25040
+  (0.1ms) begin transaction
25041
+  (0.0ms) rollback transaction
25042
+  (0.0ms) begin transaction
25043
+  (0.0ms) rollback transaction
25044
+  (0.0ms) begin transaction
25045
+  (0.0ms) rollback transaction
25046
+  (0.1ms) begin transaction
25047
+  (0.0ms) SAVEPOINT active_record_1
25048
+ SQL (1.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:21:53.001978"], ["updated_at", "2019-03-01 07:21:53.001978"]]
25049
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25050
+  (0.1ms) SAVEPOINT active_record_1
25051
+ SQL (1.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-03-01 07:21:53.015599"], ["updated_at", "2019-03-01 07:21:53.015599"]]
25052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25053
+ 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-03-01 08:21:53 +0100
25054
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25055
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
25056
+ 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
25057
+ Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 0.1ms)
25058
+ User Load (0.1ms) SELECT "users".* FROM "users"
25059
+  (0.0ms) SAVEPOINT active_record_1
25060
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25062
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
25063
+  (0.0ms) SAVEPOINT active_record_1
25064
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25066
+  (1.0ms) rollback transaction
25067
+  (0.0ms) begin transaction
25068
+  (0.0ms) SAVEPOINT active_record_1
25069
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:21:53.061787"], ["updated_at", "2019-03-01 07:21:53.061787"]]
25070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25071
+  (0.0ms) SAVEPOINT active_record_1
25072
+ 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-03-01 07:21:53.063197"], ["updated_at", "2019-03-01 07:21:53.063197"]]
25073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25074
+ 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-03-01 08:21:53 +0100
25075
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25076
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
25077
+ 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
25078
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
25079
+ User Load (0.1ms) SELECT "users".* FROM "users"
25080
+  (0.1ms) SAVEPOINT active_record_1
25081
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25083
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
25084
+  (0.0ms) SAVEPOINT active_record_1
25085
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25087
+  (0.7ms) rollback transaction
25088
+  (0.0ms) begin transaction
25089
+  (0.0ms) SAVEPOINT active_record_1
25090
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:21:53.076551"], ["updated_at", "2019-03-01 07:21:53.076551"]]
25091
+  (0.2ms) RELEASE SAVEPOINT active_record_1
25092
+  (0.0ms) SAVEPOINT active_record_1
25093
+ 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-03-01 07:21:53.080119"], ["updated_at", "2019-03-01 07:21:53.080119"]]
25094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25095
+ 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-03-01 08:21:53 +0100
25096
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25097
+ 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"}
25098
+ 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
25099
+ Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 0.1ms)
25100
+ User Load (0.1ms) SELECT "users".* FROM "users"
25101
+  (0.0ms) SAVEPOINT active_record_1
25102
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25104
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
25105
+  (0.0ms) SAVEPOINT active_record_1
25106
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25108
+  (0.3ms) rollback transaction
25109
+  (0.0ms) begin transaction
25110
+  (0.1ms) SAVEPOINT active_record_1
25111
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:21:53.102982"], ["updated_at", "2019-03-01 07:21:53.102982"]]
25112
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25113
+  (0.1ms) SAVEPOINT active_record_1
25114
+ 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-03-01 07:21:53.104465"], ["updated_at", "2019-03-01 07:21:53.104465"]]
25115
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25116
+ 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-03-01 08:21:53 +0100
25117
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25118
+ 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"}
25119
+ SQL (0.4ms) 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
25120
+ Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.4ms)
25121
+ User Load (0.1ms) SELECT "users".* FROM "users"
25122
+  (0.1ms) SAVEPOINT active_record_1
25123
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25124
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25125
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
25126
+  (0.0ms) SAVEPOINT active_record_1
25127
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25129
+  (0.4ms) rollback transaction
25130
+  (0.1ms) begin transaction
25131
+  (0.1ms) rollback transaction
25132
+  (0.0ms) begin transaction
25133
+  (0.1ms) rollback transaction
25134
+  (0.1ms) begin transaction
25135
+  (0.1ms) rollback transaction
25136
+  (0.1ms) begin transaction
25137
+  (0.1ms) rollback transaction
25138
+  (0.1ms) begin transaction
25139
+  (0.1ms) rollback transaction
25140
+  (0.1ms) begin transaction
25141
+  (0.1ms) rollback transaction
25142
+  (0.1ms) begin transaction
25143
+  (0.1ms) rollback transaction
25144
+  (0.1ms) begin transaction
25145
+  (0.5ms) rollback transaction
25146
+  (0.3ms) begin transaction
25147
+  (0.2ms) rollback transaction
25148
+  (0.3ms) begin transaction
25149
+  (0.1ms) rollback transaction
25150
+  (0.1ms) begin transaction
25151
+  (0.1ms) rollback transaction
25152
+  (0.1ms) begin transaction
25153
+  (0.1ms) rollback transaction
25154
+  (0.4ms) begin transaction
25155
+  (0.1ms) rollback transaction
25156
+  (0.5ms) begin transaction
25157
+  (0.1ms) rollback transaction
25158
+  (0.0ms) begin transaction
25159
+  (0.0ms) rollback transaction
25160
+  (0.1ms) begin transaction
25161
+  (0.1ms) rollback transaction
25162
+  (0.1ms) begin transaction
25163
+  (0.0ms) rollback transaction
25164
+  (0.1ms) begin transaction
25165
+  (0.1ms) rollback transaction
25166
+  (0.2ms) begin transaction
25167
+  (0.2ms) rollback transaction
25168
+  (0.3ms) begin transaction
25169
+  (0.3ms) rollback transaction
25170
+  (0.1ms) begin transaction
25171
+  (0.1ms) rollback transaction
25172
+  (0.1ms) begin transaction
25173
+  (0.1ms) rollback transaction
25174
+  (0.1ms) begin transaction
25175
+  (0.1ms) rollback transaction
25176
+  (0.1ms) begin transaction
25177
+  (0.0ms) rollback transaction
25178
+  (0.1ms) begin transaction
25179
+  (0.0ms) rollback transaction
25180
+  (0.1ms) begin transaction
25181
+  (0.1ms) rollback transaction
25182
+  (0.1ms) begin transaction
25183
+  (0.1ms) rollback transaction
25184
+  (0.1ms) begin transaction
25185
+  (0.0ms) rollback transaction
25186
+  (0.0ms) begin transaction
25187
+  (0.0ms) rollback transaction
25188
+  (0.1ms) begin transaction
25189
+  (0.0ms) rollback transaction
25190
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
25191
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25192
+  (0.1ms)  SELECT sql
25193
+ FROM sqlite_master
25194
+ WHERE name='index_trees_on_island_id' AND type='index'
25195
+ UNION ALL
25196
+ SELECT sql
25197
+ FROM sqlite_temp_master
25198
+ WHERE name='index_trees_on_island_id' AND type='index'
25199
+ 
25200
+  (0.1ms) SELECT sql
25201
+ FROM sqlite_master
25202
+ WHERE name='index_trees_on_cutter_id' AND type='index'
25203
+ UNION ALL
25204
+ SELECT sql
25205
+ FROM sqlite_temp_master
25206
+ WHERE name='index_trees_on_cutter_id' AND type='index'
25207
+
25208
+  (0.1ms)  SELECT sql
25209
+ FROM sqlite_master
25210
+ WHERE name='index_trees_on_owner_id' AND type='index'
25211
+ UNION ALL
25212
+ SELECT sql
25213
+ FROM sqlite_temp_master
25214
+ WHERE name='index_trees_on_owner_id' AND type='index'
25215
+ 
25216
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25217
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
25218
+  (0.1ms) begin transaction
25219
+  (0.1ms) rollback transaction
25220
+  (0.0ms) begin transaction
25221
+  (0.0ms) rollback transaction
25222
+  (0.0ms) begin transaction
25223
+  (0.0ms) rollback transaction
25224
+  (0.0ms) begin transaction
25225
+  (0.0ms) rollback transaction
25226
+  (0.0ms) begin transaction
25227
+  (0.0ms) rollback transaction
25228
+  (0.0ms) begin transaction
25229
+  (0.0ms) rollback transaction
25230
+  (0.0ms) begin transaction
25231
+  (0.0ms) rollback transaction
25232
+  (0.0ms) begin transaction
25233
+  (0.0ms) rollback transaction
25234
+  (0.0ms) begin transaction
25235
+  (0.1ms) rollback transaction
25236
+  (0.0ms) begin transaction
25237
+  (0.1ms) SAVEPOINT active_record_1
25238
+ SQL (1.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:22:27.540007"], ["updated_at", "2019-03-01 07:22:27.540007"]]
25239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25240
+  (0.1ms) SAVEPOINT active_record_1
25241
+ SQL (1.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-03-01 07:22:27.553904"], ["updated_at", "2019-03-01 07:22:27.553904"]]
25242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25243
+ 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-03-01 08:22:27 +0100
25244
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25245
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
25246
+ 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
25247
+ Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 0.1ms)
25248
+ User Load (0.1ms) SELECT "users".* FROM "users"
25249
+  (0.1ms) SAVEPOINT active_record_1
25250
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25252
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees"
25253
+  (0.0ms) SAVEPOINT active_record_1
25254
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25256
+  (0.8ms) rollback transaction
25257
+  (0.1ms) begin transaction
25258
+  (0.0ms) SAVEPOINT active_record_1
25259
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:22:27.610568"], ["updated_at", "2019-03-01 07:22:27.610568"]]
25260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25261
+  (0.0ms) SAVEPOINT active_record_1
25262
+ 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-03-01 07:22:27.612744"], ["updated_at", "2019-03-01 07:22:27.612744"]]
25263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25264
+ 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-03-01 08:22:27 +0100
25265
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25266
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
25267
+ 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
25268
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.1ms)
25269
+ User Load (0.1ms) SELECT "users".* FROM "users"
25270
+  (0.0ms) SAVEPOINT active_record_1
25271
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25272
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25273
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
25274
+  (0.0ms) SAVEPOINT active_record_1
25275
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25277
+  (0.4ms) rollback transaction
25278
+  (0.1ms) begin transaction
25279
+  (0.0ms) SAVEPOINT active_record_1
25280
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:22:27.628118"], ["updated_at", "2019-03-01 07:22:27.628118"]]
25281
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25282
+  (0.0ms) SAVEPOINT active_record_1
25283
+ 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-03-01 07:22:27.629667"], ["updated_at", "2019-03-01 07:22:27.629667"]]
25284
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25285
+ 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-03-01 08:22:27 +0100
25286
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25287
+ 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"}
25288
+ 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
25289
+ Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.1ms)
25290
+ User Load (0.1ms) SELECT "users".* FROM "users"
25291
+  (0.0ms) SAVEPOINT active_record_1
25292
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25293
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25294
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
25295
+  (0.0ms) SAVEPOINT active_record_1
25296
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25298
+  (0.4ms) rollback transaction
25299
+  (0.0ms) begin transaction
25300
+  (0.0ms) SAVEPOINT active_record_1
25301
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:22:27.651164"], ["updated_at", "2019-03-01 07:22:27.651164"]]
25302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25303
+  (0.1ms) SAVEPOINT active_record_1
25304
+ SQL (1.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-03-01 07:22:27.653916"], ["updated_at", "2019-03-01 07:22:27.653916"]]
25305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25306
+ 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-03-01 08:22:27 +0100
25307
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25308
+ 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"}
25309
+ 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
25310
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms)
25311
+ User Load (0.1ms) SELECT "users".* FROM "users"
25312
+  (0.0ms) SAVEPOINT active_record_1
25313
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25314
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25315
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
25316
+  (0.0ms) SAVEPOINT active_record_1
25317
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25319
+  (0.5ms) rollback transaction
25320
+  (0.0ms) begin transaction
25321
+  (0.0ms) rollback transaction
25322
+  (0.0ms) begin transaction
25323
+  (0.0ms) rollback transaction
25324
+  (0.0ms) begin transaction
25325
+  (0.0ms) rollback transaction
25326
+  (0.0ms) begin transaction
25327
+  (0.0ms) rollback transaction
25328
+  (0.0ms) begin transaction
25329
+  (0.0ms) rollback transaction
25330
+  (0.1ms) begin transaction
25331
+  (0.0ms) rollback transaction
25332
+  (0.0ms) begin transaction
25333
+  (0.0ms) rollback transaction
25334
+  (0.0ms) begin transaction
25335
+  (0.0ms) rollback transaction
25336
+  (0.0ms) begin transaction
25337
+  (0.0ms) rollback transaction
25338
+  (0.0ms) begin transaction
25339
+  (0.0ms) rollback transaction
25340
+  (0.0ms) begin transaction
25341
+  (0.0ms) rollback transaction
25342
+  (0.0ms) begin transaction
25343
+  (0.0ms) rollback transaction
25344
+  (0.0ms) begin transaction
25345
+  (0.0ms) rollback transaction
25346
+  (0.0ms) begin transaction
25347
+  (0.0ms) rollback transaction
25348
+  (0.0ms) begin transaction
25349
+  (0.0ms) rollback transaction
25350
+  (0.0ms) begin transaction
25351
+  (0.0ms) rollback transaction
25352
+  (0.0ms) begin transaction
25353
+  (0.0ms) rollback transaction
25354
+  (0.0ms) begin transaction
25355
+  (0.0ms) rollback transaction
25356
+  (0.0ms) begin transaction
25357
+  (0.0ms) rollback transaction
25358
+  (0.0ms) begin transaction
25359
+  (0.0ms) rollback transaction
25360
+  (0.1ms) begin transaction
25361
+  (0.0ms) rollback transaction
25362
+  (0.1ms) begin transaction
25363
+  (0.0ms) rollback transaction
25364
+  (0.1ms) begin transaction
25365
+  (0.1ms) rollback transaction
25366
+  (0.1ms) begin transaction
25367
+  (0.0ms) rollback transaction
25368
+  (0.1ms) begin transaction
25369
+  (0.0ms) rollback transaction
25370
+  (0.1ms) begin transaction
25371
+  (0.1ms) rollback transaction
25372
+  (0.1ms) begin transaction
25373
+  (0.1ms) rollback transaction
25374
+  (0.1ms) begin transaction
25375
+  (0.1ms) rollback transaction
25376
+  (0.1ms) begin transaction
25377
+  (0.0ms) rollback transaction
25378
+  (0.1ms) begin transaction
25379
+  (0.0ms) rollback transaction
25380
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
25381
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25382
+  (0.1ms)  SELECT sql
25383
+ FROM sqlite_master
25384
+ WHERE name='index_trees_on_island_id' AND type='index'
25385
+ UNION ALL
25386
+ SELECT sql
25387
+ FROM sqlite_temp_master
25388
+ WHERE name='index_trees_on_island_id' AND type='index'
25389
+ 
25390
+  (0.1ms) SELECT sql
25391
+ FROM sqlite_master
25392
+ WHERE name='index_trees_on_cutter_id' AND type='index'
25393
+ UNION ALL
25394
+ SELECT sql
25395
+ FROM sqlite_temp_master
25396
+ WHERE name='index_trees_on_cutter_id' AND type='index'
25397
+
25398
+  (0.2ms)  SELECT sql
25399
+ FROM sqlite_master
25400
+ WHERE name='index_trees_on_owner_id' AND type='index'
25401
+ UNION ALL
25402
+ SELECT sql
25403
+ FROM sqlite_temp_master
25404
+ WHERE name='index_trees_on_owner_id' AND type='index'
25405
+ 
25406
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25407
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25408
+  (0.1ms) begin transaction
25409
+  (0.1ms) rollback transaction
25410
+  (0.0ms) begin transaction
25411
+  (0.0ms) rollback transaction
25412
+  (0.0ms) begin transaction
25413
+  (0.0ms) rollback transaction
25414
+  (0.0ms) begin transaction
25415
+  (0.0ms) rollback transaction
25416
+  (0.0ms) begin transaction
25417
+  (0.0ms) rollback transaction
25418
+  (0.0ms) begin transaction
25419
+  (0.0ms) rollback transaction
25420
+  (0.0ms) begin transaction
25421
+  (0.0ms) rollback transaction
25422
+  (0.0ms) begin transaction
25423
+  (0.0ms) rollback transaction
25424
+  (0.0ms) begin transaction
25425
+  (0.0ms) rollback transaction
25426
+  (0.0ms) begin transaction
25427
+  (0.0ms) SAVEPOINT active_record_1
25428
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:24:06.613512"], ["updated_at", "2019-03-01 07:24:06.613512"]]
25429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25430
+  (0.1ms) SAVEPOINT active_record_1
25431
+ 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-03-01 07:24:06.623760"], ["updated_at", "2019-03-01 07:24:06.623760"]]
25432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25433
+ 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-03-01 08:24:06 +0100
25434
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25435
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
25436
+ 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
25437
+ Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.1ms)
25438
+ User Load (0.1ms) SELECT "users".* FROM "users"
25439
+  (0.1ms) SAVEPOINT active_record_1
25440
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25442
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
25443
+  (0.0ms) SAVEPOINT active_record_1
25444
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25445
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25446
+  (5.7ms) rollback transaction
25447
+  (0.2ms) begin transaction
25448
+  (0.1ms) SAVEPOINT active_record_1
25449
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:24:06.682920"], ["updated_at", "2019-03-01 07:24:06.682920"]]
25450
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25451
+  (0.1ms) SAVEPOINT active_record_1
25452
+ 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-03-01 07:24:06.686173"], ["updated_at", "2019-03-01 07:24:06.686173"]]
25453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25454
+ 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-03-01 08:24:06 +0100
25455
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25456
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
25457
+ 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
25458
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
25459
+ User Load (0.1ms) SELECT "users".* FROM "users"
25460
+  (0.1ms) SAVEPOINT active_record_1
25461
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25462
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25463
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
25464
+  (0.1ms) SAVEPOINT active_record_1
25465
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25466
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25467
+  (0.6ms) rollback transaction
25468
+  (0.1ms) begin transaction
25469
+  (0.1ms) SAVEPOINT active_record_1
25470
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:24:06.704123"], ["updated_at", "2019-03-01 07:24:06.704123"]]
25471
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25472
+  (0.0ms) SAVEPOINT active_record_1
25473
+ 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-03-01 07:24:06.707430"], ["updated_at", "2019-03-01 07:24:06.707430"]]
25474
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25475
+ 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-03-01 08:24:06 +0100
25476
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25477
+ 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"}
25478
+ 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
25479
+ Completed 200 OK in 16ms (Views: 0.1ms | ActiveRecord: 0.1ms)
25480
+ User Load (0.0ms) SELECT "users".* FROM "users"
25481
+  (0.0ms) SAVEPOINT active_record_1
25482
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25484
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
25485
+  (0.0ms) SAVEPOINT active_record_1
25486
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25487
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25488
+  (0.4ms) rollback transaction
25489
+  (0.0ms) begin transaction
25490
+  (0.0ms) SAVEPOINT active_record_1
25491
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:24:06.736935"], ["updated_at", "2019-03-01 07:24:06.736935"]]
25492
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25493
+  (0.0ms) SAVEPOINT active_record_1
25494
+ 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-03-01 07:24:06.738189"], ["updated_at", "2019-03-01 07:24:06.738189"]]
25495
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25496
+ 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-03-01 08:24:06 +0100
25497
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25498
+ 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"}
25499
+ 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
25500
+ Completed 200 OK in 9ms (Views: 0.6ms | ActiveRecord: 0.2ms)
25501
+ User Load (0.2ms) SELECT "users".* FROM "users"
25502
+  (0.2ms) SAVEPOINT active_record_1
25503
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25504
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25505
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees"
25506
+  (0.1ms) SAVEPOINT active_record_1
25507
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25509
+  (0.6ms) rollback transaction
25510
+  (0.1ms) begin transaction
25511
+  (0.1ms) rollback transaction
25512
+  (0.1ms) begin transaction
25513
+  (0.1ms) rollback transaction
25514
+  (0.1ms) begin transaction
25515
+  (0.1ms) rollback transaction
25516
+  (0.1ms) begin transaction
25517
+  (0.1ms) rollback transaction
25518
+  (0.0ms) begin transaction
25519
+  (0.0ms) rollback transaction
25520
+  (0.0ms) begin transaction
25521
+  (0.0ms) rollback transaction
25522
+  (0.0ms) begin transaction
25523
+  (0.0ms) rollback transaction
25524
+  (0.0ms) begin transaction
25525
+  (0.0ms) rollback transaction
25526
+  (0.0ms) begin transaction
25527
+  (0.0ms) rollback transaction
25528
+  (0.0ms) begin transaction
25529
+  (0.0ms) rollback transaction
25530
+  (0.0ms) begin transaction
25531
+  (0.0ms) rollback transaction
25532
+  (0.1ms) begin transaction
25533
+  (0.0ms) rollback transaction
25534
+  (0.0ms) begin transaction
25535
+  (0.0ms) rollback transaction
25536
+  (0.1ms) begin transaction
25537
+  (0.1ms) rollback transaction
25538
+  (0.1ms) begin transaction
25539
+  (0.1ms) rollback transaction
25540
+  (0.1ms) begin transaction
25541
+  (0.0ms) rollback transaction
25542
+  (0.1ms) begin transaction
25543
+  (0.1ms) rollback transaction
25544
+  (0.1ms) begin transaction
25545
+  (0.0ms) rollback transaction
25546
+  (0.1ms) begin transaction
25547
+  (0.1ms) rollback transaction
25548
+  (0.1ms) begin transaction
25549
+  (0.1ms) rollback transaction
25550
+  (0.1ms) begin transaction
25551
+  (0.0ms) rollback transaction
25552
+  (0.1ms) begin transaction
25553
+  (0.0ms) rollback transaction
25554
+  (0.0ms) begin transaction
25555
+  (0.0ms) rollback transaction
25556
+  (0.0ms) begin transaction
25557
+  (0.0ms) rollback transaction
25558
+  (0.0ms) begin transaction
25559
+  (0.0ms) rollback transaction
25560
+  (0.0ms) begin transaction
25561
+  (0.0ms) rollback transaction
25562
+  (0.0ms) begin transaction
25563
+  (0.1ms) rollback transaction
25564
+  (0.1ms) begin transaction
25565
+  (0.1ms) rollback transaction
25566
+  (0.1ms) begin transaction
25567
+  (0.1ms) rollback transaction
25568
+  (0.2ms) begin transaction
25569
+  (0.2ms) rollback transaction
25570
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
25571
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25572
+  (0.1ms)  SELECT sql
25573
+ FROM sqlite_master
25574
+ WHERE name='index_trees_on_island_id' AND type='index'
25575
+ UNION ALL
25576
+ SELECT sql
25577
+ FROM sqlite_temp_master
25578
+ WHERE name='index_trees_on_island_id' AND type='index'
25579
+ 
25580
+  (0.1ms) SELECT sql
25581
+ FROM sqlite_master
25582
+ WHERE name='index_trees_on_cutter_id' AND type='index'
25583
+ UNION ALL
25584
+ SELECT sql
25585
+ FROM sqlite_temp_master
25586
+ WHERE name='index_trees_on_cutter_id' AND type='index'
25587
+
25588
+  (0.1ms)  SELECT sql
25589
+ FROM sqlite_master
25590
+ WHERE name='index_trees_on_owner_id' AND type='index'
25591
+ UNION ALL
25592
+ SELECT sql
25593
+ FROM sqlite_temp_master
25594
+ WHERE name='index_trees_on_owner_id' AND type='index'
25595
+ 
25596
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25597
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25598
+  (0.1ms) begin transaction
25599
+  (0.1ms) rollback transaction
25600
+  (0.0ms) begin transaction
25601
+  (0.0ms) rollback transaction
25602
+  (0.0ms) begin transaction
25603
+  (0.0ms) rollback transaction
25604
+  (0.0ms) begin transaction
25605
+  (0.0ms) rollback transaction
25606
+  (0.0ms) begin transaction
25607
+  (0.0ms) rollback transaction
25608
+  (0.0ms) begin transaction
25609
+  (0.0ms) rollback transaction
25610
+  (0.1ms) begin transaction
25611
+  (0.0ms) rollback transaction
25612
+  (0.0ms) begin transaction
25613
+  (0.0ms) rollback transaction
25614
+  (0.0ms) begin transaction
25615
+  (0.0ms) rollback transaction
25616
+  (0.0ms) begin transaction
25617
+  (0.1ms) SAVEPOINT active_record_1
25618
+ SQL (0.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:31:13.989046"], ["updated_at", "2019-03-01 07:31:13.989046"]]
25619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25620
+  (0.1ms) SAVEPOINT active_record_1
25621
+ SQL (1.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-03-01 07:31:14.001464"], ["updated_at", "2019-03-01 07:31:14.001464"]]
25622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25623
+ 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-03-01 08:31:14 +0100
25624
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25625
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
25626
+ 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
25627
+ Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 0.1ms)
25628
+ User Load (0.1ms) SELECT "users".* FROM "users"
25629
+  (0.0ms) SAVEPOINT active_record_1
25630
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25632
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
25633
+  (0.0ms) SAVEPOINT active_record_1
25634
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25636
+  (0.4ms) rollback transaction
25637
+  (0.0ms) begin transaction
25638
+  (0.0ms) SAVEPOINT active_record_1
25639
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:31:14.068035"], ["updated_at", "2019-03-01 07:31:14.068035"]]
25640
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25641
+  (0.0ms) SAVEPOINT active_record_1
25642
+ 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-03-01 07:31:14.069747"], ["updated_at", "2019-03-01 07:31:14.069747"]]
25643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25644
+ 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-03-01 08:31:14 +0100
25645
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25646
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
25647
+ 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
25648
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
25649
+ User Load (0.1ms) SELECT "users".* FROM "users"
25650
+  (0.0ms) SAVEPOINT active_record_1
25651
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25652
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25653
+ Tree Load (1.0ms) SELECT "trees".* FROM "trees"
25654
+  (0.2ms) SAVEPOINT active_record_1
25655
+ SQL (0.2ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25656
+  (0.2ms) RELEASE SAVEPOINT active_record_1
25657
+  (0.5ms) rollback transaction
25658
+  (0.1ms) begin transaction
25659
+  (0.0ms) SAVEPOINT active_record_1
25660
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:31:14.092081"], ["updated_at", "2019-03-01 07:31:14.092081"]]
25661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25662
+  (0.1ms) SAVEPOINT active_record_1
25663
+ 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-03-01 07:31:14.095272"], ["updated_at", "2019-03-01 07:31:14.095272"]]
25664
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25665
+ 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-03-01 08:31:14 +0100
25666
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25667
+ 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"}
25668
+ 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
25669
+ Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.1ms)
25670
+ User Load (0.0ms) SELECT "users".* FROM "users"
25671
+  (0.0ms) SAVEPOINT active_record_1
25672
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25674
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
25675
+  (0.1ms) SAVEPOINT active_record_1
25676
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25678
+  (0.4ms) rollback transaction
25679
+  (0.0ms) begin transaction
25680
+  (0.1ms) SAVEPOINT active_record_1
25681
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:31:14.121098"], ["updated_at", "2019-03-01 07:31:14.121098"]]
25682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25683
+  (0.0ms) SAVEPOINT active_record_1
25684
+ 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-03-01 07:31:14.123369"], ["updated_at", "2019-03-01 07:31:14.123369"]]
25685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25686
+ 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-03-01 08:31:14 +0100
25687
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25688
+ 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"}
25689
+ SQL (1.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
25690
+ Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 1.1ms)
25691
+ User Load (0.3ms) SELECT "users".* FROM "users"
25692
+  (0.1ms) SAVEPOINT active_record_1
25693
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25695
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
25696
+  (0.1ms) SAVEPOINT active_record_1
25697
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25699
+  (1.4ms) rollback transaction
25700
+  (0.1ms) begin transaction
25701
+  (0.0ms) rollback transaction
25702
+  (0.2ms) begin transaction
25703
+  (0.1ms) rollback transaction
25704
+  (0.1ms) begin transaction
25705
+  (0.0ms) rollback transaction
25706
+  (0.1ms) begin transaction
25707
+  (0.1ms) rollback transaction
25708
+  (0.1ms) begin transaction
25709
+  (0.0ms) rollback transaction
25710
+  (0.1ms) begin transaction
25711
+  (0.1ms) rollback transaction
25712
+  (0.1ms) begin transaction
25713
+  (0.1ms) rollback transaction
25714
+  (0.1ms) begin transaction
25715
+  (0.1ms) rollback transaction
25716
+  (0.1ms) begin transaction
25717
+  (0.1ms) rollback transaction
25718
+  (0.1ms) begin transaction
25719
+  (0.1ms) rollback transaction
25720
+  (0.1ms) begin transaction
25721
+  (0.1ms) rollback transaction
25722
+  (0.1ms) begin transaction
25723
+  (0.1ms) rollback transaction
25724
+  (0.1ms) begin transaction
25725
+  (0.1ms) rollback transaction
25726
+  (0.1ms) begin transaction
25727
+  (0.1ms) rollback transaction
25728
+  (0.1ms) begin transaction
25729
+  (0.1ms) rollback transaction
25730
+  (0.1ms) begin transaction
25731
+  (0.1ms) rollback transaction
25732
+  (0.1ms) begin transaction
25733
+  (0.1ms) rollback transaction
25734
+  (0.1ms) begin transaction
25735
+  (0.1ms) rollback transaction
25736
+  (0.1ms) begin transaction
25737
+  (0.1ms) rollback transaction
25738
+  (0.1ms) begin transaction
25739
+  (0.1ms) rollback transaction
25740
+  (0.1ms) begin transaction
25741
+  (0.1ms) rollback transaction
25742
+  (0.1ms) begin transaction
25743
+  (0.1ms) rollback transaction
25744
+  (0.1ms) begin transaction
25745
+  (0.1ms) rollback transaction
25746
+  (0.3ms) begin transaction
25747
+  (0.1ms) rollback transaction
25748
+  (0.1ms) begin transaction
25749
+  (0.2ms) rollback transaction
25750
+  (0.1ms) begin transaction
25751
+  (0.1ms) rollback transaction
25752
+  (0.1ms) begin transaction
25753
+  (0.1ms) rollback transaction
25754
+  (0.1ms) begin transaction
25755
+  (0.1ms) rollback transaction
25756
+  (0.1ms) begin transaction
25757
+  (0.0ms) rollback transaction
25758
+  (0.1ms) begin transaction
25759
+  (0.1ms) rollback transaction
25760
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
25761
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25762
+  (0.1ms)  SELECT sql
25763
+ FROM sqlite_master
25764
+ WHERE name='index_trees_on_island_id' AND type='index'
25765
+ UNION ALL
25766
+ SELECT sql
25767
+ FROM sqlite_temp_master
25768
+ WHERE name='index_trees_on_island_id' AND type='index'
25769
+ 
25770
+  (0.1ms) SELECT sql
25771
+ FROM sqlite_master
25772
+ WHERE name='index_trees_on_cutter_id' AND type='index'
25773
+ UNION ALL
25774
+ SELECT sql
25775
+ FROM sqlite_temp_master
25776
+ WHERE name='index_trees_on_cutter_id' AND type='index'
25777
+
25778
+  (0.1ms)  SELECT sql
25779
+ FROM sqlite_master
25780
+ WHERE name='index_trees_on_owner_id' AND type='index'
25781
+ UNION ALL
25782
+ SELECT sql
25783
+ FROM sqlite_temp_master
25784
+ WHERE name='index_trees_on_owner_id' AND type='index'
25785
+ 
25786
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25787
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25788
+  (0.1ms) begin transaction
25789
+  (0.1ms) rollback transaction
25790
+  (0.0ms) begin transaction
25791
+  (0.0ms) rollback transaction
25792
+  (0.0ms) begin transaction
25793
+  (0.0ms) rollback transaction
25794
+  (0.0ms) begin transaction
25795
+  (0.0ms) rollback transaction
25796
+  (0.0ms) begin transaction
25797
+  (0.0ms) rollback transaction
25798
+  (0.0ms) begin transaction
25799
+  (0.0ms) rollback transaction
25800
+  (0.0ms) begin transaction
25801
+  (0.0ms) rollback transaction
25802
+  (0.0ms) begin transaction
25803
+  (0.0ms) rollback transaction
25804
+  (0.0ms) begin transaction
25805
+  (0.1ms) rollback transaction
25806
+  (0.1ms) begin transaction
25807
+  (0.1ms) SAVEPOINT active_record_1
25808
+ SQL (3.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:35:31.335908"], ["updated_at", "2019-03-01 07:35:31.335908"]]
25809
+  (0.3ms) RELEASE SAVEPOINT active_record_1
25810
+  (0.1ms) SAVEPOINT active_record_1
25811
+ SQL (1.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-03-01 07:35:31.370927"], ["updated_at", "2019-03-01 07:35:31.370927"]]
25812
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25813
+ 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-03-01 08:35:31 +0100
25814
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25815
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
25816
+ 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
25817
+ Completed 200 OK in 31ms (Views: 0.2ms | ActiveRecord: 0.1ms)
25818
+ User Load (0.1ms) SELECT "users".* FROM "users"
25819
+  (0.0ms) SAVEPOINT active_record_1
25820
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25822
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees"
25823
+  (0.0ms) SAVEPOINT active_record_1
25824
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25825
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25826
+  (0.4ms) rollback transaction
25827
+  (0.1ms) begin transaction
25828
+  (0.1ms) SAVEPOINT active_record_1
25829
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:35:31.461442"], ["updated_at", "2019-03-01 07:35:31.461442"]]
25830
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25831
+  (0.0ms) SAVEPOINT active_record_1
25832
+ 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-03-01 07:35:31.463275"], ["updated_at", "2019-03-01 07:35:31.463275"]]
25833
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25834
+ 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-03-01 08:35:31 +0100
25835
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25836
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
25837
+ 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
25838
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.2ms)
25839
+ User Load (0.1ms) SELECT "users".* FROM "users"
25840
+  (0.1ms) SAVEPOINT active_record_1
25841
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25842
+  (0.2ms) RELEASE SAVEPOINT active_record_1
25843
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees"
25844
+  (0.1ms) SAVEPOINT active_record_1
25845
+ SQL (0.3ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25846
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25847
+  (0.5ms) rollback transaction
25848
+  (0.1ms) begin transaction
25849
+  (5.7ms) SAVEPOINT active_record_1
25850
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:35:31.496892"], ["updated_at", "2019-03-01 07:35:31.496892"]]
25851
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25852
+  (0.1ms) SAVEPOINT active_record_1
25853
+ 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-03-01 07:35:31.561613"], ["updated_at", "2019-03-01 07:35:31.561613"]]
25854
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25855
+ 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-03-01 08:35:31 +0100
25856
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25857
+ 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"}
25858
+ 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
25859
+ Completed 200 OK in 33ms (Views: 0.4ms | ActiveRecord: 0.2ms)
25860
+ User Load (0.1ms) SELECT "users".* FROM "users"
25861
+  (0.0ms) SAVEPOINT active_record_1
25862
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25863
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25864
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
25865
+  (0.0ms) SAVEPOINT active_record_1
25866
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25868
+  (0.5ms) rollback transaction
25869
+  (0.1ms) begin transaction
25870
+  (0.1ms) SAVEPOINT active_record_1
25871
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:35:31.615751"], ["updated_at", "2019-03-01 07:35:31.615751"]]
25872
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25873
+  (0.1ms) SAVEPOINT active_record_1
25874
+ 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-03-01 07:35:31.618464"], ["updated_at", "2019-03-01 07:35:31.618464"]]
25875
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25876
+ 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-03-01 08:35:31 +0100
25877
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
25878
+ 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"}
25879
+ 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, "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
25880
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.3ms)
25881
+ User Load (0.1ms) SELECT "users".* FROM "users"
25882
+  (0.1ms) SAVEPOINT active_record_1
25883
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
25884
+  (0.1ms) RELEASE SAVEPOINT active_record_1
25885
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
25886
+  (0.1ms) SAVEPOINT active_record_1
25887
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
25888
+  (0.0ms) RELEASE SAVEPOINT active_record_1
25889
+  (1.1ms) rollback transaction
25890
+  (0.1ms) begin transaction
25891
+  (0.1ms) rollback transaction
25892
+  (0.2ms) begin transaction
25893
+  (0.0ms) rollback transaction
25894
+  (0.1ms) begin transaction
25895
+  (0.4ms) rollback transaction
25896
+  (0.2ms) begin transaction
25897
+  (0.1ms) rollback transaction
25898
+  (0.1ms) begin transaction
25899
+  (0.0ms) rollback transaction
25900
+  (0.1ms) begin transaction
25901
+  (20.0ms) rollback transaction
25902
+  (0.1ms) begin transaction
25903
+  (0.0ms) rollback transaction
25904
+  (0.1ms) begin transaction
25905
+  (0.1ms) rollback transaction
25906
+  (0.1ms) begin transaction
25907
+  (0.0ms) rollback transaction
25908
+  (0.1ms) begin transaction
25909
+  (0.0ms) rollback transaction
25910
+  (0.1ms) begin transaction
25911
+  (0.0ms) rollback transaction
25912
+  (0.1ms) begin transaction
25913
+  (0.1ms) rollback transaction
25914
+  (0.1ms) begin transaction
25915
+  (0.1ms) rollback transaction
25916
+  (0.3ms) begin transaction
25917
+  (0.3ms) rollback transaction
25918
+  (0.1ms) begin transaction
25919
+  (0.2ms) rollback transaction
25920
+  (5.1ms) begin transaction
25921
+  (0.0ms) rollback transaction
25922
+  (0.1ms) begin transaction
25923
+  (0.1ms) rollback transaction
25924
+  (0.1ms) begin transaction
25925
+  (0.1ms) rollback transaction
25926
+  (0.1ms) begin transaction
25927
+  (0.1ms) rollback transaction
25928
+  (0.1ms) begin transaction
25929
+  (0.1ms) rollback transaction
25930
+  (0.1ms) begin transaction
25931
+  (0.1ms) rollback transaction
25932
+  (0.1ms) begin transaction
25933
+  (0.1ms) rollback transaction
25934
+  (0.1ms) begin transaction
25935
+  (0.1ms) rollback transaction
25936
+  (0.1ms) begin transaction
25937
+  (0.1ms) rollback transaction
25938
+  (0.1ms) begin transaction
25939
+  (0.1ms) rollback transaction
25940
+  (0.1ms) begin transaction
25941
+  (0.1ms) rollback transaction
25942
+  (0.1ms) begin transaction
25943
+  (0.1ms) rollback transaction
25944
+  (0.1ms) begin transaction
25945
+  (0.1ms) rollback transaction
25946
+  (0.5ms) begin transaction
25947
+  (0.1ms) rollback transaction
25948
+  (0.1ms) begin transaction
25949
+  (0.1ms) rollback transaction
25950
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25951
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25952
+  (0.1ms)  SELECT sql
25953
+ FROM sqlite_master
25954
+ WHERE name='index_trees_on_island_id' AND type='index'
25955
+ UNION ALL
25956
+ SELECT sql
25957
+ FROM sqlite_temp_master
25958
+ WHERE name='index_trees_on_island_id' AND type='index'
25959
+ 
25960
+  (0.1ms) SELECT sql
25961
+ FROM sqlite_master
25962
+ WHERE name='index_trees_on_cutter_id' AND type='index'
25963
+ UNION ALL
25964
+ SELECT sql
25965
+ FROM sqlite_temp_master
25966
+ WHERE name='index_trees_on_cutter_id' AND type='index'
25967
+
25968
+  (0.1ms)  SELECT sql
25969
+ FROM sqlite_master
25970
+ WHERE name='index_trees_on_owner_id' AND type='index'
25971
+ UNION ALL
25972
+ SELECT sql
25973
+ FROM sqlite_temp_master
25974
+ WHERE name='index_trees_on_owner_id' AND type='index'
25975
+ 
25976
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25977
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25978
+  (0.1ms) begin transaction
25979
+  (0.0ms) rollback transaction
25980
+  (0.0ms) begin transaction
25981
+  (0.0ms) rollback transaction
25982
+  (0.0ms) begin transaction
25983
+  (0.0ms) rollback transaction
25984
+  (0.0ms) begin transaction
25985
+  (0.0ms) rollback transaction
25986
+  (0.0ms) begin transaction
25987
+  (0.1ms) rollback transaction
25988
+  (0.0ms) begin transaction
25989
+  (0.0ms) rollback transaction
25990
+  (0.0ms) begin transaction
25991
+  (0.0ms) rollback transaction
25992
+  (0.0ms) begin transaction
25993
+  (0.0ms) rollback transaction
25994
+  (0.0ms) begin transaction
25995
+  (0.0ms) rollback transaction
25996
+  (0.0ms) begin transaction
25997
+  (0.0ms) SAVEPOINT active_record_1
25998
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:35:44.887270"], ["updated_at", "2019-03-01 07:35:44.887270"]]
25999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26000
+  (0.0ms) SAVEPOINT active_record_1
26001
+ 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-03-01 07:35:44.897486"], ["updated_at", "2019-03-01 07:35:44.897486"]]
26002
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26003
+ 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-03-01 08:35:44 +0100
26004
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26005
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
26006
+ 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
26007
+ Completed 200 OK in 30ms (Views: 1.0ms | ActiveRecord: 0.1ms)
26008
+ User Load (0.1ms) SELECT "users".* FROM "users"
26009
+  (0.1ms) SAVEPOINT active_record_1
26010
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26012
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26013
+  (0.0ms) SAVEPOINT active_record_1
26014
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26016
+  (5.5ms) rollback transaction
26017
+  (0.1ms) begin transaction
26018
+  (0.0ms) SAVEPOINT active_record_1
26019
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:35:44.958156"], ["updated_at", "2019-03-01 07:35:44.958156"]]
26020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26021
+  (0.0ms) SAVEPOINT active_record_1
26022
+ 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-03-01 07:35:44.960085"], ["updated_at", "2019-03-01 07:35:44.960085"]]
26023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26024
+ 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-03-01 08:35:44 +0100
26025
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26026
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
26027
+ 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
26028
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
26029
+ User Load (0.1ms) SELECT "users".* FROM "users"
26030
+  (0.0ms) SAVEPOINT active_record_1
26031
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26033
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
26034
+  (0.0ms) SAVEPOINT active_record_1
26035
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26037
+  (0.5ms) rollback transaction
26038
+  (0.1ms) begin transaction
26039
+  (0.1ms) SAVEPOINT active_record_1
26040
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:35:44.973202"], ["updated_at", "2019-03-01 07:35:44.973202"]]
26041
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26042
+  (0.1ms) SAVEPOINT active_record_1
26043
+ 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-03-01 07:35:44.975497"], ["updated_at", "2019-03-01 07:35:44.975497"]]
26044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26045
+ 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-03-01 08:35:44 +0100
26046
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26047
+ 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"}
26048
+ 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
26049
+ Completed 200 OK in 22ms (Views: 0.6ms | ActiveRecord: 0.1ms)
26050
+ User Load (0.1ms) SELECT "users".* FROM "users"
26051
+  (0.0ms) SAVEPOINT active_record_1
26052
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26054
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
26055
+  (0.1ms) SAVEPOINT active_record_1
26056
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26058
+  (0.6ms) rollback transaction
26059
+  (0.1ms) begin transaction
26060
+  (0.0ms) SAVEPOINT active_record_1
26061
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-03-01 07:35:45.011218"], ["updated_at", "2019-03-01 07:35:45.011218"]]
26062
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26063
+  (0.0ms) SAVEPOINT active_record_1
26064
+ 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-03-01 07:35:45.013146"], ["updated_at", "2019-03-01 07:35:45.013146"]]
26065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26066
+ 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-03-01 08:35:45 +0100
26067
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26068
+ 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"}
26069
+ 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
26070
+ Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.2ms)
26071
+ User Load (0.2ms) SELECT "users".* FROM "users"
26072
+  (0.1ms) SAVEPOINT active_record_1
26073
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26074
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26075
+ Tree Load (0.3ms) SELECT "trees".* FROM "trees"
26076
+  (0.2ms) SAVEPOINT active_record_1
26077
+ SQL (0.3ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26079
+  (1.9ms) rollback transaction
26080
+  (0.3ms) begin transaction
26081
+  (0.3ms) rollback transaction
26082
+  (0.1ms) begin transaction
26083
+  (0.2ms) rollback transaction
26084
+  (0.2ms) begin transaction
26085
+  (0.1ms) rollback transaction
26086
+  (0.1ms) begin transaction
26087
+  (0.1ms) rollback transaction
26088
+  (0.1ms) begin transaction
26089
+  (0.0ms) rollback transaction
26090
+  (0.0ms) begin transaction
26091
+  (0.0ms) rollback transaction
26092
+  (0.0ms) begin transaction
26093
+  (0.0ms) rollback transaction
26094
+  (0.0ms) begin transaction
26095
+  (0.0ms) rollback transaction
26096
+  (0.0ms) begin transaction
26097
+  (0.0ms) rollback transaction
26098
+  (0.1ms) begin transaction
26099
+  (0.0ms) rollback transaction
26100
+  (0.0ms) begin transaction
26101
+  (0.0ms) rollback transaction
26102
+  (0.0ms) begin transaction
26103
+  (0.0ms) rollback transaction
26104
+  (0.0ms) begin transaction
26105
+  (0.0ms) rollback transaction
26106
+  (0.0ms) begin transaction
26107
+  (0.2ms) rollback transaction
26108
+  (0.1ms) begin transaction
26109
+  (0.1ms) rollback transaction
26110
+  (0.0ms) begin transaction
26111
+  (0.1ms) rollback transaction
26112
+  (0.0ms) begin transaction
26113
+  (0.0ms) rollback transaction
26114
+  (0.2ms) begin transaction
26115
+  (0.3ms) rollback transaction
26116
+  (0.2ms) begin transaction
26117
+  (0.1ms) rollback transaction
26118
+  (0.2ms) begin transaction
26119
+  (0.1ms) rollback transaction
26120
+  (0.1ms) begin transaction
26121
+  (0.1ms) rollback transaction
26122
+  (0.2ms) begin transaction
26123
+  (0.3ms) rollback transaction
26124
+  (0.7ms) begin transaction
26125
+  (0.1ms) rollback transaction
26126
+  (0.1ms) begin transaction
26127
+  (0.0ms) rollback transaction
26128
+  (0.3ms) begin transaction
26129
+  (0.1ms) rollback transaction
26130
+  (0.1ms) begin transaction
26131
+  (0.3ms) rollback transaction
26132
+  (0.6ms) begin transaction
26133
+  (0.1ms) rollback transaction
26134
+  (0.4ms) begin transaction
26135
+  (0.1ms) rollback transaction
26136
+  (0.1ms) begin transaction
26137
+  (0.0ms) rollback transaction
26138
+  (0.1ms) begin transaction
26139
+  (0.5ms) rollback transaction