forest_liana 3.0.0.pre.beta.17 → 3.0.0.pre.beta.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 946057202502e41d56f183b09e6a29ef4efa5d28
4
- data.tar.gz: bddcb124f952a088fbd2a4b7bf83a76e81131a3c
3
+ metadata.gz: d57bbf1ac93723e44ab2ac007599c65dd6f69635
4
+ data.tar.gz: 38d3e7988fc7a040f8688290ec9aa4fdf87fd875
5
5
  SHA512:
6
- metadata.gz: 54099069ee284aef896d3c1619526b11d8f75bbebbcde5d2bf99c27d1600ec99f94697dbb9aef26b556d470d28cf4d46b3f6537d5ca624cb6e370f709d93fdf2
7
- data.tar.gz: 07d1a2796f2a869a61668554984b998c4d963bd02fe28286f9a2d5052995d72bec01eca806ac9b2d6db6133dbc4bc6839b083fae5abb89bd3b1c9184d2f0447b
6
+ metadata.gz: ca32538ab63b7e6e4a9a81e991039b813ddbcb1ee475885f551e249e7de9cdb0fb87802da60cb53ef6fb9acb58180beef8de1df1f95127555ff4948497cfbd68
7
+ data.tar.gz: d794be9bed5f7c6f3b156376a2f6bd098ac53dd88230849a2714e73b338596fa2a62bed9ab7690c88202928f19545ef0a53d24aae39aa78a068a39ed05a4a0f3
@@ -56,7 +56,7 @@ module ForestLiana
56
56
  conditions = []
57
57
 
58
58
  @resource.columns.each_with_index do |column, index|
59
- @fields_searched << column.name if [:string, :text].include? column.type
59
+ @fields_searched << column.name if text_type? column.type
60
60
  column_name = format_column_name(@resource.table_name, column.name)
61
61
  if (@collection.search_fields && !@collection.search_fields.include?(column.name))
62
62
  conditions
@@ -73,8 +73,7 @@ module ForestLiana
73
73
  !@resource.defined_enums[column.name][@search.downcase].nil?
74
74
  conditions << "#{column_name} =
75
75
  #{@resource.defined_enums[column.name][@search.downcase]}"
76
- elsif !(column.respond_to?(:array) && column.array) &&
77
- (column.type == :string || column.type == :text)
76
+ elsif !(column.respond_to?(:array) && column.array) && text_type?(column.type)
78
77
  conditions << "LOWER(#{column_name}) LIKE :search_value_for_string"
79
78
  end
80
79
  end
@@ -101,8 +100,7 @@ module ForestLiana
101
100
  if @includes.include? association.to_sym
102
101
  resource = @resource.reflect_on_association(association.to_sym)
103
102
  resource.klass.columns.each do |column|
104
- if !(column.respond_to?(:array) && column.array) &&
105
- (column.type == :string || column.type == :text)
103
+ if !(column.respond_to?(:array) && column.array) && text_type?(column.type)
106
104
  if @collection.search_fields.nil? || (association_search &&
107
105
  association_search.include?(column.name))
108
106
  conditions << association_search_condition(resource.table_name,
@@ -125,8 +123,7 @@ module ForestLiana
125
123
  unless association_search.empty?
126
124
  resource = @resource.reflect_on_association(association.to_sym)
127
125
  resource.klass.columns.each do |column|
128
- if !(column.respond_to?(:array) && column.array) &&
129
- (column.type == :string || column.type == :text)
126
+ if !(column.respond_to?(:array) && column.array) && text_type?(column.type)
130
127
  if association_search.include?(column.name)
131
128
  conditions << association_search_condition(resource.table_name,
132
129
  column.name)
@@ -278,5 +275,11 @@ module ForestLiana
278
275
 
279
276
  @records
280
277
  end
278
+
279
+ private
280
+
281
+ def text_type?(type_sym)
282
+ [:string, :text, :citext].include? type_sym
283
+ end
281
284
  end
282
285
  end
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "3.0.0-beta.17"
2
+ VERSION = "3.0.0-beta.18"
3
3
  end
@@ -26137,3 +26137,1523 @@ Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.2ms)
26137
26137
   (0.0ms) rollback transaction
26138
26138
   (0.1ms) begin transaction
26139
26139
   (0.5ms) rollback transaction
