forest_liana 3.0.0.pre.beta.17 → 3.0.0.pre.beta.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/forest_liana/search_query_builder.rb +10 -7
- data/lib/forest_liana/version.rb +1 -1
- data/spec/dummy/log/test.log +1520 -0
- data/spec/services/forest_liana/apimap_sorter_spec.rb +11 -11
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +401 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d57bbf1ac93723e44ab2ac007599c65dd6f69635
|
4
|
+
data.tar.gz: 38d3e7988fc7a040f8688290ec9aa4fdf87fd875
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/lib/forest_liana/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -26137,3 +26137,1523 @@ Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
|
26137
26137
|
[1m[35m (0.0ms)[0m rollback transaction
|
26138
26138
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26139
26139
|
[1m[35m (0.5ms)[0m rollback transaction
|
26140
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26141
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26142
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
26150
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
26166
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26167
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26168
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26169
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26171
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26173
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26175
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26177
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26178
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26179
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26181
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26182
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26183
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26184
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26185
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26187
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26188
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 09:54:10.281048"], ["updated_at", "2019-04-10 09:54:10.281048"]]
|
26189
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
26190
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26191
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
26199
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26200
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
26201
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26202
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
26203
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26204
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
26205
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26206
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
26207
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26208
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26209
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26211
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26212
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "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[0m
|
26218
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
26219
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
26220
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26221
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
26222
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26223
|
+
[1m[35mTree Load (0.1ms)[0m SELECT "trees".* FROM "trees"
|
26224
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26225
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
26226
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26227
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
26228
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26229
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26230
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 09:54:10.382214"], ["updated_at", "2019-04-10 09:54:10.382214"]]
|
26231
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26232
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26233
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users"[0m
|
26241
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26242
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
26243
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26244
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
26245
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26246
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
26247
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26248
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
26249
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26250
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26251
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26253
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26254
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "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[0m
|
26260
|
+
Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
26261
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
26262
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26263
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
26264
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26265
|
+
[1m[35mTree Load (0.1ms)[0m SELECT "trees".* FROM "trees"
|
26266
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26267
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
26268
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26269
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
26270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26271
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26272
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26273
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26274
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26275
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26277
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26278
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26279
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26280
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26281
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26283
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26284
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26285
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26286
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26287
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26288
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26289
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26290
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26291
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26292
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26293
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26294
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26295
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26296
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26297
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26298
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26299
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26300
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26301
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26302
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26303
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26304
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26305
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26306
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26307
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26308
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26309
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26310
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26311
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26313
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26315
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26316
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26317
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26318
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26319
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26320
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26321
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26322
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26323
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26324
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26325
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26327
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26329
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26330
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26331
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26332
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
26340
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
26356
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26357
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26358
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26359
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26360
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26361
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26363
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26364
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26365
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26366
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26367
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26368
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26369
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26370
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26371
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26372
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26373
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26374
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26375
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26376
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26377
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26378
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 09:57:13.889943"], ["updated_at", "2019-04-10 09:57:13.889943"]]
|
26379
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26380
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26381
|
+
[1m[35mSQL (1.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
26389
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26390
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
26391
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26392
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
26393
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26394
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
26395
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
26396
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
26397
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26398
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26399
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26401
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26402
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "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[0m
|
26408
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
26409
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
26410
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26411
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
26412
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26413
|
+
[1m[35mTree Load (0.1ms)[0m SELECT "trees".* FROM "trees"
|
26414
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26415
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
26416
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26417
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
26418
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26419
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26420
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 09:57:13.985782"], ["updated_at", "2019-04-10 09:57:13.985782"]]
|
26421
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26422
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26423
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
26431
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26432
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
26433
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26434
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
26435
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26436
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
26437
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26438
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
26439
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26440
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26441
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26443
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26444
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "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[0m
|
26450
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
26451
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
26452
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26453
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
26454
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26455
|
+
[1m[35mTree Load (0.1ms)[0m SELECT "trees".* FROM "trees"
|
26456
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26457
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
26458
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26459
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
26460
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26461
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26462
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26463
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26464
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26465
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26466
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26467
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
26468
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26469
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26470
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26471
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26472
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26473
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26474
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26475
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26476
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26477
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26478
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26479
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26480
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26481
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26482
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26483
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26484
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26485
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26486
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26487
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
26488
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26489
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26490
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26491
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26492
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26493
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26494
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26495
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26496
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26497
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26498
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26499
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26500
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26501
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26502
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26503
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26504
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26505
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26506
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26507
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26508
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26509
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26510
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26511
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26512
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26513
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26514
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26515
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26516
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26517
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26518
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26519
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26520
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26521
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26522
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
26530
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
26546
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26547
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26548
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26549
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26550
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26551
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26552
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26553
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26554
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26555
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26556
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26557
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26558
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26559
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26560
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26561
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26562
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26563
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26564
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26565
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26566
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26568
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 09:58:14.156125"], ["updated_at", "2019-04-10 09:58:14.156125"]]
|
26569
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26570
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26571
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
26579
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26580
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
26581
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26582
|
+
[1m[36mTree Load (0.0ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
26583
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26584
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
26585
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26586
|
+
[1m[36m (5.5ms)[0m [1mrollback transaction[0m
|
26587
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26588
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26589
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26591
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26592
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "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[0m
|
26598
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
26599
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
26600
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26601
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
26602
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26603
|
+
[1m[35mTree Load (0.1ms)[0m SELECT "trees".* FROM "trees"
|
26604
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26605
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
26606
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26607
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
26608
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26609
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26610
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 09:58:14.237525"], ["updated_at", "2019-04-10 09:58:14.237525"]]
|
26611
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26612
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26613
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
26621
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26622
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
26623
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26624
|
+
[1m[36mTree Load (0.0ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
26625
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26626
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
26627
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26628
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
26629
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26630
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26631
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26633
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26634
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "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[0m
|
26640
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
26641
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users"
|
26642
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26643
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
26644
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26645
|
+
[1m[35mTree Load (0.1ms)[0m SELECT "trees".* FROM "trees"
|
26646
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26647
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
26648
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26649
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
26650
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26651
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26652
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26653
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26654
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26655
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26656
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26657
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26658
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26659
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26660
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26661
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26663
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26664
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26665
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26666
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26667
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26668
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26669
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26670
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26671
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26672
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26673
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26674
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26675
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26676
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26677
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26678
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26679
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26680
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26681
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26682
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26683
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26684
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26685
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26686
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26687
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26688
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26689
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26690
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26691
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26692
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26693
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26694
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26695
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26696
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26697
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26698
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26699
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26700
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26701
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26702
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26703
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26704
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26705
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26707
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26708
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26709
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26710
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26711
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26712
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
26720
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
26736
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26737
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26738
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26739
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26740
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26741
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26742
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26743
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26744
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26745
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26746
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26747
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26748
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26749
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26750
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26751
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26752
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26753
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26754
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26755
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26756
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26757
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26758
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 09:59:07.678435"], ["updated_at", "2019-04-10 09:59:07.678435"]]
|
26759
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26760
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26761
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
26769
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26770
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
26771
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26772
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
26773
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26774
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
26775
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26776
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
26777
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26778
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26779
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26781
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26782
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "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[0m
|
26788
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
26789
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
26790
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26791
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
26792
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26793
|
+
[1m[35mTree Load (0.1ms)[0m SELECT "trees".* FROM "trees"
|
26794
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26795
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
26796
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26797
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
26798
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26799
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26800
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 09:59:07.753792"], ["updated_at", "2019-04-10 09:59:07.753792"]]
|
26801
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26802
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26803
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
26811
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26812
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
26813
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26814
|
+
[1m[36mTree Load (0.0ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
26815
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26816
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
26817
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26818
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
26819
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26820
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26821
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26823
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26824
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "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[0m
|
26830
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
26831
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
26832
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26833
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
26834
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26835
|
+
[1m[35mTree Load (0.1ms)[0m SELECT "trees".* FROM "trees"
|
26836
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26837
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
26838
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26839
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
26840
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26841
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26842
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26843
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26844
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26845
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26847
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
26848
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26849
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
26850
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26851
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26852
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26853
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
26854
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
26855
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26856
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26857
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26858
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26859
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26860
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26861
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26862
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26863
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26864
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26865
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26866
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26867
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26868
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26869
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26870
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26871
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26872
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26873
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26874
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26875
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26876
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26877
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26878
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26879
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26880
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26881
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26882
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26883
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
26884
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26885
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
26886
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
26887
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
26888
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26889
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26891
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26893
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26894
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26895
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26896
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26897
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26898
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26899
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26900
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26901
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26902
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
26910
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
26926
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26927
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26928
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26929
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26930
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26931
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26932
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26933
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26934
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26935
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26936
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26937
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26938
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26939
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26940
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26941
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26943
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26945
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
26946
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26947
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
26948
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 09:59:51.014777"], ["updated_at", "2019-04-10 09:59:51.014777"]]
|
26949
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26950
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26951
|
+
[1m[35mSQL (1.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
26959
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26960
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
26961
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26962
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
26963
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26964
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
26965
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
26966
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
26967
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26968
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26969
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26971
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26972
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "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[0m
|
26978
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
26979
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
26980
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26981
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
26982
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26983
|
+
[1m[35mTree Load (0.1ms)[0m SELECT "trees".* FROM "trees"
|
26984
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
26985
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
26986
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26987
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
26988
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26989
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
26990
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 09:59:51.097094"], ["updated_at", "2019-04-10 09:59:51.097094"]]
|
26991
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
26992
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
26993
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
27001
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27002
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
27003
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27004
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
27005
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27006
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
27007
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27008
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
27009
|
+
[1m[35m (0.0ms)[0m begin transaction
|
27010
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
27011
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27013
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27014
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "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[0m
|
27020
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
27021
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
27022
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27023
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
27024
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27025
|
+
[1m[35mTree Load (0.0ms)[0m SELECT "trees".* FROM "trees"
|
27026
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27027
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
27028
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27029
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
27030
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27031
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27032
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27033
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27034
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27035
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27036
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27037
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27038
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27039
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27040
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27041
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27042
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27043
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27044
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27045
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27046
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27047
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27048
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27049
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27050
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27051
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27052
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27053
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27054
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27055
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27056
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27057
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27058
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27059
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27060
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27061
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27062
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27063
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27064
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27065
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27066
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27067
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27068
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27069
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27070
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27071
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27072
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27073
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27074
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27075
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27076
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27077
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27078
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27079
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27080
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27081
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27082
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27083
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27084
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27085
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27086
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27087
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27088
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27089
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27090
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
27091
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
27092
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
27100
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
27116
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
27117
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
27118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27119
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27120
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27121
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27122
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27123
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27124
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27125
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27126
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27127
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27128
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27129
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27131
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27133
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27134
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27135
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27136
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27137
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
27138
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 10:01:22.337754"], ["updated_at", "2019-04-10 10:01:22.337754"]]
|
27139
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
27140
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
27141
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
27149
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27150
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
27151
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
27152
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
27153
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27154
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
27155
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
27156
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
27157
|
+
[1m[35m (0.2ms)[0m begin transaction
|
27158
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
27159
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27161
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
27162
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT "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[0m
|
27168
|
+
Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
27169
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
27170
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
27171
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
27172
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27173
|
+
[1m[35mTree Load (0.3ms)[0m SELECT "trees".* FROM "trees"
|
27174
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
27175
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
27176
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27177
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
27178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27179
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27180
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 10:01:22.464853"], ["updated_at", "2019-04-10 10:01:22.464853"]]
|
27181
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27182
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27183
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users"[0m
|
27191
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27192
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
27193
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27194
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
27195
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
27196
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
27197
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27198
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
27199
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27200
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27201
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27203
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27204
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "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[0m
|
27210
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
27211
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
27212
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27213
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
27214
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27215
|
+
[1m[35mTree Load (0.1ms)[0m SELECT "trees".* FROM "trees"
|
27216
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
27217
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
27218
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27219
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
27220
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
27221
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
27222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27223
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27224
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
27225
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
27226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27227
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27228
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
27229
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27230
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27231
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27232
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27233
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27235
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27236
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27237
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27238
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27239
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27240
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27241
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27242
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27243
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27244
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27245
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27246
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27247
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27248
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27249
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27250
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27251
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27253
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27254
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27255
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27256
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27257
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27259
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27260
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27261
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27262
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27263
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27264
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27265
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27266
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27267
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27268
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27269
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27271
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27273
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27274
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27275
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27277
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27278
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
27279
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
27280
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
27281
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
27282
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
27290
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
27306
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
27307
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
27308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27309
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27310
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27311
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27313
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27315
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27316
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27317
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27318
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27319
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27320
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27321
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27322
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27323
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27325
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27327
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27328
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 10:01:54.681104"], ["updated_at", "2019-04-10 10:01:54.681104"]]
|
27329
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27330
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
27331
|
+
[1m[35mSQL (1.8ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
27339
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
27340
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
27341
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27342
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
27343
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27344
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
27345
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
27346
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
27347
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27348
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27349
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27351
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27352
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "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[0m
|
27358
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
27359
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
27360
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27361
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
27362
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27363
|
+
[1m[35mTree Load (0.0ms)[0m SELECT "trees".* FROM "trees"
|
27364
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27365
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
27366
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27367
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
27368
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27369
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27370
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 10:01:54.765696"], ["updated_at", "2019-04-10 10:01:54.765696"]]
|
27371
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27372
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27373
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users"[0m
|
27381
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27382
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
27383
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27384
|
+
[1m[36mTree Load (0.0ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
27385
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27386
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
27387
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27388
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
27389
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27390
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27391
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27393
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
27394
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "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[0m
|
27400
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
27401
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
27402
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27403
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
27404
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27405
|
+
[1m[35mTree Load (0.1ms)[0m SELECT "trees".* FROM "trees"
|
27406
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27407
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
27408
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27409
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
27410
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27411
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27412
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27413
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27414
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27415
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27416
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27417
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27418
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27419
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27420
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27421
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27422
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27423
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27424
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27425
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27426
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27427
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27428
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27429
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27430
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27431
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27432
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27433
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27434
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27435
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27436
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27437
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27438
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27439
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27440
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27441
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27442
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27443
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27444
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27445
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27446
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27447
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27448
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27449
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27450
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27451
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27452
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27453
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27455
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27456
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27457
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27458
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27459
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27460
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27461
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27462
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27463
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27464
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27465
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27466
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27467
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27468
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27469
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27470
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
27471
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
27472
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
27480
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
27496
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
27497
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
27498
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27499
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27500
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27501
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27502
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27503
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27504
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27505
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27506
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27507
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27508
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27509
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27510
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27511
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27512
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27513
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27514
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27515
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27516
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27517
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27518
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 10:02:45.034655"], ["updated_at", "2019-04-10 10:02:45.034655"]]
|
27519
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27520
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
27521
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
27529
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27530
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
27531
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27532
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
27533
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27534
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
27535
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27536
|
+
[1m[36m (5.5ms)[0m [1mrollback transaction[0m
|
27537
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27538
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27539
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27541
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27542
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "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[0m
|
27548
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
27549
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
27550
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
27551
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
27552
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27553
|
+
[1m[35mTree Load (0.1ms)[0m SELECT "trees".* FROM "trees"
|
27554
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27555
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
27556
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27557
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
27558
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27559
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
27560
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Michel"], ["created_at", "2019-04-10 10:02:45.116521"], ["updated_at", "2019-04-10 10:02:45.116521"]]
|
27561
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
27562
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
27563
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
27571
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
27572
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
27573
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
27574
|
+
[1m[36mTree Load (0.1ms)[0m [1mSELECT "trees".* FROM "trees"[0m
|
27575
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
27576
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "trees" WHERE "trees"."id" = ?[0m [["id", 1]]
|
27577
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
27578
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
27579
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27580
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27581
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27583
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
27584
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "trees" ("name", "owner_id", "cutter_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "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[0m
|
27590
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
27591
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
27592
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27593
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
27594
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27595
|
+
[1m[35mTree Load (0.0ms)[0m SELECT "trees".* FROM "trees"
|
27596
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
27597
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "trees" WHERE "trees"."id" = ? [["id", 1]]
|
27598
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27599
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
27600
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27601
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27602
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27603
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27604
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27605
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27606
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27607
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27608
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27609
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27610
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27611
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27612
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27613
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27614
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27615
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27616
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27617
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27618
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27619
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27620
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27621
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27622
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27623
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27624
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27625
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27626
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27627
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27628
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27629
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27630
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27631
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27632
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27633
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27634
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27635
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27636
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27637
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27638
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27639
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27640
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27641
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27642
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27643
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27644
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27645
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27646
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27647
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27648
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27649
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27650
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27651
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
27652
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27653
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27654
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27655
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27656
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27657
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27658
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
27659
|
+
[1m[35m (0.2ms)[0m rollback transaction
|