rails_sortable 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_sortable/version.rb +1 -1
- data/spec/dummy/log/test.log +350 -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: f71d0f09c228e23feab8feb87bdfb86ef381ab87
|
4
|
+
data.tar.gz: 60cb4a0ac744d60116e3315b7ed2f443d995bd62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51c26d72c68ecda96ef5f4100f7b809404d1eb95b61467b556155e8742040c5e4d611a039676b9c744d46b5a82c7bb328e24990369fcb8368f93c72e55993839
|
7
|
+
data.tar.gz: bb71c5d7176570a81c7f91e4ad886fb3e025a3b456ad75bef7b22268f2cbc4ec1a5702d2945e8b52c033ed16a78c33bd02db532690d3a4203a1577c9af515bc8
|
data/spec/dummy/log/test.log
CHANGED
@@ -6094,3 +6094,353 @@ Completed 200 OK in 7ms (ActiveRecord: 0.5ms)
|
|
6094
6094
|
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6095
6095
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6096
6096
|
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6097
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6098
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6099
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6100
|
+
[1m[35m (0.5ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6101
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:19:42.626170"], ["updated_at", "2017-04-14 07:19:42.626170"], ["sort", 1]]
|
6102
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6103
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6104
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2017-04-14 07:19:42.631877"], ["id", 1]]
|
6105
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6106
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
6107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6108
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6109
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6110
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2017-04-14 07:19:42.642018"], ["updated_at", "2017-04-14 07:19:42.642018"], ["sort", 1]]
|
6111
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6112
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6113
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "items" SET "sort" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["id", 1]]
|
6114
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6115
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6116
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6117
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6118
|
+
[1m[35m (0.1ms)[0m SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
|
6119
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:19:42.655793"], ["updated_at", "2017-04-14 07:19:42.655793"], ["sequence", 1]]
|
6120
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6121
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
6122
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6123
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6124
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2017-04-14 07:19:42.663546"], ["updated_at", "2017-04-14 07:19:42.663546"]]
|
6125
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6126
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6127
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6128
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6129
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2017-04-14 07:19:42.670033"], ["updated_at", "2017-04-14 07:19:42.670033"]]
|
6130
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6131
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6132
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6133
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:19:42.671691"], ["updated_at", "2017-04-14 07:19:42.671691"], ["sort", 1001]]
|
6134
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6135
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6136
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6137
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6138
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6139
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
6140
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6141
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6142
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6143
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:19:42.698616"], ["updated_at", "2017-04-14 07:19:42.698616"], ["sort", 1]]
|
6144
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6145
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6146
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6147
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:19:42.700921"], ["updated_at", "2017-04-14 07:19:42.700921"], ["sort", 2]]
|
6148
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6149
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6150
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6151
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:19:42.702958"], ["updated_at", "2017-04-14 07:19:42.702958"], ["sort", 3]]
|
6152
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6153
|
+
Processing by SortableController#reorder as HTML
|
6154
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
6155
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
6156
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6157
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "items" SET "sort" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["id", 1]]
|
6158
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6159
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6160
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1], ["id", 3]]
|
6161
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6162
|
+
Completed 200 OK in 7ms (ActiveRecord: 0.4ms)
|
6163
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
|
6164
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 2]]
|
6165
|
+
[1m[35mItem Load (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
|
6166
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
6167
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6168
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6169
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6170
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6171
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6172
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6173
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6174
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6175
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", 2017-04-14 07:19:45 UTC], ["updated_at", 2017-04-14 07:19:45 UTC]]
|
6176
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6177
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6178
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6179
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", 2017-04-14 07:19:45 UTC], ["updated_at", 2017-04-14 07:19:45 UTC]]
|
6180
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6181
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6182
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6183
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 3], ["created_at", 2017-04-14 07:19:45 UTC], ["updated_at", 2017-04-14 07:19:45 UTC]]
|
6184
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6185
|
+
Processing by SortableController#reorder as HTML
|
6186
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
6187
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
6188
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6189
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["updated_at", 2017-04-14 07:19:45 UTC], ["id", 1]]
|
6190
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6191
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6192
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1], ["updated_at", 2017-04-14 07:19:45 UTC], ["id", 3]]
|
6193
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6194
|
+
Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
|
6195
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6196
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6197
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
6198
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
6199
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6200
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6201
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", 2017-04-14 07:19:45 UTC], ["updated_at", 2017-04-14 07:19:45 UTC]]
|
6202
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6203
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6204
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6205
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1001], ["created_at", 2017-04-14 07:19:45 UTC], ["updated_at", 2017-04-14 07:19:45 UTC]]
|
6206
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6207
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
6208
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6209
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6210
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", 2017-04-14 07:19:45 UTC], ["updated_at", 2017-04-14 07:19:45 UTC]]
|
6211
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6212
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
6213
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6214
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6215
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"[0m
|
6216
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sequence", 1], ["created_at", 2017-04-14 07:19:45 UTC], ["updated_at", 2017-04-14 07:19:45 UTC]]
|
6217
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6218
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
6219
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6220
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6221
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6222
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", 2017-04-14 07:19:45 UTC], ["updated_at", 2017-04-14 07:19:45 UTC]]
|
6223
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6224
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6225
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["updated_at", 2017-04-14 07:19:45 UTC], ["id", 1]]
|
6226
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6227
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
6228
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6229
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6230
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6231
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", 2017-04-14 07:19:45 UTC], ["updated_at", 2017-04-14 07:19:45 UTC]]
|
6232
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6233
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6234
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["id", 1]]
|
6235
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6236
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
6237
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6238
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6239
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6240
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6241
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6242
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6243
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6244
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2017-04-14 07:20:23.936354"], ["updated_at", "2017-04-14 07:20:23.936354"]]
|
6245
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6246
|
+
[1m[35m (1.5ms)[0m rollback transaction
|
6247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6248
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6249
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2017-04-14 07:20:23.943931"], ["updated_at", "2017-04-14 07:20:23.943931"]]
|
6250
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6251
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6252
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6253
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:20:23.945498"], ["updated_at", "2017-04-14 07:20:23.945498"], ["sort", 1001]]
|
6254
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6255
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
6256
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6257
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6258
|
+
[1m[35m (0.3ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6259
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:20:23.953168"], ["updated_at", "2017-04-14 07:20:23.953168"], ["sort", 1]]
|
6260
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6261
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6262
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
|
6263
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6264
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6265
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6266
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6267
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6268
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2017-04-14 07:20:23.967801"], ["updated_at", "2017-04-14 07:20:23.967801"], ["sort", 1]]
|
6269
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6270
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6271
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["updated_at", "2017-04-14 07:20:23.969659"], ["id", 1]]
|
6272
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6273
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
6274
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6275
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6276
|
+
[1m[35m (0.2ms)[0m SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
|
6277
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:20:23.981675"], ["updated_at", "2017-04-14 07:20:23.981675"], ["sequence", 1]]
|
6278
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6279
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6280
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6281
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6282
|
+
[1m[35m (0.2ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6283
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:20:23.990048"], ["updated_at", "2017-04-14 07:20:23.990048"], ["sort", 1]]
|
6284
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6285
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6286
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6287
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:20:23.993642"], ["updated_at", "2017-04-14 07:20:23.993642"], ["sort", 2]]
|
6288
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6289
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6290
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6291
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:20:23.995743"], ["updated_at", "2017-04-14 07:20:23.995743"], ["sort", 3]]
|
6292
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
6293
|
+
Processing by SortableController#reorder as HTML
|
6294
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
6295
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
6296
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6297
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["updated_at", "2017-04-14 07:20:24.000956"], ["id", 1]]
|
6298
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6299
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6300
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2017-04-14 07:20:24.002024"], ["id", 3]]
|
6301
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6302
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
|
6303
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
|
6304
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 2]]
|
6305
|
+
[1m[35mItem Load (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
|
6306
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
6307
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6308
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6309
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6310
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6311
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:20:39.513484"], ["updated_at", "2017-04-14 07:20:39.513484"], ["sort", 1]]
|
6312
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6313
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6314
|
+
[1m[35m (0.1ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6315
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:20:39.516855"], ["updated_at", "2017-04-14 07:20:39.516855"], ["sort", 2]]
|
6316
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6317
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6318
|
+
[1m[35m (0.2ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6319
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:20:39.519141"], ["updated_at", "2017-04-14 07:20:39.519141"], ["sort", 3]]
|
6320
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6321
|
+
Processing by SortableController#reorder as HTML
|
6322
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
6323
|
+
[1m[36mItem Load (0.2ms)[0m [1mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
6324
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6325
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["updated_at", "2017-04-14 07:20:39.530336"], ["id", 1]]
|
6326
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6327
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6328
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2017-04-14 07:20:39.539304"], ["id", 3]]
|
6329
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6330
|
+
Completed 200 OK in 12ms (ActiveRecord: 1.0ms)
|
6331
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
|
6332
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1[0m [["id", 2]]
|
6333
|
+
[1m[35mItem Load (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
|
6334
|
+
[1m[36m (1.8ms)[0m [1mrollback transaction[0m
|
6335
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6336
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6337
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6338
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
6339
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6340
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6341
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2017-04-14 07:20:39.565478"], ["updated_at", "2017-04-14 07:20:39.565478"]]
|
6342
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6343
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6344
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6345
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2017-04-14 07:20:39.568930"], ["updated_at", "2017-04-14 07:20:39.568930"], ["sort", 1001]]
|
6346
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6347
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6348
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6349
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6350
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", "2017-04-14 07:20:39.577296"], ["updated_at", "2017-04-14 07:20:39.577296"]]
|
6351
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6352
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
6353
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6354
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6355
|
+
[1m[35m (0.2ms)[0m SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
|
6356
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:20:39.593897"], ["updated_at", "2017-04-14 07:20:39.593897"], ["sequence", 1]]
|
6357
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6358
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6359
|
+
[1m[35m (0.2ms)[0m begin transaction
|
6360
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6361
|
+
[1m[35m (0.2ms)[0m SELECT MAX("items"."sort") FROM "items"
|
6362
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?)[0m [["created_at", "2017-04-14 07:20:39.604337"], ["updated_at", "2017-04-14 07:20:39.604337"], ["sort", 1]]
|
6363
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6364
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6365
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
|
6366
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6367
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
6368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6369
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6370
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("items"."sort") FROM "items"[0m
|
6371
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2017-04-14 07:20:39.623975"], ["updated_at", "2017-04-14 07:20:39.623975"], ["sort", 1]]
|
6372
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6373
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
6374
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["updated_at", "2017-04-14 07:20:39.626902"], ["id", 1]]
|
6375
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6376
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6377
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6378
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6379
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6380
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6381
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6382
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6383
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6384
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6385
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", 2017-04-14 07:20:42 UTC], ["updated_at", 2017-04-14 07:20:42 UTC]]
|
6386
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6387
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6388
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6389
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 2], ["created_at", 2017-04-14 07:20:42 UTC], ["updated_at", 2017-04-14 07:20:42 UTC]]
|
6390
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6391
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6392
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6393
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 3], ["created_at", 2017-04-14 07:20:42 UTC], ["updated_at", 2017-04-14 07:20:42 UTC]]
|
6394
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6395
|
+
Processing by SortableController#reorder as HTML
|
6396
|
+
Parameters: {"Item"=>["1", "3", "2"]}
|
6397
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" ORDER BY "items"."sort" ASC[0m
|
6398
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6399
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 0], ["updated_at", 2017-04-14 07:20:42 UTC], ["id", 1]]
|
6400
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6401
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6402
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1], ["updated_at", 2017-04-14 07:20:42 UTC], ["id", 3]]
|
6403
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6404
|
+
Completed 200 OK in 4ms (ActiveRecord: 0.5ms)
|
6405
|
+
[1m[36mItem Load (0.1ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
6406
|
+
[1m[36mItem Load (0.0ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
6407
|
+
[1m[36mItem Load (0.0ms)[0m [1m[34mSELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
6408
|
+
[1m[35m (2.3ms)[0m [1m[31mrollback transaction[0m
|
6409
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6410
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6411
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", 2017-04-14 07:20:42 UTC], ["updated_at", 2017-04-14 07:20:42 UTC]]
|
6412
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6413
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
6414
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6415
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6416
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1000], ["created_at", 2017-04-14 07:20:42 UTC], ["updated_at", 2017-04-14 07:20:42 UTC]]
|
6417
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6418
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6419
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6420
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1001], ["created_at", 2017-04-14 07:20:42 UTC], ["updated_at", 2017-04-14 07:20:42 UTC]]
|
6421
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6422
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
6423
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6424
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6425
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"[0m
|
6426
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sequence", 1], ["created_at", 2017-04-14 07:20:42 UTC], ["updated_at", 2017-04-14 07:20:42 UTC]]
|
6427
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6428
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
6429
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6430
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6431
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6432
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", 2017-04-14 07:20:42 UTC], ["updated_at", 2017-04-14 07:20:42 UTC]]
|
6433
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6434
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6435
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["id", 1]]
|
6436
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6437
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
6438
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6439
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6440
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("items"."sort") FROM "items"[0m
|
6441
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["sort", 1], ["created_at", 2017-04-14 07:20:42 UTC], ["updated_at", 2017-04-14 07:20:42 UTC]]
|
6442
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6443
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6444
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ?[0m [["sort", 1000], ["updated_at", 2017-04-14 07:20:42 UTC], ["id", 1]]
|
6445
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6446
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_sortable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- itmammoth
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '3.4'
|
111
|
-
description: rails_sortable provides easy drag & drop sorting for rails
|
111
|
+
description: rails_sortable provides easy drag & drop sorting for rails 4 and 5.
|
112
112
|
email:
|
113
113
|
- itmammoth@gmail.com
|
114
114
|
executables: []
|