26140
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
26141
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26142
+  (0.1ms)  SELECT sql
26143
+ FROM sqlite_master
26144
+ WHERE name='index_trees_on_island_id' AND type='index'
26145
+ UNION ALL
26146
+ SELECT sql
26147
+ FROM sqlite_temp_master
26148
+ WHERE name='index_trees_on_island_id' AND type='index'
26149
+ 
26150
+  (0.1ms) SELECT sql
26151
+ FROM sqlite_master
26152
+ WHERE name='index_trees_on_cutter_id' AND type='index'
26153
+ UNION ALL
26154
+ SELECT sql
26155
+ FROM sqlite_temp_master
26156
+ WHERE name='index_trees_on_cutter_id' AND type='index'
26157
+
26158
+  (0.1ms)  SELECT sql
26159
+ FROM sqlite_master
26160
+ WHERE name='index_trees_on_owner_id' AND type='index'
26161
+ UNION ALL
26162
+ SELECT sql
26163
+ FROM sqlite_temp_master
26164
+ WHERE name='index_trees_on_owner_id' AND type='index'
26165
+ 
26166
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26167
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26168
+  (0.1ms) begin transaction
26169
+  (0.1ms) rollback transaction
26170
+  (0.0ms) begin transaction
26171
+  (0.1ms) rollback transaction
26172
+  (0.0ms) begin transaction
26173
+  (0.0ms) rollback transaction
26174
+  (0.0ms) begin transaction
26175
+  (0.0ms) rollback transaction
26176
+  (0.0ms) begin transaction
26177
+  (0.0ms) rollback transaction
26178
+  (0.0ms) begin transaction
26179
+  (0.1ms) rollback transaction
26180
+  (0.0ms) begin transaction
26181
+  (0.0ms) rollback transaction
26182
+  (0.0ms) begin transaction
26183
+  (0.0ms) rollback transaction
26184
+  (0.0ms) begin transaction
26185
+  (0.0ms) rollback transaction
26186
+  (0.0ms) begin transaction
26187
+  (0.0ms) SAVEPOINT active_record_1
26188
+ SQL (1.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:54:10.281048"], ["updated_at", "2019-04-10 09:54:10.281048"]]
26189
+  (0.2ms) RELEASE SAVEPOINT active_record_1
26190
+  (0.1ms) SAVEPOINT active_record_1
26191
+ 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-04-10 09:54:10.297929"], ["updated_at", "2019-04-10 09:54:10.297929"]]
26192
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26193
+ 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-04-10 11:54:10 +0200
26194
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26195
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
26196
+ 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
26197
+ Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 0.1ms)
26198
+ User Load (0.1ms) SELECT "users".* FROM "users"
26199
+  (0.0ms) SAVEPOINT active_record_1
26200
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26201
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26202
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26203
+  (0.0ms) SAVEPOINT active_record_1
26204
+ SQL (0.2ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26206
+  (1.0ms) rollback transaction
26207
+  (0.1ms) begin transaction
26208
+  (0.0ms) SAVEPOINT active_record_1
26209
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:54:10.367213"], ["updated_at", "2019-04-10 09:54:10.367213"]]
26210
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26211
+  (0.0ms) SAVEPOINT active_record_1
26212
+ 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-04-10 09:54:10.369053"], ["updated_at", "2019-04-10 09:54:10.369053"]]
26213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26214
+ 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-04-10 11:54:10 +0200
26215
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26216
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
26217
+ 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
26218
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
26219
+ User Load (0.1ms) SELECT "users".* FROM "users"
26220
+  (0.0ms) SAVEPOINT active_record_1
26221
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26222
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26223
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26224
+  (0.1ms) SAVEPOINT active_record_1
26225
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26227
+  (0.5ms) rollback transaction
26228
+  (0.1ms) begin transaction
26229
+  (0.1ms) SAVEPOINT active_record_1
26230
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:54:10.382214"], ["updated_at", "2019-04-10 09:54:10.382214"]]
26231
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26232
+  (0.0ms) SAVEPOINT active_record_1
26233
+ 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-04-10 09:54:10.383918"], ["updated_at", "2019-04-10 09:54:10.383918"]]
26234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26235
+ 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-04-10 11:54:10 +0200
26236
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26237
+ 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"}
26238
+ 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
26239
+ Completed 200 OK in 23ms (Views: 0.2ms | ActiveRecord: 0.2ms)
26240
+ User Load (0.3ms) SELECT "users".* FROM "users"
26241
+  (0.1ms) SAVEPOINT active_record_1
26242
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26244
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26245
+  (0.0ms) SAVEPOINT active_record_1
26246
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26247
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26248
+  (1.5ms) rollback transaction
26249
+  (0.1ms) begin transaction
26250
+  (0.1ms) SAVEPOINT active_record_1
26251
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:54:10.422275"], ["updated_at", "2019-04-10 09:54:10.422275"]]
26252
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26253
+  (0.0ms) SAVEPOINT active_record_1
26254
+ 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-04-10 09:54:10.425384"], ["updated_at", "2019-04-10 09:54:10.425384"]]
26255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26256
+ 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-04-10 11:54:10 +0200
26257
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26258
+ 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"}
26259
+ 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
26260
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.1ms)
26261
+ User Load (0.1ms) SELECT "users".* FROM "users"
26262
+  (0.1ms) SAVEPOINT active_record_1
26263
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26265
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26266
+  (0.0ms) SAVEPOINT active_record_1
26267
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26269
+  (0.4ms) rollback transaction
26270
+  (0.0ms) begin transaction
26271
+  (0.0ms) rollback transaction
26272
+  (0.0ms) begin transaction
26273
+  (0.0ms) rollback transaction
26274
+  (0.0ms) begin transaction
26275
+  (0.0ms) rollback transaction
26276
+  (0.1ms) begin transaction
26277
+  (0.1ms) rollback transaction
26278
+  (0.1ms) begin transaction
26279
+  (0.0ms) rollback transaction
26280
+  (0.0ms) begin transaction
26281
+  (0.0ms) rollback transaction
26282
+  (0.0ms) begin transaction
26283
+  (0.0ms) rollback transaction
26284
+  (0.0ms) begin transaction
26285
+  (0.0ms) rollback transaction
26286
+  (0.0ms) begin transaction
26287
+  (0.0ms) rollback transaction
26288
+  (0.1ms) begin transaction
26289
+  (0.0ms) rollback transaction
26290
+  (0.0ms) begin transaction
26291
+  (0.0ms) rollback transaction
26292
+  (0.1ms) begin transaction
26293
+  (0.0ms) rollback transaction
26294
+  (0.0ms) begin transaction
26295
+  (0.0ms) rollback transaction
26296
+  (0.1ms) begin transaction
26297
+  (0.0ms) rollback transaction
26298
+  (0.1ms) begin transaction
26299
+  (0.0ms) rollback transaction
26300
+  (0.0ms) begin transaction
26301
+  (0.0ms) rollback transaction
26302
+  (0.0ms) begin transaction
26303
+  (0.0ms) rollback transaction
26304
+  (0.1ms) begin transaction
26305
+  (0.0ms) rollback transaction
26306
+  (0.0ms) begin transaction
26307
+  (0.0ms) rollback transaction
26308
+  (0.0ms) begin transaction
26309
+  (0.0ms) rollback transaction
26310
+  (0.0ms) begin transaction
26311
+  (0.0ms) rollback transaction
26312
+  (0.0ms) begin transaction
26313
+  (0.0ms) rollback transaction
26314
+  (0.0ms) begin transaction
26315
+  (0.0ms) rollback transaction
26316
+  (0.0ms) begin transaction
26317
+  (0.0ms) rollback transaction
26318
+  (0.0ms) begin transaction
26319
+  (0.0ms) rollback transaction
26320
+  (0.0ms) begin transaction
26321
+  (0.0ms) rollback transaction
26322
+  (0.0ms) begin transaction
26323
+  (0.1ms) rollback transaction
26324
+  (0.0ms) begin transaction
26325
+  (0.0ms) rollback transaction
26326
+  (0.0ms) begin transaction
26327
+  (0.0ms) rollback transaction
26328
+  (0.0ms) begin transaction
26329
+  (0.0ms) rollback transaction
26330
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
26331
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26332
+  (0.1ms)  SELECT sql
26333
+ FROM sqlite_master
26334
+ WHERE name='index_trees_on_island_id' AND type='index'
26335
+ UNION ALL
26336
+ SELECT sql
26337
+ FROM sqlite_temp_master
26338
+ WHERE name='index_trees_on_island_id' AND type='index'
26339
+ 
26340
+  (0.1ms) SELECT sql
26341
+ FROM sqlite_master
26342
+ WHERE name='index_trees_on_cutter_id' AND type='index'
26343
+ UNION ALL
26344
+ SELECT sql
26345
+ FROM sqlite_temp_master
26346
+ WHERE name='index_trees_on_cutter_id' AND type='index'
26347
+
26348
+  (0.1ms)  SELECT sql
26349
+ FROM sqlite_master
26350
+ WHERE name='index_trees_on_owner_id' AND type='index'
26351
+ UNION ALL
26352
+ SELECT sql
26353
+ FROM sqlite_temp_master
26354
+ WHERE name='index_trees_on_owner_id' AND type='index'
26355
+ 
26356
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26357
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26358
+  (0.1ms) begin transaction
26359
+  (0.1ms) rollback transaction
26360
+  (0.1ms) begin transaction
26361
+  (0.0ms) rollback transaction
26362
+  (0.0ms) begin transaction
26363
+  (0.0ms) rollback transaction
26364
+  (0.0ms) begin transaction
26365
+  (0.0ms) rollback transaction
26366
+  (0.0ms) begin transaction
26367
+  (0.0ms) rollback transaction
26368
+  (0.0ms) begin transaction
26369
+  (0.1ms) rollback transaction
26370
+  (0.0ms) begin transaction
26371
+  (0.0ms) rollback transaction
26372
+  (0.0ms) begin transaction
26373
+  (0.0ms) rollback transaction
26374
+  (0.0ms) begin transaction
26375
+  (0.0ms) rollback transaction
26376
+  (0.1ms) begin transaction
26377
+  (0.0ms) SAVEPOINT active_record_1
26378
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:57:13.889943"], ["updated_at", "2019-04-10 09:57:13.889943"]]
26379
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26380
+  (0.1ms) SAVEPOINT active_record_1
26381
+ 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-04-10 09:57:13.904295"], ["updated_at", "2019-04-10 09:57:13.904295"]]
26382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26383
+ 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-04-10 11:57:13 +0200
26384
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26385
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
26386
+ 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
26387
+ Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 0.2ms)
26388
+ User Load (0.1ms) SELECT "users".* FROM "users"
26389
+  (0.0ms) SAVEPOINT active_record_1
26390
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26392
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26393
+  (0.1ms) SAVEPOINT active_record_1
26394
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26395
+  (0.2ms) RELEASE SAVEPOINT active_record_1
26396
+  (0.6ms) rollback transaction
26397
+  (0.1ms) begin transaction
26398
+  (0.1ms) SAVEPOINT active_record_1
26399
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:57:13.967886"], ["updated_at", "2019-04-10 09:57:13.967886"]]
26400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26401
+  (0.0ms) SAVEPOINT active_record_1
26402
+ 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-04-10 09:57:13.970778"], ["updated_at", "2019-04-10 09:57:13.970778"]]
26403
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26404
+ 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-04-10 11:57:13 +0200
26405
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26406
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
26407
+ 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
26408
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
26409
+ User Load (0.1ms) SELECT "users".* FROM "users"
26410
+  (0.0ms) SAVEPOINT active_record_1
26411
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26413
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26414
+  (0.1ms) SAVEPOINT active_record_1
26415
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26417
+  (0.7ms) rollback transaction
26418
+  (0.1ms) begin transaction
26419
+  (0.1ms) SAVEPOINT active_record_1
26420
+ SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:57:13.985782"], ["updated_at", "2019-04-10 09:57:13.985782"]]
26421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26422
+  (0.1ms) SAVEPOINT active_record_1
26423
+ 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-04-10 09:57:13.989392"], ["updated_at", "2019-04-10 09:57:13.989392"]]
26424
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26425
+ 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-04-10 11:57:14 +0200
26426
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26427
+ 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"}
26428
+ 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
26429
+ Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.1ms)
26430
+ User Load (0.1ms) SELECT "users".* FROM "users"
26431
+  (0.1ms) SAVEPOINT active_record_1
26432
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26433
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26434
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26435
+  (0.0ms) SAVEPOINT active_record_1
26436
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26437
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26438
+  (0.4ms) rollback transaction
26439
+  (0.0ms) begin transaction
26440
+  (0.0ms) SAVEPOINT active_record_1
26441
+ SQL (1.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:57:14.023400"], ["updated_at", "2019-04-10 09:57:14.023400"]]
26442
+  (0.2ms) RELEASE SAVEPOINT active_record_1
26443
+  (0.1ms) SAVEPOINT active_record_1
26444
+ SQL (1.0ms) 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-04-10 09:57:14.029040"], ["updated_at", "2019-04-10 09:57:14.029040"]]
26445
+  (0.4ms) RELEASE SAVEPOINT active_record_1
26446
+ 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-04-10 11:57:14 +0200
26447
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26448
+ 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"}
26449
+ 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
26450
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.2ms)
26451
+ User Load (0.1ms) SELECT "users".* FROM "users"
26452
+  (0.0ms) SAVEPOINT active_record_1
26453
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26454
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26455
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26456
+  (0.0ms) SAVEPOINT active_record_1
26457
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26459
+  (0.5ms) rollback transaction
26460
+  (0.1ms) begin transaction
26461
+  (0.0ms) rollback transaction
26462
+  (0.1ms) begin transaction
26463
+  (0.0ms) rollback transaction
26464
+  (0.1ms) begin transaction
26465
+  (0.0ms) rollback transaction
26466
+  (0.1ms) begin transaction
26467
+  (0.2ms) rollback transaction
26468
+  (0.1ms) begin transaction
26469
+  (0.1ms) rollback transaction
26470
+  (0.1ms) begin transaction
26471
+  (0.1ms) rollback transaction
26472
+  (0.1ms) begin transaction
26473
+  (0.0ms) rollback transaction
26474
+  (0.0ms) begin transaction
26475
+  (0.0ms) rollback transaction
26476
+  (0.0ms) begin transaction
26477
+  (0.0ms) rollback transaction
26478
+  (0.0ms) begin transaction
26479
+  (0.0ms) rollback transaction
26480
+  (0.0ms) begin transaction
26481
+  (0.0ms) rollback transaction
26482
+  (0.0ms) begin transaction
26483
+  (0.0ms) rollback transaction
26484
+  (0.0ms) begin transaction
26485
+  (0.0ms) rollback transaction
26486
+  (0.1ms) begin transaction
26487
+  (0.2ms) rollback transaction
26488
+  (0.0ms) begin transaction
26489
+  (0.0ms) rollback transaction
26490
+  (0.0ms) begin transaction
26491
+  (0.0ms) rollback transaction
26492
+  (0.0ms) begin transaction
26493
+  (0.0ms) rollback transaction
26494
+  (0.0ms) begin transaction
26495
+  (0.0ms) rollback transaction
26496
+  (0.0ms) begin transaction
26497
+  (0.0ms) rollback transaction
26498
+  (0.0ms) begin transaction
26499
+  (0.0ms) rollback transaction
26500
+  (0.0ms) begin transaction
26501
+  (0.0ms) rollback transaction
26502
+  (0.0ms) begin transaction
26503
+  (0.0ms) rollback transaction
26504
+  (0.0ms) begin transaction
26505
+  (0.0ms) rollback transaction
26506
+  (0.0ms) begin transaction
26507
+  (0.0ms) rollback transaction
26508
+  (0.0ms) begin transaction
26509
+  (0.0ms) rollback transaction
26510
+  (0.0ms) begin transaction
26511
+  (0.0ms) rollback transaction
26512
+  (0.0ms) begin transaction
26513
+  (0.0ms) rollback transaction
26514
+  (0.0ms) begin transaction
26515
+  (0.0ms) rollback transaction
26516
+  (0.0ms) begin transaction
26517
+  (0.0ms) rollback transaction
26518
+  (0.1ms) begin transaction
26519
+  (0.0ms) rollback transaction
26520
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26521
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26522
+  (0.1ms)  SELECT sql
26523
+ FROM sqlite_master
26524
+ WHERE name='index_trees_on_island_id' AND type='index'
26525
+ UNION ALL
26526
+ SELECT sql
26527
+ FROM sqlite_temp_master
26528
+ WHERE name='index_trees_on_island_id' AND type='index'
26529
+ 
26530
+  (0.1ms) SELECT sql
26531
+ FROM sqlite_master
26532
+ WHERE name='index_trees_on_cutter_id' AND type='index'
26533
+ UNION ALL
26534
+ SELECT sql
26535
+ FROM sqlite_temp_master
26536
+ WHERE name='index_trees_on_cutter_id' AND type='index'
26537
+
26538
+  (0.1ms)  SELECT sql
26539
+ FROM sqlite_master
26540
+ WHERE name='index_trees_on_owner_id' AND type='index'
26541
+ UNION ALL
26542
+ SELECT sql
26543
+ FROM sqlite_temp_master
26544
+ WHERE name='index_trees_on_owner_id' AND type='index'
26545
+ 
26546
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26547
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26548
+  (0.1ms) begin transaction
26549
+  (0.1ms) rollback transaction
26550
+  (0.0ms) begin transaction
26551
+  (0.0ms) rollback transaction
26552
+  (0.1ms) begin transaction
26553
+  (0.1ms) rollback transaction
26554
+  (0.0ms) begin transaction
26555
+  (0.0ms) rollback transaction
26556
+  (0.0ms) begin transaction
26557
+  (0.1ms) rollback transaction
26558
+  (0.0ms) begin transaction
26559
+  (0.0ms) rollback transaction
26560
+  (0.0ms) begin transaction
26561
+  (0.1ms) rollback transaction
26562
+  (0.1ms) begin transaction
26563
+  (0.1ms) rollback transaction
26564
+  (0.0ms) begin transaction
26565
+  (0.0ms) rollback transaction
26566
+  (0.1ms) begin transaction
26567
+  (0.0ms) SAVEPOINT active_record_1
26568
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:58:14.156125"], ["updated_at", "2019-04-10 09:58:14.156125"]]
26569
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26570
+  (0.1ms) SAVEPOINT active_record_1
26571
+ 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-04-10 09:58:14.169110"], ["updated_at", "2019-04-10 09:58:14.169110"]]
26572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26573
+ 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-04-10 11:58:14 +0200
26574
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26575
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
26576
+ 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
26577
+ Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 0.2ms)
26578
+ User Load (0.1ms) SELECT "users".* FROM "users"
26579
+  (0.0ms) SAVEPOINT active_record_1
26580
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26582
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
26583
+  (0.0ms) SAVEPOINT active_record_1
26584
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26586
+  (5.5ms) rollback transaction
26587
+  (0.1ms) begin transaction
26588
+  (0.0ms) SAVEPOINT active_record_1
26589
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:58:14.221668"], ["updated_at", "2019-04-10 09:58:14.221668"]]
26590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26591
+  (0.0ms) SAVEPOINT active_record_1
26592
+ 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-04-10 09:58:14.223464"], ["updated_at", "2019-04-10 09:58:14.223464"]]
26593
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26594
+ 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-04-10 11:58:14 +0200
26595
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26596
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
26597
+ 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
26598
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
26599
+ User Load (0.1ms) SELECT "users".* FROM "users"
26600
+  (0.1ms) SAVEPOINT active_record_1
26601
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26603
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26604
+  (0.1ms) SAVEPOINT active_record_1
26605
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26607
+  (0.4ms) rollback transaction
26608
+  (0.0ms) begin transaction
26609
+  (0.0ms) SAVEPOINT active_record_1
26610
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:58:14.237525"], ["updated_at", "2019-04-10 09:58:14.237525"]]
26611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26612
+  (0.0ms) SAVEPOINT active_record_1
26613
+ 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-04-10 09:58:14.239551"], ["updated_at", "2019-04-10 09:58:14.239551"]]
26614
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26615
+ 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-04-10 11:58:14 +0200
26616
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26617
+ 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"}
26618
+ 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
26619
+ Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.2ms)
26620
+ User Load (0.1ms) SELECT "users".* FROM "users"
26621
+  (0.0ms) SAVEPOINT active_record_1
26622
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26624
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
26625
+  (0.0ms) SAVEPOINT active_record_1
26626
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26628
+  (0.4ms) rollback transaction
26629
+  (0.0ms) begin transaction
26630
+  (0.0ms) SAVEPOINT active_record_1
26631
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:58:14.269112"], ["updated_at", "2019-04-10 09:58:14.269112"]]
26632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26633
+  (0.0ms) SAVEPOINT active_record_1
26634
+ 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-04-10 09:58:14.270372"], ["updated_at", "2019-04-10 09:58:14.270372"]]
26635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26636
+ 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-04-10 11:58:14 +0200
26637
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26638
+ 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"}
26639
+ 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
26640
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
26641
+ User Load (0.0ms) SELECT "users".* FROM "users"
26642
+  (0.0ms) SAVEPOINT active_record_1
26643
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26644
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26645
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26646
+  (0.1ms) SAVEPOINT active_record_1
26647
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26648
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26649
+  (1.0ms) rollback transaction
26650
+  (0.1ms) begin transaction
26651
+  (0.1ms) rollback transaction
26652
+  (0.1ms) begin transaction
26653
+  (0.0ms) rollback transaction
26654
+  (0.0ms) begin transaction
26655
+  (0.0ms) rollback transaction
26656
+  (0.1ms) begin transaction
26657
+  (0.1ms) rollback transaction
26658
+  (0.1ms) begin transaction
26659
+  (0.0ms) rollback transaction
26660
+  (0.0ms) begin transaction
26661
+  (0.0ms) rollback transaction
26662
+  (0.0ms) begin transaction
26663
+  (0.0ms) rollback transaction
26664
+  (0.0ms) begin transaction
26665
+  (0.0ms) rollback transaction
26666
+  (0.1ms) begin transaction
26667
+  (0.1ms) rollback transaction
26668
+  (0.1ms) begin transaction
26669
+  (0.0ms) rollback transaction
26670
+  (0.1ms) begin transaction
26671
+  (0.1ms) rollback transaction
26672
+  (0.1ms) begin transaction
26673
+  (0.1ms) rollback transaction
26674
+  (0.1ms) begin transaction
26675
+  (0.1ms) rollback transaction
26676
+  (0.1ms) begin transaction
26677
+  (0.1ms) rollback transaction
26678
+  (0.1ms) begin transaction
26679
+  (0.1ms) rollback transaction
26680
+  (0.1ms) begin transaction
26681
+  (0.1ms) rollback transaction
26682
+  (0.0ms) begin transaction
26683
+  (0.1ms) rollback transaction
26684
+  (0.1ms) begin transaction
26685
+  (0.0ms) rollback transaction
26686
+  (0.1ms) begin transaction
26687
+  (0.1ms) rollback transaction
26688
+  (0.1ms) begin transaction
26689
+  (0.1ms) rollback transaction
26690
+  (0.2ms) begin transaction
26691
+  (0.3ms) rollback transaction
26692
+  (0.1ms) begin transaction
26693
+  (0.3ms) rollback transaction
26694
+  (0.1ms) begin transaction
26695
+  (0.1ms) rollback transaction
26696
+  (0.1ms) begin transaction
26697
+  (0.1ms) rollback transaction
26698
+  (0.1ms) begin transaction
26699
+  (0.1ms) rollback transaction
26700
+  (0.2ms) begin transaction
26701
+  (0.1ms) rollback transaction
26702
+  (0.1ms) begin transaction
26703
+  (0.1ms) rollback transaction
26704
+  (0.1ms) begin transaction
26705
+  (0.1ms) rollback transaction
26706
+  (0.1ms) begin transaction
26707
+  (0.1ms) rollback transaction
26708
+  (0.2ms) begin transaction
26709
+  (0.1ms) rollback transaction
26710
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26711
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26712
+  (0.1ms)  SELECT sql
26713
+ FROM sqlite_master
26714
+ WHERE name='index_trees_on_island_id' AND type='index'
26715
+ UNION ALL
26716
+ SELECT sql
26717
+ FROM sqlite_temp_master
26718
+ WHERE name='index_trees_on_island_id' AND type='index'
26719
+ 
26720
+  (0.1ms) SELECT sql
26721
+ FROM sqlite_master
26722
+ WHERE name='index_trees_on_cutter_id' AND type='index'
26723
+ UNION ALL
26724
+ SELECT sql
26725
+ FROM sqlite_temp_master
26726
+ WHERE name='index_trees_on_cutter_id' AND type='index'
26727
+
26728
+  (0.1ms)  SELECT sql
26729
+ FROM sqlite_master
26730
+ WHERE name='index_trees_on_owner_id' AND type='index'
26731
+ UNION ALL
26732
+ SELECT sql
26733
+ FROM sqlite_temp_master
26734
+ WHERE name='index_trees_on_owner_id' AND type='index'
26735
+ 
26736
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26737
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26738
+  (0.1ms) begin transaction
26739
+  (0.0ms) rollback transaction
26740
+  (0.0ms) begin transaction
26741
+  (0.0ms) rollback transaction
26742
+  (0.0ms) begin transaction
26743
+  (0.0ms) rollback transaction
26744
+  (0.0ms) begin transaction
26745
+  (0.0ms) rollback transaction
26746
+  (0.0ms) begin transaction
26747
+  (0.0ms) rollback transaction
26748
+  (0.0ms) begin transaction
26749
+  (0.0ms) rollback transaction
26750
+  (0.0ms) begin transaction
26751
+  (0.0ms) rollback transaction
26752
+  (0.0ms) begin transaction
26753
+  (0.0ms) rollback transaction
26754
+  (0.0ms) begin transaction
26755
+  (0.0ms) rollback transaction
26756
+  (0.0ms) begin transaction
26757
+  (0.1ms) SAVEPOINT active_record_1
26758
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:59:07.678435"], ["updated_at", "2019-04-10 09:59:07.678435"]]
26759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26760
+  (0.0ms) SAVEPOINT active_record_1
26761
+ 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-04-10 09:59:07.687558"], ["updated_at", "2019-04-10 09:59:07.687558"]]
26762
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26763
+ 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-04-10 11:59:07 +0200
26764
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26765
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
26766
+ 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
26767
+ Completed 200 OK in 24ms (Views: 0.4ms | ActiveRecord: 0.1ms)
26768
+ User Load (0.1ms) SELECT "users".* FROM "users"
26769
+  (0.0ms) SAVEPOINT active_record_1
26770
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26772
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26773
+  (0.0ms) SAVEPOINT active_record_1
26774
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26776
+  (0.4ms) rollback transaction
26777
+  (0.1ms) begin transaction
26778
+  (0.1ms) SAVEPOINT active_record_1
26779
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:59:07.737654"], ["updated_at", "2019-04-10 09:59:07.737654"]]
26780
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26781
+  (0.0ms) SAVEPOINT active_record_1
26782
+ 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-04-10 09:59:07.739327"], ["updated_at", "2019-04-10 09:59:07.739327"]]
26783
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26784
+ 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-04-10 11:59:07 +0200
26785
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26786
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
26787
+ 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
26788
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
26789
+ User Load (0.1ms) SELECT "users".* FROM "users"
26790
+  (0.0ms) SAVEPOINT active_record_1
26791
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26793
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26794
+  (0.0ms) SAVEPOINT active_record_1
26795
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26796
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26797
+  (0.5ms) rollback transaction
26798
+  (0.1ms) begin transaction
26799
+  (0.0ms) SAVEPOINT active_record_1
26800
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:59:07.753792"], ["updated_at", "2019-04-10 09:59:07.753792"]]
26801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26802
+  (0.1ms) SAVEPOINT active_record_1
26803
+ 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-04-10 09:59:07.755945"], ["updated_at", "2019-04-10 09:59:07.755945"]]
26804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26805
+ 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-04-10 11:59:07 +0200
26806
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26807
+ 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"}
26808
+ 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
26809
+ Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.2ms)
26810
+ User Load (0.1ms) SELECT "users".* FROM "users"
26811
+  (0.1ms) SAVEPOINT active_record_1
26812
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26814
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
26815
+  (0.0ms) SAVEPOINT active_record_1
26816
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26818
+  (1.0ms) rollback transaction
26819
+  (0.0ms) begin transaction
26820
+  (0.0ms) SAVEPOINT active_record_1
26821
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:59:07.781279"], ["updated_at", "2019-04-10 09:59:07.781279"]]
26822
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26823
+  (0.0ms) SAVEPOINT active_record_1
26824
+ 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-04-10 09:59:07.782612"], ["updated_at", "2019-04-10 09:59:07.782612"]]
26825
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26826
+ 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-04-10 11:59:07 +0200
26827
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26828
+ 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"}
26829
+ 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
26830
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
26831
+ User Load (0.1ms) SELECT "users".* FROM "users"
26832
+  (0.0ms) SAVEPOINT active_record_1
26833
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26835
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26836
+  (0.0ms) SAVEPOINT active_record_1
26837
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26839
+  (0.7ms) rollback transaction
26840
+  (0.1ms) begin transaction
26841
+  (0.0ms) rollback transaction
26842
+  (0.0ms) begin transaction
26843
+  (0.1ms) rollback transaction
26844
+  (0.1ms) begin transaction
26845
+  (0.0ms) rollback transaction
26846
+  (0.0ms) begin transaction
26847
+  (0.2ms) rollback transaction
26848
+  (0.2ms) begin transaction
26849
+  (0.2ms) rollback transaction
26850
+  (0.1ms) begin transaction
26851
+  (0.0ms) rollback transaction
26852
+  (0.1ms) begin transaction
26853
+  (0.5ms) rollback transaction
26854
+  (0.3ms) begin transaction
26855
+  (0.1ms) rollback transaction
26856
+  (0.0ms) begin transaction
26857
+  (0.1ms) rollback transaction
26858
+  (0.1ms) begin transaction
26859
+  (0.0ms) rollback transaction
26860
+  (0.1ms) begin transaction
26861
+  (0.1ms) rollback transaction
26862
+  (0.0ms) begin transaction
26863
+  (0.0ms) rollback transaction
26864
+  (0.1ms) begin transaction
26865
+  (0.0ms) rollback transaction
26866
+  (0.0ms) begin transaction
26867
+  (0.1ms) rollback transaction
26868
+  (0.1ms) begin transaction
26869
+  (0.1ms) rollback transaction
26870
+  (0.1ms) begin transaction
26871
+  (0.0ms) rollback transaction
26872
+  (0.0ms) begin transaction
26873
+  (0.1ms) rollback transaction
26874
+  (0.0ms) begin transaction
26875
+  (0.0ms) rollback transaction
26876
+  (0.1ms) begin transaction
26877
+  (0.0ms) rollback transaction
26878
+  (0.0ms) begin transaction
26879
+  (0.0ms) rollback transaction
26880
+  (0.1ms) begin transaction
26881
+  (0.1ms) rollback transaction
26882
+  (0.1ms) begin transaction
26883
+  (0.2ms) rollback transaction
26884
+  (0.1ms) begin transaction
26885
+  (0.3ms) rollback transaction
26886
+  (0.4ms) begin transaction
26887
+  (0.2ms) rollback transaction
26888
+  (0.2ms) begin transaction
26889
+  (0.1ms) rollback transaction
26890
+  (0.1ms) begin transaction
26891
+  (0.1ms) rollback transaction
26892
+  (0.1ms) begin transaction
26893
+  (0.0ms) rollback transaction
26894
+  (0.1ms) begin transaction
26895
+  (0.0ms) rollback transaction
26896
+  (0.1ms) begin transaction
26897
+  (0.0ms) rollback transaction
26898
+  (0.1ms) begin transaction
26899
+  (0.1ms) rollback transaction
26900
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
26901
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26902
+  (0.1ms)  SELECT sql
26903
+ FROM sqlite_master
26904
+ WHERE name='index_trees_on_island_id' AND type='index'
26905
+ UNION ALL
26906
+ SELECT sql
26907
+ FROM sqlite_temp_master
26908
+ WHERE name='index_trees_on_island_id' AND type='index'
26909
+ 
26910
+  (0.1ms) SELECT sql
26911
+ FROM sqlite_master
26912
+ WHERE name='index_trees_on_cutter_id' AND type='index'
26913
+ UNION ALL
26914
+ SELECT sql
26915
+ FROM sqlite_temp_master
26916
+ WHERE name='index_trees_on_cutter_id' AND type='index'
26917
+
26918
+  (0.1ms)  SELECT sql
26919
+ FROM sqlite_master
26920
+ WHERE name='index_trees_on_owner_id' AND type='index'
26921
+ UNION ALL
26922
+ SELECT sql
26923
+ FROM sqlite_temp_master
26924
+ WHERE name='index_trees_on_owner_id' AND type='index'
26925
+ 
26926
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26927
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26928
+  (0.1ms) begin transaction
26929
+  (0.1ms) rollback transaction
26930
+  (0.0ms) begin transaction
26931
+  (0.0ms) rollback transaction
26932
+  (0.0ms) begin transaction
26933
+  (0.0ms) rollback transaction
26934
+  (0.0ms) begin transaction
26935
+  (0.0ms) rollback transaction
26936
+  (0.0ms) begin transaction
26937
+  (0.0ms) rollback transaction
26938
+  (0.0ms) begin transaction
26939
+  (0.0ms) rollback transaction
26940
+  (0.0ms) begin transaction
26941
+  (0.0ms) rollback transaction
26942
+  (0.0ms) begin transaction
26943
+  (0.0ms) rollback transaction
26944
+  (0.0ms) begin transaction
26945
+  (0.0ms) rollback transaction
26946
+  (0.0ms) begin transaction
26947
+  (0.1ms) SAVEPOINT active_record_1
26948
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:59:51.014777"], ["updated_at", "2019-04-10 09:59:51.014777"]]
26949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26950
+  (0.1ms) SAVEPOINT active_record_1
26951
+ SQL (1.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-04-10 09:59:51.026526"], ["updated_at", "2019-04-10 09:59:51.026526"]]
26952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26953
+ 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-04-10 11:59:51 +0200
26954
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26955
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
26956
+ 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
26957
+ Completed 200 OK in 25ms (Views: 0.2ms | ActiveRecord: 0.1ms)
26958
+ User Load (0.1ms) SELECT "users".* FROM "users"
26959
+  (0.0ms) SAVEPOINT active_record_1
26960
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26961
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26962
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26963
+  (0.0ms) SAVEPOINT active_record_1
26964
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26965
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26966
+  (0.4ms) rollback transaction
26967
+  (0.0ms) begin transaction
26968
+  (0.0ms) SAVEPOINT active_record_1
26969
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:59:51.083355"], ["updated_at", "2019-04-10 09:59:51.083355"]]
26970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26971
+  (0.0ms) SAVEPOINT active_record_1
26972
+ 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-04-10 09:59:51.084949"], ["updated_at", "2019-04-10 09:59:51.084949"]]
26973
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26974
+ 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-04-10 11:59:51 +0200
26975
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26976
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
26977
+ 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
26978
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
26979
+ User Load (0.1ms) SELECT "users".* FROM "users"
26980
+  (0.0ms) SAVEPOINT active_record_1
26981
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
26982
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26983
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
26984
+  (0.0ms) SAVEPOINT active_record_1
26985
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
26986
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26987
+  (0.4ms) rollback transaction
26988
+  (0.1ms) begin transaction
26989
+  (0.0ms) SAVEPOINT active_record_1
26990
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:59:51.097094"], ["updated_at", "2019-04-10 09:59:51.097094"]]
26991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26992
+  (0.1ms) SAVEPOINT active_record_1
26993
+ 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-04-10 09:59:51.099774"], ["updated_at", "2019-04-10 09:59:51.099774"]]
26994
+  (0.1ms) RELEASE SAVEPOINT active_record_1
26995
+ 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-04-10 11:59:51 +0200
26996
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
26997
+ 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"}
26998
+ 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
26999
+ Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 0.2ms)
27000
+ User Load (0.1ms) SELECT "users".* FROM "users"
27001
+  (0.0ms) SAVEPOINT active_record_1
27002
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27003
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27004
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
27005
+  (0.0ms) SAVEPOINT active_record_1
27006
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27008
+  (0.6ms) rollback transaction
27009
+  (0.0ms) begin transaction
27010
+  (0.1ms) SAVEPOINT active_record_1
27011
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 09:59:51.132321"], ["updated_at", "2019-04-10 09:59:51.132321"]]
27012
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27013
+  (0.0ms) SAVEPOINT active_record_1
27014
+ 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-04-10 09:59:51.134448"], ["updated_at", "2019-04-10 09:59:51.134448"]]
27015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27016
+ 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-04-10 11:59:51 +0200
27017
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27018
+ 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"}
27019
+ 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
27020
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
27021
+ User Load (0.1ms) SELECT "users".* FROM "users"
27022
+  (0.0ms) SAVEPOINT active_record_1
27023
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27025
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
27026
+  (0.0ms) SAVEPOINT active_record_1
27027
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27028
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27029
+  (0.3ms) rollback transaction
27030
+  (0.0ms) begin transaction
27031
+  (0.0ms) rollback transaction
27032
+  (0.0ms) begin transaction
27033
+  (0.0ms) rollback transaction
27034
+  (0.0ms) begin transaction
27035
+  (0.0ms) rollback transaction
27036
+  (0.0ms) begin transaction
27037
+  (0.0ms) rollback transaction
27038
+  (0.0ms) begin transaction
27039
+  (0.0ms) rollback transaction
27040
+  (0.0ms) begin transaction
27041
+  (0.0ms) rollback transaction
27042
+  (0.0ms) begin transaction
27043
+  (0.0ms) rollback transaction
27044
+  (0.0ms) begin transaction
27045
+  (0.0ms) rollback transaction
27046
+  (0.0ms) begin transaction
27047
+  (0.1ms) rollback transaction
27048
+  (0.0ms) begin transaction
27049
+  (0.1ms) rollback transaction
27050
+  (0.0ms) begin transaction
27051
+  (0.0ms) rollback transaction
27052
+  (0.0ms) begin transaction
27053
+  (0.0ms) rollback transaction
27054
+  (0.1ms) begin transaction
27055
+  (0.1ms) rollback transaction
27056
+  (0.1ms) begin transaction
27057
+  (0.0ms) rollback transaction
27058
+  (0.0ms) begin transaction
27059
+  (0.0ms) rollback transaction
27060
+  (0.0ms) begin transaction
27061
+  (0.0ms) rollback transaction
27062
+  (0.0ms) begin transaction
27063
+  (0.0ms) rollback transaction
27064
+  (0.0ms) begin transaction
27065
+  (0.0ms) rollback transaction
27066
+  (0.0ms) begin transaction
27067
+  (0.0ms) rollback transaction
27068
+  (0.1ms) begin transaction
27069
+  (0.0ms) rollback transaction
27070
+  (0.0ms) begin transaction
27071
+  (0.0ms) rollback transaction
27072
+  (0.0ms) begin transaction
27073
+  (0.0ms) rollback transaction
27074
+  (0.0ms) begin transaction
27075
+  (0.0ms) rollback transaction
27076
+  (0.1ms) begin transaction
27077
+  (0.0ms) rollback transaction
27078
+  (0.1ms) begin transaction
27079
+  (0.0ms) rollback transaction
27080
+  (0.1ms) begin transaction
27081
+  (0.1ms) rollback transaction
27082
+  (0.1ms) begin transaction
27083
+  (0.0ms) rollback transaction
27084
+  (0.1ms) begin transaction
27085
+  (0.0ms) rollback transaction
27086
+  (0.0ms) begin transaction
27087
+  (0.0ms) rollback transaction
27088
+  (0.0ms) begin transaction
27089
+  (0.0ms) rollback transaction
27090
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
27091
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27092
+  (0.1ms)  SELECT sql
27093
+ FROM sqlite_master
27094
+ WHERE name='index_trees_on_island_id' AND type='index'
27095
+ UNION ALL
27096
+ SELECT sql
27097
+ FROM sqlite_temp_master
27098
+ WHERE name='index_trees_on_island_id' AND type='index'
27099
+ 
27100
+  (0.1ms) SELECT sql
27101
+ FROM sqlite_master
27102
+ WHERE name='index_trees_on_cutter_id' AND type='index'
27103
+ UNION ALL
27104
+ SELECT sql
27105
+ FROM sqlite_temp_master
27106
+ WHERE name='index_trees_on_cutter_id' AND type='index'
27107
+
27108
+  (0.1ms)  SELECT sql
27109
+ FROM sqlite_master
27110
+ WHERE name='index_trees_on_owner_id' AND type='index'
27111
+ UNION ALL
27112
+ SELECT sql
27113
+ FROM sqlite_temp_master
27114
+ WHERE name='index_trees_on_owner_id' AND type='index'
27115
+ 
27116
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27117
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27118
+  (0.1ms) begin transaction
27119
+  (0.1ms) rollback transaction
27120
+  (0.1ms) begin transaction
27121
+  (0.1ms) rollback transaction
27122
+  (0.1ms) begin transaction
27123
+  (0.1ms) rollback transaction
27124
+  (0.1ms) begin transaction
27125
+  (0.0ms) rollback transaction
27126
+  (0.1ms) begin transaction
27127
+  (0.0ms) rollback transaction
27128
+  (0.0ms) begin transaction
27129
+  (0.0ms) rollback transaction
27130
+  (0.1ms) begin transaction
27131
+  (0.0ms) rollback transaction
27132
+  (0.0ms) begin transaction
27133
+  (0.0ms) rollback transaction
27134
+  (0.1ms) begin transaction
27135
+  (0.1ms) rollback transaction
27136
+  (0.1ms) begin transaction
27137
+  (0.1ms) SAVEPOINT active_record_1
27138
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 10:01:22.337754"], ["updated_at", "2019-04-10 10:01:22.337754"]]
27139
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27140
+  (0.1ms) SAVEPOINT active_record_1
27141
+ 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-04-10 10:01:22.354356"], ["updated_at", "2019-04-10 10:01:22.354356"]]
27142
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27143
+ 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-04-10 12:01:22 +0200
27144
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27145
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
27146
+ 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
27147
+ Completed 200 OK in 37ms (Views: 0.3ms | ActiveRecord: 0.1ms)
27148
+ User Load (0.1ms) SELECT "users".* FROM "users"
27149
+  (0.0ms) SAVEPOINT active_record_1
27150
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27152
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
27153
+  (0.0ms) SAVEPOINT active_record_1
27154
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27156
+  (0.6ms) rollback transaction
27157
+  (0.2ms) begin transaction
27158
+  (0.2ms) SAVEPOINT active_record_1
27159
+ SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 10:01:22.436226"], ["updated_at", "2019-04-10 10:01:22.436226"]]
27160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27161
+  (0.1ms) SAVEPOINT active_record_1
27162
+ 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-04-10 10:01:22.441544"], ["updated_at", "2019-04-10 10:01:22.441544"]]
27163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27164
+ 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-04-10 12:01:22 +0200
27165
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27166
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
27167
+ 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
27168
+ Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.3ms)
27169
+ User Load (0.1ms) SELECT "users".* FROM "users"
27170
+  (0.1ms) SAVEPOINT active_record_1
27171
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27172
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27173
+ Tree Load (0.3ms) SELECT "trees".* FROM "trees"
27174
+  (0.1ms) SAVEPOINT active_record_1
27175
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27177
+  (0.5ms) rollback transaction
27178
+  (0.1ms) begin transaction
27179
+  (0.0ms) SAVEPOINT active_record_1
27180
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 10:01:22.464853"], ["updated_at", "2019-04-10 10:01:22.464853"]]
27181
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27182
+  (0.0ms) SAVEPOINT active_record_1
27183
+ 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-04-10 10:01:22.467044"], ["updated_at", "2019-04-10 10:01:22.467044"]]
27184
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27185
+ 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-04-10 12:01:22 +0200
27186
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27187
+ 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"}
27188
+ SQL (1.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
27189
+ Completed 200 OK in 31ms (Views: 0.4ms | ActiveRecord: 1.2ms)
27190
+ User Load (0.2ms) SELECT "users".* FROM "users"
27191
+  (0.0ms) SAVEPOINT active_record_1
27192
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27194
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
27195
+  (0.1ms) SAVEPOINT active_record_1
27196
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27197
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27198
+  (1.0ms) rollback transaction
27199
+  (0.1ms) begin transaction
27200
+  (0.0ms) SAVEPOINT active_record_1
27201
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 10:01:22.509928"], ["updated_at", "2019-04-10 10:01:22.509928"]]
27202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27203
+  (0.0ms) SAVEPOINT active_record_1
27204
+ 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-04-10 10:01:22.512048"], ["updated_at", "2019-04-10 10:01:22.512048"]]
27205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27206
+ 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-04-10 12:01:22 +0200
27207
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27208
+ 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"}
27209
+ 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
27210
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms)
27211
+ User Load (0.1ms) SELECT "users".* FROM "users"
27212
+  (0.0ms) SAVEPOINT active_record_1
27213
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27215
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
27216
+  (0.1ms) SAVEPOINT active_record_1
27217
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27219
+  (0.5ms) rollback transaction
27220
+  (0.7ms) begin transaction
27221
+  (0.2ms) rollback transaction
27222
+  (0.1ms) begin transaction
27223
+  (0.1ms) rollback transaction
27224
+  (0.3ms) begin transaction
27225
+  (0.4ms) rollback transaction
27226
+  (0.1ms) begin transaction
27227
+  (0.1ms) rollback transaction
27228
+  (0.2ms) begin transaction
27229
+  (0.0ms) rollback transaction
27230
+  (0.0ms) begin transaction
27231
+  (0.0ms) rollback transaction
27232
+  (0.0ms) begin transaction
27233
+  (0.0ms) rollback transaction
27234
+  (0.0ms) begin transaction
27235
+  (0.0ms) rollback transaction
27236
+  (0.0ms) begin transaction
27237
+  (0.0ms) rollback transaction
27238
+  (0.0ms) begin transaction
27239
+  (0.1ms) rollback transaction
27240
+  (0.1ms) begin transaction
27241
+  (0.1ms) rollback transaction
27242
+  (0.1ms) begin transaction
27243
+  (0.0ms) rollback transaction
27244
+  (0.1ms) begin transaction
27245
+  (0.0ms) rollback transaction
27246
+  (0.0ms) begin transaction
27247
+  (0.1ms) rollback transaction
27248
+  (0.1ms) begin transaction
27249
+  (0.1ms) rollback transaction
27250
+  (0.1ms) begin transaction
27251
+  (0.1ms) rollback transaction
27252
+  (0.1ms) begin transaction
27253
+  (0.0ms) rollback transaction
27254
+  (0.0ms) begin transaction
27255
+  (0.0ms) rollback transaction
27256
+  (0.0ms) begin transaction
27257
+  (0.1ms) rollback transaction
27258
+  (0.1ms) begin transaction
27259
+  (0.1ms) rollback transaction
27260
+  (0.1ms) begin transaction
27261
+  (0.0ms) rollback transaction
27262
+  (0.1ms) begin transaction
27263
+  (0.1ms) rollback transaction
27264
+  (0.1ms) begin transaction
27265
+  (0.0ms) rollback transaction
27266
+  (0.0ms) begin transaction
27267
+  (0.0ms) rollback transaction
27268
+  (0.0ms) begin transaction
27269
+  (0.0ms) rollback transaction
27270
+  (0.0ms) begin transaction
27271
+  (0.0ms) rollback transaction
27272
+  (0.1ms) begin transaction
27273
+  (0.0ms) rollback transaction
27274
+  (0.1ms) begin transaction
27275
+  (0.1ms) rollback transaction
27276
+  (0.1ms) begin transaction
27277
+  (0.1ms) rollback transaction
27278
+  (0.3ms) begin transaction
27279
+  (0.6ms) rollback transaction
27280
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
27281
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27282
+  (0.1ms)  SELECT sql
27283
+ FROM sqlite_master
27284
+ WHERE name='index_trees_on_island_id' AND type='index'
27285
+ UNION ALL
27286
+ SELECT sql
27287
+ FROM sqlite_temp_master
27288
+ WHERE name='index_trees_on_island_id' AND type='index'
27289
+ 
27290
+  (0.1ms) SELECT sql
27291
+ FROM sqlite_master
27292
+ WHERE name='index_trees_on_cutter_id' AND type='index'
27293
+ UNION ALL
27294
+ SELECT sql
27295
+ FROM sqlite_temp_master
27296
+ WHERE name='index_trees_on_cutter_id' AND type='index'
27297
+
27298
+  (0.1ms)  SELECT sql
27299
+ FROM sqlite_master
27300
+ WHERE name='index_trees_on_owner_id' AND type='index'
27301
+ UNION ALL
27302
+ SELECT sql
27303
+ FROM sqlite_temp_master
27304
+ WHERE name='index_trees_on_owner_id' AND type='index'
27305
+ 
27306
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27307
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27308
+  (0.1ms) begin transaction
27309
+  (0.1ms) rollback transaction
27310
+  (0.0ms) begin transaction
27311
+  (0.0ms) rollback transaction
27312
+  (0.0ms) begin transaction
27313
+  (0.0ms) rollback transaction
27314
+  (0.0ms) begin transaction
27315
+  (0.0ms) rollback transaction
27316
+  (0.0ms) begin transaction
27317
+  (0.0ms) rollback transaction
27318
+  (0.0ms) begin transaction
27319
+  (0.0ms) rollback transaction
27320
+  (0.0ms) begin transaction
27321
+  (0.0ms) rollback transaction
27322
+  (0.0ms) begin transaction
27323
+  (0.0ms) rollback transaction
27324
+  (0.1ms) begin transaction
27325
+  (0.0ms) rollback transaction
27326
+  (0.1ms) begin transaction
27327
+  (0.0ms) SAVEPOINT active_record_1
27328
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 10:01:54.681104"], ["updated_at", "2019-04-10 10:01:54.681104"]]
27329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27330
+  (0.2ms) SAVEPOINT active_record_1
27331
+ 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-04-10 10:01:54.695465"], ["updated_at", "2019-04-10 10:01:54.695465"]]
27332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27333
+ 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-04-10 12:01:54 +0200
27334
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27335
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
27336
+ 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
27337
+ Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 0.1ms)
27338
+ User Load (0.1ms) SELECT "users".* FROM "users"
27339
+  (0.1ms) SAVEPOINT active_record_1
27340
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27341
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27342
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
27343
+  (0.0ms) SAVEPOINT active_record_1
27344
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27345
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27346
+  (0.6ms) rollback transaction
27347
+  (0.1ms) begin transaction
27348
+  (0.0ms) SAVEPOINT active_record_1
27349
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 10:01:54.753520"], ["updated_at", "2019-04-10 10:01:54.753520"]]
27350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27351
+  (0.0ms) SAVEPOINT active_record_1
27352
+ 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-04-10 10:01:54.754830"], ["updated_at", "2019-04-10 10:01:54.754830"]]
27353
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27354
+ 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-04-10 12:01:54 +0200
27355
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27356
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
27357
+ 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
27358
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
27359
+ User Load (0.1ms) SELECT "users".* FROM "users"
27360
+  (0.0ms) SAVEPOINT active_record_1
27361
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27363
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
27364
+  (0.0ms) SAVEPOINT active_record_1
27365
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27367
+  (0.3ms) rollback transaction
27368
+  (0.0ms) begin transaction
27369
+  (0.0ms) SAVEPOINT active_record_1
27370
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 10:01:54.765696"], ["updated_at", "2019-04-10 10:01:54.765696"]]
27371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27372
+  (0.0ms) SAVEPOINT active_record_1
27373
+ 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-04-10 10:01:54.767283"], ["updated_at", "2019-04-10 10:01:54.767283"]]
27374
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27375
+ 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-04-10 12:01:54 +0200
27376
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27377
+ 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"}
27378
+ 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
27379
+ Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.1ms)
27380
+ User Load (0.0ms) SELECT "users".* FROM "users"
27381
+  (0.0ms) SAVEPOINT active_record_1
27382
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27384
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
27385
+  (0.0ms) SAVEPOINT active_record_1
27386
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27388
+  (0.3ms) rollback transaction
27389
+  (0.1ms) begin transaction
27390
+  (0.0ms) SAVEPOINT active_record_1
27391
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 10:01:54.786366"], ["updated_at", "2019-04-10 10:01:54.786366"]]
27392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27393
+  (0.2ms) SAVEPOINT active_record_1
27394
+ 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-04-10 10:01:54.789633"], ["updated_at", "2019-04-10 10:01:54.789633"]]
27395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27396
+ 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-04-10 12:01:54 +0200
27397
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27398
+ 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"}
27399
+ 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
27400
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
27401
+ User Load (0.1ms) SELECT "users".* FROM "users"
27402
+  (0.0ms) SAVEPOINT active_record_1
27403
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27404
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27405
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
27406
+  (0.0ms) SAVEPOINT active_record_1
27407
+ SQL (0.2ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27409
+  (0.3ms) rollback transaction
27410
+  (0.0ms) begin transaction
27411
+  (0.0ms) rollback transaction
27412
+  (0.0ms) begin transaction
27413
+  (0.1ms) rollback transaction
27414
+  (0.0ms) begin transaction
27415
+  (0.1ms) rollback transaction
27416
+  (0.1ms) begin transaction
27417
+  (0.0ms) rollback transaction
27418
+  (0.0ms) begin transaction
27419
+  (0.0ms) rollback transaction
27420
+  (0.1ms) begin transaction
27421
+  (0.0ms) rollback transaction
27422
+  (0.0ms) begin transaction
27423
+  (0.0ms) rollback transaction
27424
+  (0.0ms) begin transaction
27425
+  (0.0ms) rollback transaction
27426
+  (0.0ms) begin transaction
27427
+  (0.0ms) rollback transaction
27428
+  (0.0ms) begin transaction
27429
+  (0.0ms) rollback transaction
27430
+  (0.0ms) begin transaction
27431
+  (0.1ms) rollback transaction
27432
+  (0.0ms) begin transaction
27433
+  (0.0ms) rollback transaction
27434
+  (0.0ms) begin transaction
27435
+  (0.0ms) rollback transaction
27436
+  (0.0ms) begin transaction
27437
+  (0.1ms) rollback transaction
27438
+  (0.0ms) begin transaction
27439
+  (0.1ms) rollback transaction
27440
+  (0.1ms) begin transaction
27441
+  (0.1ms) rollback transaction
27442
+  (0.0ms) begin transaction
27443
+  (0.0ms) rollback transaction
27444
+  (0.0ms) begin transaction
27445
+  (0.0ms) rollback transaction
27446
+  (0.0ms) begin transaction
27447
+  (0.0ms) rollback transaction
27448
+  (0.0ms) begin transaction
27449
+  (0.0ms) rollback transaction
27450
+  (0.0ms) begin transaction
27451
+  (0.0ms) rollback transaction
27452
+  (0.0ms) begin transaction
27453
+  (0.0ms) rollback transaction
27454
+  (0.0ms) begin transaction
27455
+  (0.0ms) rollback transaction
27456
+  (0.0ms) begin transaction
27457
+  (0.0ms) rollback transaction
27458
+  (0.0ms) begin transaction
27459
+  (0.0ms) rollback transaction
27460
+  (0.0ms) begin transaction
27461
+  (0.0ms) rollback transaction
27462
+  (0.0ms) begin transaction
27463
+  (0.0ms) rollback transaction
27464
+  (0.0ms) begin transaction
27465
+  (0.0ms) rollback transaction
27466
+  (0.0ms) begin transaction
27467
+  (0.0ms) rollback transaction
27468
+  (0.1ms) begin transaction
27469
+  (0.1ms) rollback transaction
27470
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27471
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27472
+  (0.1ms)  SELECT sql
27473
+ FROM sqlite_master
27474
+ WHERE name='index_trees_on_island_id' AND type='index'
27475
+ UNION ALL
27476
+ SELECT sql
27477
+ FROM sqlite_temp_master
27478
+ WHERE name='index_trees_on_island_id' AND type='index'
27479
+ 
27480
+  (0.1ms) SELECT sql
27481
+ FROM sqlite_master
27482
+ WHERE name='index_trees_on_cutter_id' AND type='index'
27483
+ UNION ALL
27484
+ SELECT sql
27485
+ FROM sqlite_temp_master
27486
+ WHERE name='index_trees_on_cutter_id' AND type='index'
27487
+
27488
+  (0.1ms)  SELECT sql
27489
+ FROM sqlite_master
27490
+ WHERE name='index_trees_on_owner_id' AND type='index'
27491
+ UNION ALL
27492
+ SELECT sql
27493
+ FROM sqlite_temp_master
27494
+ WHERE name='index_trees_on_owner_id' AND type='index'
27495
+ 
27496
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27497
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27498
+  (0.1ms) begin transaction
27499
+  (0.0ms) rollback transaction
27500
+  (0.0ms) begin transaction
27501
+  (0.0ms) rollback transaction
27502
+  (0.0ms) begin transaction
27503
+  (0.0ms) rollback transaction
27504
+  (0.0ms) begin transaction
27505
+  (0.0ms) rollback transaction
27506
+  (0.0ms) begin transaction
27507
+  (0.0ms) rollback transaction
27508
+  (0.0ms) begin transaction
27509
+  (0.0ms) rollback transaction
27510
+  (0.0ms) begin transaction
27511
+  (0.1ms) rollback transaction
27512
+  (0.0ms) begin transaction
27513
+  (0.0ms) rollback transaction
27514
+  (0.0ms) begin transaction
27515
+  (0.0ms) rollback transaction
27516
+  (0.0ms) begin transaction
27517
+  (0.0ms) SAVEPOINT active_record_1
27518
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 10:02:45.034655"], ["updated_at", "2019-04-10 10:02:45.034655"]]
27519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27520
+  (0.1ms) SAVEPOINT active_record_1
27521
+ 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-04-10 10:02:45.044458"], ["updated_at", "2019-04-10 10:02:45.044458"]]
27522
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27523
+ 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-04-10 12:02:45 +0200
27524
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27525
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
27526
+ 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
27527
+ Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 0.2ms)
27528
+ User Load (0.1ms) SELECT "users".* FROM "users"
27529
+  (0.0ms) SAVEPOINT active_record_1
27530
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27531
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27532
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
27533
+  (0.0ms) SAVEPOINT active_record_1
27534
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27535
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27536
+  (5.5ms) rollback transaction
27537
+  (0.1ms) begin transaction
27538
+  (0.0ms) SAVEPOINT active_record_1
27539
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 10:02:45.097107"], ["updated_at", "2019-04-10 10:02:45.097107"]]
27540
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27541
+  (0.0ms) SAVEPOINT active_record_1
27542
+ 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-04-10 10:02:45.099445"], ["updated_at", "2019-04-10 10:02:45.099445"]]
27543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27544
+ 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-04-10 12:02:45 +0200
27545
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27546
+ Parameters: {"fields"=>{"Tree"=>"id,name"}, "page"=>{"number"=>"1", "size"=>"10"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Tree"}
27547
+ 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
27548
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.2ms)
27549
+ User Load (0.1ms) SELECT "users".* FROM "users"
27550
+  (0.1ms) SAVEPOINT active_record_1
27551
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27553
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
27554
+  (0.0ms) SAVEPOINT active_record_1
27555
+ SQL (0.1ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27557
+  (0.5ms) rollback transaction
27558
+  (0.1ms) begin transaction
27559
+  (0.1ms) SAVEPOINT active_record_1
27560
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 10:02:45.116521"], ["updated_at", "2019-04-10 10:02:45.116521"]]
27561
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27562
+  (0.1ms) SAVEPOINT active_record_1
27563
+ 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-04-10 10:02:45.120336"], ["updated_at", "2019-04-10 10:02:45.120336"]]
27564
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27565
+ 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-04-10 12:02:45 +0200
27566
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27567
+ 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"}
27568
+ 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
27569
+ Completed 200 OK in 25ms (Views: 0.4ms | ActiveRecord: 0.3ms)
27570
+ User Load (0.1ms) SELECT "users".* FROM "users"
27571
+  (0.1ms) SAVEPOINT active_record_1
27572
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27574
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees"
27575
+  (0.0ms) SAVEPOINT active_record_1
27576
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27577
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27578
+  (0.6ms) rollback transaction
27579
+  (0.1ms) begin transaction
27580
+  (0.0ms) SAVEPOINT active_record_1
27581
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Michel"], ["created_at", "2019-04-10 10:02:45.165700"], ["updated_at", "2019-04-10 10:02:45.165700"]]
27582
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27583
+  (0.1ms) SAVEPOINT active_record_1
27584
+ 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-04-10 10:02:45.167889"], ["updated_at", "2019-04-10 10:02:45.167889"]]
27585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27586
+ 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-04-10 12:02:45 +0200
27587
+ Processing by ForestLiana::UserSpace::TreeController#index as JSON
27588
+ 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"}
27589
+ 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
27590
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms)
27591
+ User Load (0.1ms) SELECT "users".* FROM "users"
27592
+  (0.0ms) SAVEPOINT active_record_1
27593
+ SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
27594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
27595
+ Tree Load (0.0ms) SELECT "trees".* FROM "trees"
27596
+  (0.0ms) SAVEPOINT active_record_1
27597
+ SQL (0.0ms) DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
27598
+  (0.1ms) RELEASE SAVEPOINT active_record_1
27599
+  (0.4ms) rollback transaction
27600
+  (0.0ms) begin transaction
27601
+  (0.0ms) rollback transaction
27602
+  (0.0ms) begin transaction
27603
+  (0.0ms) rollback transaction
27604
+  (0.1ms) begin transaction
27605
+  (0.0ms) rollback transaction
27606
+  (0.0ms) begin transaction
27607
+  (0.0ms) rollback transaction
27608
+  (0.0ms) begin transaction
27609
+  (0.0ms) rollback transaction
27610
+  (0.0ms) begin transaction
27611
+  (0.0ms) rollback transaction
27612
+  (0.0ms) begin transaction
27613
+  (0.0ms) rollback transaction
27614
+  (0.0ms) begin transaction
27615
+  (0.0ms) rollback transaction
27616
+  (0.1ms) begin transaction
27617
+  (0.0ms) rollback transaction
27618
+  (0.1ms) begin transaction
27619
+  (0.0ms) rollback transaction
27620
+  (0.1ms) begin transaction
27621
+  (0.0ms) rollback transaction
27622
+  (0.1ms) begin transaction
27623
+  (0.0ms) rollback transaction
27624
+  (0.1ms) begin transaction
27625
+  (0.1ms) rollback transaction
27626
+  (0.0ms) begin transaction
27627
+  (0.1ms) rollback transaction
27628
+  (0.0ms) begin transaction
27629
+  (0.0ms) rollback transaction
27630
+  (0.0ms) begin transaction
27631
+  (0.0ms) rollback transaction
27632
+  (0.1ms) begin transaction
27633
+  (0.1ms) rollback transaction
27634
+  (0.1ms) begin transaction
27635
+  (0.0ms) rollback transaction
27636
+  (0.0ms) begin transaction
27637
+  (0.1ms) rollback transaction
27638
+  (0.0ms) begin transaction
27639
+  (0.0ms) rollback transaction
27640
+  (0.0ms) begin transaction
27641
+  (0.0ms) rollback transaction
27642
+  (0.0ms) begin transaction
27643
+  (0.0ms) rollback transaction
27644
+  (0.1ms) begin transaction
27645
+  (0.0ms) rollback transaction
27646
+  (0.0ms) begin transaction
27647
+  (0.0ms) rollback transaction
27648
+  (0.0ms) begin transaction
27649
+  (0.0ms) rollback transaction
27650
+  (0.1ms) begin transaction
27651
+  (0.5ms) rollback transaction
27652
+  (0.1ms) begin transaction
27653
+  (0.1ms) rollback transaction
27654
+  (0.1ms) begin transaction
27655
+  (0.1ms) rollback transaction
27656
+  (0.1ms) begin transaction
27657
+  (0.1ms) rollback transaction
27658
+  (0.2ms) begin transaction
27659
+  (0.2ms) rollback transaction