rails_sortable 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rails_sortable/version.rb +1 -1
  3. data/spec/dummy/app/assets/javascripts/items.js +6 -1
  4. data/spec/dummy/app/assets/javascripts/sequenced_items.js +1 -1
  5. data/spec/dummy/app/views/items/index.html.erb +1 -1
  6. data/spec/dummy/app/views/sequenced_items/index.html.erb +1 -1
  7. data/spec/dummy/db/development.sqlite3 +0 -0
  8. data/spec/dummy/log/development.log +558 -0
  9. data/spec/dummy/log/test.log +1045 -0
  10. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-n/-n3MR6ZjOaHK_ObpQr3kxPeehgxHJBOXef8KEtXSnzk.cache +1 -0
  11. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0_/0_br0Fu28KevPxgtOSltEECv0T3F8wKP9bAFm1iWjoc.cache +3 -0
  12. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ac/AcPryqPrbsoEfEco2i50EOaS-VbzWm-b2Sd3GcIhjc8.cache +1 -0
  13. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BC/BCgA5HGpgGewn7E8axPYAs4aVL4zvC-AwXzmgtTQ1Bs.cache +0 -0
  14. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cn/CntFVSN9ycd51iw8JAkrhWU4FqTTMlSoxdEVGDfMDyc.cache +0 -0
  15. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dv/DvVItwDJ5ICN6OBzcrrxrDiqsRES0Isxq84koIrF3U0.cache +1 -0
  16. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ef/eF1qMHobSulGvdOrys-5XQ3ixIU2NXiR_RFjBkJzPos.cache +1 -0
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/F2/F2SlPoBworI2L5RUOKhSitL95hVsqy9KivpeemEXt_g.cache +0 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FB/FBlKyIqlxlA0tOBboFkYFg_u0qqQW2dgPGoZhLoVxg4.cache +0 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fq/Fqrynqgt37T_Jz0gja64e7NQFd5SzLzcAC4_YMxu3O8.cache +0 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HF/HFuNhzNZA5ILxIzWi2wxnZ_uEYPrAQ4OVoo0Y_92muU.cache +0 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JE/JEeGFNEKZ7yHGoaCYsjNP9S-VeasZ25_nIPhYMI2X_s.cache +1 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JK/JK0QHCRAZYDJ3NI9w39MDGiqLBTQ5NM-yIWUfyWqphQ.cache +3 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/KM/KMcOA-hCfuKtoew9CJP1Ao9tJOdcsHkqLFO84nmRRik.cache +3 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ks/Ksp8vhX3GOFRGspmclaLJsbsfQfOuMLng-PuTXKmHFg.cache +1 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Mr/MrTgaqLx7Tvgt1WzEHIJfis8109OaER_-OXj4XenR5o.cache +1 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NO/NOuDPNV5bOM9A1JAhr8rqvHIL2xoHktQp8W9kCY-nX4.cache +1 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Oa/Oa8ssvN58qLV-PrVzwgyA6P0XDLq6ANV6JwPesHne68.cache +1 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pd/PDppEJhkeH_7wfDFPnvviIy82OmRp4Z3f5bofhhahG0.cache +1 -0
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UG/UGUKHaW4DiFx1aZgMUpclbzKInIDVBd5f75rfkqDRd4.cache +0 -0
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/V8/V8lRDMBVYa46ewm0LS2r8_QMQTEfQu5rMz83pWEyEew.cache +0 -0
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VR/VRy2pXlNhDh2oyyqcWbhePZqveOIOtZZg1zxE89-908.cache +0 -0
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vv/Vvxdg4BbDphDHeOZiJmCNQK9QTEYogBkC7LNWoX68FU.cache +1 -0
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZR/zRPDg3_23PWibnx_w67lHwCKN6r1wBy7NW0yVsbaqa8.cache +1 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_c/_c6vHkRiVSAEPc1e9I0DFUU8AJWTDfe8nY_JZpyJFIw.cache +1 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bP/bPmqNkMb3ITDyy0kHFrRnXGX1L5opVOZS2R7dtWmQiY.cache +1 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cd/cd3cvAVA3o_f_CbdR0-Za1QaHdwfc-2skbbM7CmGkSg.cache +0 -0
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/d8/d8uy9gFpuu6Xd6xKC83h_5-MrHOmswknotnF8R51xDI.cache +1 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fh/fhO1XaxpZT7qTTVdu7LJ8dDvc6ZtPb53L-yvV4kBfos.cache +0 -0
  39. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gG/gGzYVeIZTKywhMKjVoVSxOfaIYPdQ6IP98oxzH6amAQ.cache +0 -0
  40. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jw/jw4asZ52LHDL7TyozcjjfztW6tODu9EeFxSEIB_xZRQ.cache +1 -0
  41. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kY/kYhYUPoCJkiWK3tdjmuubOGWfCVd3armi1xKwFxB-S0.cache +1 -0
  42. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/o4/o4Y9F2XU_uVXmdHbLHiTSqN0NE0piayqn2EwMN4yDgQ.cache +0 -0
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pM/pMho7L0-5H3OrxKc7DYsqrGwwa6nRk-SfXwHSvO4Q6Y.cache +3 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pS/pSn7_xcBTb9g7zJnqofcijXBpbK5OGhuIyw4u-A5zxU.cache +0 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pf/pfmspwVjkJfo5lX6DyFPXnDSy4xzUGxy_nf5bKhT6EQ.cache +3 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pi/piAFbQFXWNpALwoK80W-ktm0ovkSt4TgggoRZ5IklU4.cache +0 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ql/qlHQPSJ_cZC4yX65ae_2nr5A275B2NnQEqD7r6Kh5sU.cache +0 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/s0/s06U7dTbtH5bbEstUbc5oQKhgEbRWhvafPMvoy_QYpo.cache +1 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sG/sGN8D1y-i4ZCCgfHs6vcSF99pMpDTsfzIBRbnuqbH2c.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/so/sopi103sipEHlE7p3SCV0cekLiA0D8INEUiNrNSoK40.cache +1 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uW/uWpRXEIJzFMcsSUwp-Vu5QLS3vWbos65wsNMgWi-9k0.cache +0 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zD/zD3nxsMe3UFxFoV5-gI9RNqYHG3tEj737-irq20e6Fo.cache +1 -0
  53. data/vendor/assets/javascripts/plugin.js +9 -6
  54. metadata +80 -2
@@ -2969,3 +2969,1048 @@ Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
2969
2969
  SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-02-16 07:02:25.961738"], ["updated_at", "2018-02-16 07:02:25.961738"]]
2970
2970
   (0.0ms) RELEASE SAVEPOINT active_record_1
2971
2971
   (0.4ms) rollback transaction
2972
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2973
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2974
+  (0.0ms) begin transaction
2975
+  (0.0ms) SAVEPOINT active_record_1
2976
+  (0.4ms) SELECT MAX("items"."sort") FROM "items"
2977
+ SQL (1.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:23:23.872026"], ["updated_at", "2018-03-17 09:23:23.872026"], ["sort", 1]]
2978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2979
+  (0.6ms) rollback transaction
2980
+  (0.0ms) begin transaction
2981
+  (0.0ms) SAVEPOINT active_record_1
2982
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:23:23.884247"], ["updated_at", "2018-03-17 09:23:23.884247"]]
2983
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2984
+  (0.0ms) SAVEPOINT active_record_1
2985
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
2986
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:23:23.886045"], ["updated_at", "2018-03-17 09:23:23.886045"], ["sort", 1001]]
2987
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2988
+  (0.5ms) rollback transaction
2989
+  (0.0ms) begin transaction
2990
+  (0.0ms) SAVEPOINT active_record_1
2991
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:23:23.891443"], ["updated_at", "2018-03-17 09:23:23.891443"]]
2992
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2993
+  (0.4ms) rollback transaction
2994
+  (0.0ms) begin transaction
2995
+  (0.0ms) SAVEPOINT active_record_1
2996
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-03-17 09:23:23.893720"], ["updated_at", "2018-03-17 09:23:23.893720"]]
2997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2998
+  (0.0ms) SAVEPOINT active_record_1
2999
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:23.894920"], ["updated_at", "2018-03-17 09:23:23.894920"]]
3000
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3001
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
3002
+  (0.5ms) rollback transaction
3003
+  (0.0ms) begin transaction
3004
+  (0.0ms) SAVEPOINT active_record_1
3005
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3006
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:23:23.905613"], ["updated_at", "2018-03-17 09:23:23.905613"], ["sort", 1]]
3007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3008
+  (0.0ms) SAVEPOINT active_record_1
3009
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-03-17 09:23:23.913492"], ["id", 1]]
3010
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3011
+  (0.4ms) rollback transaction
3012
+  (0.0ms) begin transaction
3013
+  (0.0ms) SAVEPOINT active_record_1
3014
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3015
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:23:23.923098"], ["updated_at", "2018-03-17 09:23:23.923098"], ["sort", 1]]
3016
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3017
+  (0.0ms) SAVEPOINT active_record_1
3018
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
3019
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3020
+  (0.4ms) rollback transaction
3021
+  (0.0ms) begin transaction
3022
+  (0.0ms) SAVEPOINT active_record_1
3023
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
3024
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:23:23.928965"], ["updated_at", "2018-03-17 09:23:23.928965"], ["sequence", 1]]
3025
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3026
+  (0.4ms) rollback transaction
3027
+  (0.0ms) begin transaction
3028
+  (0.0ms) SAVEPOINT active_record_1
3029
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
3030
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:23:23.942342"], ["updated_at", "2018-03-17 09:23:23.942342"], ["sort", 1]]
3031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3032
+  (0.4ms) rollback transaction
3033
+  (0.1ms) begin transaction
3034
+  (0.1ms) rollback transaction
3035
+  (0.0ms) begin transaction
3036
+  (0.0ms) SAVEPOINT active_record_1
3037
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3038
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:23:23.961075"], ["updated_at", "2018-03-17 09:23:23.961075"], ["sort", 1]]
3039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3040
+  (0.0ms) SAVEPOINT active_record_1
3041
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3042
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:23:23.962381"], ["updated_at", "2018-03-17 09:23:23.962381"], ["sort", 2]]
3043
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3044
+  (0.0ms) SAVEPOINT active_record_1
3045
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3046
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:23:23.963298"], ["updated_at", "2018-03-17 09:23:23.963298"], ["sort", 3]]
3047
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3048
+ Processing by SortableController#reorder as HTML
3049
+ Parameters: {"Item"=>["1", "3", "2"]}
3050
+  (0.1ms) SAVEPOINT active_record_1
3051
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
3052
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 0], ["id", 1]]
3053
+ SQL (0.0ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1], ["id", 3]]
3054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3055
+ Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
3056
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
3057
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
3058
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
3059
+  (0.4ms) rollback transaction
3060
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3061
+  (0.0ms) begin transaction
3062
+  (0.0ms) SAVEPOINT active_record_1
3063
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3064
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:26.879456"], ["updated_at", "2018-03-17 09:23:26.879456"]]
3065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3066
+  (0.0ms) SAVEPOINT active_record_1
3067
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3068
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-03-17 09:23:26.881184"], ["updated_at", "2018-03-17 09:23:26.881184"]]
3069
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3070
+  (0.0ms) SAVEPOINT active_record_1
3071
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3072
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-03-17 09:23:26.882277"], ["updated_at", "2018-03-17 09:23:26.882277"]]
3073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3074
+ Processing by SortableController#reorder as HTML
3075
+ Parameters: {"Item"=>["1", "3", "2"]}
3076
+  (0.1ms) SAVEPOINT active_record_1
3077
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
3078
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-03-17 09:23:26.894817"], ["id", 1]]
3079
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-03-17 09:23:26.896128"], ["id", 3]]
3080
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3081
+ Completed 200 OK in 6ms (ActiveRecord: 0.5ms)
3082
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
3083
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
3084
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
3085
+  (0.4ms) rollback transaction
3086
+  (0.0ms) begin transaction
3087
+  (0.0ms) SAVEPOINT active_record_1
3088
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:23:26.900540"], ["updated_at", "2018-03-17 09:23:26.900540"]]
3089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3090
+  (0.4ms) rollback transaction
3091
+  (0.0ms) begin transaction
3092
+  (0.1ms) SAVEPOINT active_record_1
3093
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:23:26.902876"], ["updated_at", "2018-03-17 09:23:26.902876"]]
3094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3095
+  (0.0ms) SAVEPOINT active_record_1
3096
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3097
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-03-17 09:23:26.904244"], ["updated_at", "2018-03-17 09:23:26.904244"]]
3098
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3099
+  (0.4ms) rollback transaction
3100
+  (0.0ms) begin transaction
3101
+  (0.0ms) SAVEPOINT active_record_1
3102
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
3103
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-03-17 09:23:26.911451"], ["updated_at", "2018-03-17 09:23:26.911451"]]
3104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3105
+  (0.4ms) rollback transaction
3106
+  (0.0ms) begin transaction
3107
+  (0.0ms) SAVEPOINT active_record_1
3108
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3109
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:26.913981"], ["updated_at", "2018-03-17 09:23:26.913981"]]
3110
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3111
+  (0.0ms) SAVEPOINT active_record_1
3112
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
3113
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3114
+  (0.3ms) rollback transaction
3115
+  (0.0ms) begin transaction
3116
+  (0.0ms) SAVEPOINT active_record_1
3117
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3118
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:26.918577"], ["updated_at", "2018-03-17 09:23:26.918577"]]
3119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3120
+  (0.1ms) SAVEPOINT active_record_1
3121
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-03-17 09:23:26.920405"], ["id", 1]]
3122
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3123
+  (0.4ms) rollback transaction
3124
+  (0.0ms) begin transaction
3125
+  (0.0ms) SAVEPOINT active_record_1
3126
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3127
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:26.922769"], ["updated_at", "2018-03-17 09:23:26.922769"]]
3128
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3129
+  (0.3ms) rollback transaction
3130
+  (0.0ms) begin transaction
3131
+  (0.0ms) SAVEPOINT active_record_1
3132
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-03-17 09:23:26.926432"], ["updated_at", "2018-03-17 09:23:26.926432"]]
3133
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3134
+  (0.0ms) SAVEPOINT active_record_1
3135
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:26.927884"], ["updated_at", "2018-03-17 09:23:26.927884"]]
3136
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3137
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
3138
+  (0.3ms) rollback transaction
3139
+  (0.0ms) begin transaction
3140
+  (0.1ms) SAVEPOINT active_record_1
3141
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3142
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:26.932883"], ["updated_at", "2018-03-17 09:23:26.932883"]]
3143
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3144
+  (0.4ms) rollback transaction
3145
+  (0.0ms) begin transaction
3146
+  (0.1ms) rollback transaction
3147
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3148
+  (0.0ms) begin transaction
3149
+  (0.0ms) SAVEPOINT active_record_1
3150
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3151
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:28.620859"], ["updated_at", "2018-03-17 09:23:28.620859"]]
3152
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3153
+  (0.0ms) SAVEPOINT active_record_1
3154
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3155
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-03-17 09:23:28.622599"], ["updated_at", "2018-03-17 09:23:28.622599"]]
3156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3157
+  (0.0ms) SAVEPOINT active_record_1
3158
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3159
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-03-17 09:23:28.623636"], ["updated_at", "2018-03-17 09:23:28.623636"]]
3160
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3161
+ Processing by SortableController#reorder as HTML
3162
+ Parameters: {"Item"=>["1", "3", "2"]}
3163
+  (0.0ms) SAVEPOINT active_record_1
3164
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
3165
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-03-17 09:23:28.630036"], ["id", 1]]
3166
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-03-17 09:23:28.630822"], ["id", 3]]
3167
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3168
+ Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
3169
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
3170
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
3171
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
3172
+  (1.9ms) rollback transaction
3173
+  (0.0ms) begin transaction
3174
+  (0.0ms) SAVEPOINT active_record_1
3175
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:23:28.637777"], ["updated_at", "2018-03-17 09:23:28.637777"]]
3176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3177
+  (0.0ms) SAVEPOINT active_record_1
3178
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3179
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-03-17 09:23:28.638791"], ["updated_at", "2018-03-17 09:23:28.638791"]]
3180
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3181
+  (0.4ms) rollback transaction
3182
+  (0.1ms) begin transaction
3183
+  (0.1ms) SAVEPOINT active_record_1
3184
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:23:28.641724"], ["updated_at", "2018-03-17 09:23:28.641724"]]
3185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3186
+  (0.3ms) rollback transaction
3187
+  (0.0ms) begin transaction
3188
+  (0.0ms) SAVEPOINT active_record_1
3189
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3190
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:28.644074"], ["updated_at", "2018-03-17 09:23:28.644074"]]
3191
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3192
+  (0.0ms) SAVEPOINT active_record_1
3193
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
3194
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3195
+  (0.4ms) rollback transaction
3196
+  (0.0ms) begin transaction
3197
+  (0.0ms) SAVEPOINT active_record_1
3198
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3199
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:28.649025"], ["updated_at", "2018-03-17 09:23:28.649025"]]
3200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3201
+  (0.0ms) SAVEPOINT active_record_1
3202
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-03-17 09:23:28.650580"], ["id", 1]]
3203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3204
+  (0.3ms) rollback transaction
3205
+  (0.0ms) begin transaction
3206
+  (0.1ms) SAVEPOINT active_record_1
3207
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
3208
+ SQL (0.4ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-03-17 09:23:28.656815"], ["updated_at", "2018-03-17 09:23:28.656815"]]
3209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3210
+  (0.4ms) rollback transaction
3211
+  (0.0ms) begin transaction
3212
+  (0.0ms) SAVEPOINT active_record_1
3213
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3214
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:28.660416"], ["updated_at", "2018-03-17 09:23:28.660416"]]
3215
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3216
+  (0.3ms) rollback transaction
3217
+  (0.0ms) begin transaction
3218
+  (0.0ms) SAVEPOINT active_record_1
3219
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-03-17 09:23:28.664021"], ["updated_at", "2018-03-17 09:23:28.664021"]]
3220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3221
+  (0.0ms) SAVEPOINT active_record_1
3222
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:28.665056"], ["updated_at", "2018-03-17 09:23:28.665056"]]
3223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3224
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
3225
+  (0.3ms) rollback transaction
3226
+  (0.0ms) begin transaction
3227
+  (0.1ms) rollback transaction
3228
+  (0.0ms) begin transaction
3229
+  (0.0ms) SAVEPOINT active_record_1
3230
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3231
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:23:28.675373"], ["updated_at", "2018-03-17 09:23:28.675373"]]
3232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3233
+  (0.3ms) rollback transaction
3234
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3235
+  (0.0ms) begin transaction
3236
+  (0.0ms) SAVEPOINT active_record_1
3237
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
3238
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:27:57.148461"], ["updated_at", "2018-03-17 09:27:57.148461"], ["sequence", 1]]
3239
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3240
+  (0.7ms) rollback transaction
3241
+  (0.0ms) begin transaction
3242
+  (0.0ms) SAVEPOINT active_record_1
3243
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3244
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:27:57.155125"], ["updated_at", "2018-03-17 09:27:57.155125"], ["sort", 1]]
3245
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3246
+  (0.0ms) SAVEPOINT active_record_1
3247
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
3248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3249
+  (0.4ms) rollback transaction
3250
+  (0.0ms) begin transaction
3251
+  (0.1ms) SAVEPOINT active_record_1
3252
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3253
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:27:57.162121"], ["updated_at", "2018-03-17 09:27:57.162121"], ["sort", 1]]
3254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3255
+  (0.0ms) SAVEPOINT active_record_1
3256
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-03-17 09:27:57.163859"], ["id", 1]]
3257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3258
+  (0.2ms) rollback transaction
3259
+  (0.1ms) begin transaction
3260
+  (0.0ms) SAVEPOINT active_record_1
3261
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-03-17 09:27:57.166122"], ["updated_at", "2018-03-17 09:27:57.166122"]]
3262
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3263
+  (0.0ms) SAVEPOINT active_record_1
3264
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:27:57.167126"], ["updated_at", "2018-03-17 09:27:57.167126"]]
3265
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3266
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
3267
+  (0.3ms) rollback transaction
3268
+  (0.0ms) begin transaction
3269
+  (0.0ms) SAVEPOINT active_record_1
3270
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3271
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:27:57.170682"], ["updated_at", "2018-03-17 09:27:57.170682"], ["sort", 1]]
3272
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3273
+  (0.2ms) rollback transaction
3274
+  (0.0ms) begin transaction
3275
+  (0.0ms) SAVEPOINT active_record_1
3276
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:27:57.173163"], ["updated_at", "2018-03-17 09:27:57.173163"]]
3277
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3278
+  (0.0ms) SAVEPOINT active_record_1
3279
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3280
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:27:57.174051"], ["updated_at", "2018-03-17 09:27:57.174051"], ["sort", 1001]]
3281
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3282
+  (0.2ms) rollback transaction
3283
+  (0.0ms) begin transaction
3284
+  (0.0ms) SAVEPOINT active_record_1
3285
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:27:57.175953"], ["updated_at", "2018-03-17 09:27:57.175953"]]
3286
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3287
+  (0.2ms) rollback transaction
3288
+  (0.0ms) begin transaction
3289
+  (0.0ms) SAVEPOINT active_record_1
3290
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3291
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:27:57.179218"], ["updated_at", "2018-03-17 09:27:57.179218"], ["sort", 1]]
3292
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3293
+  (0.0ms) SAVEPOINT active_record_1
3294
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3295
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:27:57.180419"], ["updated_at", "2018-03-17 09:27:57.180419"], ["sort", 2]]
3296
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3297
+  (0.0ms) SAVEPOINT active_record_1
3298
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
3299
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:27:57.181716"], ["updated_at", "2018-03-17 09:27:57.181716"], ["sort", 3]]
3300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3301
+ Processing by SortableController#reorder as HTML
3302
+ Parameters: {"Item"=>["1", "3", "2"]}
3303
+  (0.1ms) SAVEPOINT active_record_1
3304
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
3305
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-03-17 09:27:57.186976"], ["id", 1]]
3306
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-03-17 09:27:57.187669"], ["id", 3]]
3307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3308
+ Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
3309
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
3310
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
3311
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
3312
+  (0.4ms) rollback transaction
3313
+  (0.0ms) begin transaction
3314
+  (0.0ms) SAVEPOINT active_record_1
3315
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3316
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:27:57.191159"], ["updated_at", "2018-03-17 09:27:57.191159"], ["sort", 1]]
3317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3318
+  (0.4ms) rollback transaction
3319
+  (0.0ms) begin transaction
3320
+  (0.0ms) rollback transaction
3321
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3322
+  (0.0ms) begin transaction
3323
+  (0.0ms) SAVEPOINT active_record_1
3324
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3325
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:27:58.828397"], ["updated_at", "2018-03-17 09:27:58.828397"]]
3326
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3327
+  (0.0ms) SAVEPOINT active_record_1
3328
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3329
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-03-17 09:27:58.830212"], ["updated_at", "2018-03-17 09:27:58.830212"]]
3330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3331
+  (0.0ms) SAVEPOINT active_record_1
3332
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3333
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-03-17 09:27:58.831247"], ["updated_at", "2018-03-17 09:27:58.831247"]]
3334
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3335
+ Processing by SortableController#reorder as HTML
3336
+ Parameters: {"Item"=>["1", "3", "2"]}
3337
+  (0.1ms) SAVEPOINT active_record_1
3338
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
3339
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-03-17 09:27:58.839798"], ["id", 1]]
3340
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-03-17 09:27:58.840617"], ["id", 3]]
3341
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3342
+ Completed 200 OK in 4ms (ActiveRecord: 0.5ms)
3343
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
3344
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
3345
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
3346
+  (0.6ms) rollback transaction
3347
+  (0.1ms) begin transaction
3348
+  (0.1ms) SAVEPOINT active_record_1
3349
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3350
+ SQL (0.6ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:27:58.846180"], ["updated_at", "2018-03-17 09:27:58.846180"]]
3351
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3352
+  (0.4ms) rollback transaction
3353
+  (0.1ms) begin transaction
3354
+  (0.1ms) SAVEPOINT active_record_1
3355
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
3356
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-03-17 09:27:58.857799"], ["updated_at", "2018-03-17 09:27:58.857799"]]
3357
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3358
+  (0.4ms) rollback transaction
3359
+  (0.0ms) begin transaction
3360
+  (0.0ms) SAVEPOINT active_record_1
3361
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3362
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:27:58.861618"], ["updated_at", "2018-03-17 09:27:58.861618"]]
3363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3364
+  (0.1ms) SAVEPOINT active_record_1
3365
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
3366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3367
+  (0.4ms) rollback transaction
3368
+  (0.0ms) begin transaction
3369
+  (0.1ms) SAVEPOINT active_record_1
3370
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3371
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:27:58.868615"], ["updated_at", "2018-03-17 09:27:58.868615"]]
3372
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3373
+  (0.0ms) SAVEPOINT active_record_1
3374
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-03-17 09:27:58.870567"], ["id", 1]]
3375
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3376
+  (0.5ms) rollback transaction
3377
+  (0.1ms) begin transaction
3378
+  (0.1ms) SAVEPOINT active_record_1
3379
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:27:58.873741"], ["updated_at", "2018-03-17 09:27:58.873741"]]
3380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3381
+  (0.3ms) rollback transaction
3382
+  (0.0ms) begin transaction
3383
+  (0.0ms) SAVEPOINT active_record_1
3384
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:27:58.876441"], ["updated_at", "2018-03-17 09:27:58.876441"]]
3385
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3386
+  (0.0ms) SAVEPOINT active_record_1
3387
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3388
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-03-17 09:27:58.877838"], ["updated_at", "2018-03-17 09:27:58.877838"]]
3389
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3390
+  (0.4ms) rollback transaction
3391
+  (0.0ms) begin transaction
3392
+  (0.0ms) SAVEPOINT active_record_1
3393
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-03-17 09:27:58.880690"], ["updated_at", "2018-03-17 09:27:58.880690"]]
3394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3395
+  (0.0ms) SAVEPOINT active_record_1
3396
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:27:58.882142"], ["updated_at", "2018-03-17 09:27:58.882142"]]
3397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3398
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
3399
+  (0.4ms) rollback transaction
3400
+  (0.0ms) begin transaction
3401
+  (0.1ms) rollback transaction
3402
+  (0.0ms) begin transaction
3403
+  (0.1ms) SAVEPOINT active_record_1
3404
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3405
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:27:58.893317"], ["updated_at", "2018-03-17 09:27:58.893317"]]
3406
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3407
+  (0.4ms) rollback transaction
3408
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3409
+  (0.1ms) begin transaction
3410
+  (0.0ms) SAVEPOINT active_record_1
3411
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3412
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:28:00.554475"], ["updated_at", "2018-03-17 09:28:00.554475"]]
3413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3414
+  (0.0ms) SAVEPOINT active_record_1
3415
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3416
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-03-17 09:28:00.556580"], ["updated_at", "2018-03-17 09:28:00.556580"]]
3417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3418
+  (0.0ms) SAVEPOINT active_record_1
3419
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3420
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-03-17 09:28:00.557625"], ["updated_at", "2018-03-17 09:28:00.557625"]]
3421
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3422
+ Processing by SortableController#reorder as HTML
3423
+ Parameters: {"Item"=>["1", "3", "2"]}
3424
+  (0.1ms) SAVEPOINT active_record_1
3425
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
3426
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-03-17 09:28:00.565832"], ["id", 1]]
3427
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-03-17 09:28:00.566720"], ["id", 3]]
3428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3429
+ Completed 200 OK in 4ms (ActiveRecord: 0.5ms)
3430
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
3431
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
3432
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
3433
+  (1.7ms) rollback transaction
3434
+  (0.0ms) begin transaction
3435
+  (0.0ms) SAVEPOINT active_record_1
3436
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:28:00.574364"], ["updated_at", "2018-03-17 09:28:00.574364"]]
3437
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3438
+  (0.4ms) rollback transaction
3439
+  (0.0ms) begin transaction
3440
+  (0.0ms) SAVEPOINT active_record_1
3441
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:28:00.576612"], ["updated_at", "2018-03-17 09:28:00.576612"]]
3442
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3443
+  (0.0ms) SAVEPOINT active_record_1
3444
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3445
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-03-17 09:28:00.577658"], ["updated_at", "2018-03-17 09:28:00.577658"]]
3446
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3447
+  (0.4ms) rollback transaction
3448
+  (0.0ms) begin transaction
3449
+  (0.0ms) SAVEPOINT active_record_1
3450
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3451
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:28:00.579860"], ["updated_at", "2018-03-17 09:28:00.579860"]]
3452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3453
+  (0.1ms) SAVEPOINT active_record_1
3454
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
3455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3456
+  (0.5ms) rollback transaction
3457
+  (0.1ms) begin transaction
3458
+  (0.0ms) SAVEPOINT active_record_1
3459
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3460
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:28:00.585793"], ["updated_at", "2018-03-17 09:28:00.585793"]]
3461
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3462
+  (0.0ms) SAVEPOINT active_record_1
3463
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-03-17 09:28:00.587345"], ["id", 1]]
3464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3465
+  (0.4ms) rollback transaction
3466
+  (0.0ms) begin transaction
3467
+  (0.0ms) SAVEPOINT active_record_1
3468
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
3469
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-03-17 09:28:00.593668"], ["updated_at", "2018-03-17 09:28:00.593668"]]
3470
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3471
+  (0.5ms) rollback transaction
3472
+  (0.0ms) begin transaction
3473
+  (0.0ms) SAVEPOINT active_record_1
3474
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3475
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:28:00.596659"], ["updated_at", "2018-03-17 09:28:00.596659"]]
3476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3477
+  (0.4ms) rollback transaction
3478
+  (0.1ms) begin transaction
3479
+  (0.1ms) SAVEPOINT active_record_1
3480
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-03-17 09:28:00.599894"], ["updated_at", "2018-03-17 09:28:00.599894"]]
3481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3482
+  (0.0ms) SAVEPOINT active_record_1
3483
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:28:00.601003"], ["updated_at", "2018-03-17 09:28:00.601003"]]
3484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3485
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
3486
+  (0.4ms) rollback transaction
3487
+  (0.0ms) begin transaction
3488
+  (0.1ms) rollback transaction
3489
+  (0.0ms) begin transaction
3490
+  (0.0ms) SAVEPOINT active_record_1
3491
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3492
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:28:00.610192"], ["updated_at", "2018-03-17 09:28:00.610192"]]
3493
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3494
+  (0.4ms) rollback transaction
3495
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3496
+  (0.1ms) begin transaction
3497
+  (0.0ms) SAVEPOINT active_record_1
3498
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3499
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:58:13.819546"], ["updated_at", "2018-03-17 09:58:13.819546"], ["sort", 1]]
3500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3501
+  (0.0ms) SAVEPOINT active_record_1
3502
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3503
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:58:13.821378"], ["updated_at", "2018-03-17 09:58:13.821378"], ["sort", 2]]
3504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3505
+  (0.0ms) SAVEPOINT active_record_1
3506
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3507
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:58:13.822299"], ["updated_at", "2018-03-17 09:58:13.822299"], ["sort", 3]]
3508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3509
+ Processing by SortableController#reorder as HTML
3510
+ Parameters: {"Item"=>["1", "3", "2"]}
3511
+  (0.0ms) SAVEPOINT active_record_1
3512
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
3513
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-03-17 09:58:13.827149"], ["id", 1]]
3514
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-03-17 09:58:13.828034"], ["id", 3]]
3515
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3516
+ Completed 200 OK in 4ms (ActiveRecord: 0.3ms)
3517
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
3518
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
3519
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
3520
+  (1.8ms) rollback transaction
3521
+  (0.0ms) begin transaction
3522
+  (0.0ms) SAVEPOINT active_record_1
3523
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3524
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:58:13.834096"], ["updated_at", "2018-03-17 09:58:13.834096"], ["sort", 1]]
3525
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3526
+  (0.4ms) rollback transaction
3527
+  (0.0ms) begin transaction
3528
+  (0.1ms) rollback transaction
3529
+  (0.0ms) begin transaction
3530
+  (0.0ms) SAVEPOINT active_record_1
3531
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-03-17 09:58:13.844371"], ["updated_at", "2018-03-17 09:58:13.844371"]]
3532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3533
+  (0.0ms) SAVEPOINT active_record_1
3534
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:13.845392"], ["updated_at", "2018-03-17 09:58:13.845392"]]
3535
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3536
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
3537
+  (0.5ms) rollback transaction
3538
+  (0.0ms) begin transaction
3539
+  (0.0ms) SAVEPOINT active_record_1
3540
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
3541
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:58:13.855117"], ["updated_at", "2018-03-17 09:58:13.855117"], ["sequence", 1]]
3542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3543
+  (0.4ms) rollback transaction
3544
+  (0.0ms) begin transaction
3545
+  (0.0ms) SAVEPOINT active_record_1
3546
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3547
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:58:13.858200"], ["updated_at", "2018-03-17 09:58:13.858200"], ["sort", 1]]
3548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3549
+  (0.1ms) SAVEPOINT active_record_1
3550
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-03-17 09:58:13.861417"], ["id", 1]]
3551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3552
+  (0.4ms) rollback transaction
3553
+  (0.0ms) begin transaction
3554
+  (0.0ms) SAVEPOINT active_record_1
3555
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3556
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:58:13.863256"], ["updated_at", "2018-03-17 09:58:13.863256"], ["sort", 1]]
3557
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3558
+  (0.0ms) SAVEPOINT active_record_1
3559
+ SQL (0.0ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
3560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3561
+  (0.3ms) rollback transaction
3562
+  (0.0ms) begin transaction
3563
+  (0.1ms) SAVEPOINT active_record_1
3564
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:58:13.866528"], ["updated_at", "2018-03-17 09:58:13.866528"]]
3565
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3566
+  (0.0ms) SAVEPOINT active_record_1
3567
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3568
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:58:13.868077"], ["updated_at", "2018-03-17 09:58:13.868077"], ["sort", 1001]]
3569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3570
+  (0.3ms) rollback transaction
3571
+  (0.0ms) begin transaction
3572
+  (0.0ms) SAVEPOINT active_record_1
3573
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:58:13.870126"], ["updated_at", "2018-03-17 09:58:13.870126"]]
3574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3575
+  (0.3ms) rollback transaction
3576
+  (0.0ms) begin transaction
3577
+  (0.0ms) SAVEPOINT active_record_1
3578
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3579
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 09:58:13.871991"], ["updated_at", "2018-03-17 09:58:13.871991"], ["sort", 1]]
3580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3581
+  (0.4ms) rollback transaction
3582
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3583
+  (0.1ms) begin transaction
3584
+  (0.0ms) rollback transaction
3585
+  (0.1ms) begin transaction
3586
+  (0.0ms) SAVEPOINT active_record_1
3587
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3588
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:15.565463"], ["updated_at", "2018-03-17 09:58:15.565463"]]
3589
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3590
+  (1.7ms) rollback transaction
3591
+  (0.0ms) begin transaction
3592
+  (0.0ms) SAVEPOINT active_record_1
3593
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3594
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:15.571007"], ["updated_at", "2018-03-17 09:58:15.571007"]]
3595
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3596
+  (0.0ms) SAVEPOINT active_record_1
3597
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3598
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-03-17 09:58:15.572455"], ["updated_at", "2018-03-17 09:58:15.572455"]]
3599
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3600
+  (0.0ms) SAVEPOINT active_record_1
3601
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3602
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-03-17 09:58:15.573823"], ["updated_at", "2018-03-17 09:58:15.573823"]]
3603
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3604
+ Processing by SortableController#reorder as HTML
3605
+ Parameters: {"Item"=>["1", "3", "2"]}
3606
+  (0.1ms) SAVEPOINT active_record_1
3607
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
3608
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-03-17 09:58:15.581689"], ["id", 1]]
3609
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-03-17 09:58:15.582562"], ["id", 3]]
3610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3611
+ Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
3612
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
3613
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
3614
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
3615
+  (0.5ms) rollback transaction
3616
+  (0.1ms) begin transaction
3617
+  (0.0ms) SAVEPOINT active_record_1
3618
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3619
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:15.587605"], ["updated_at", "2018-03-17 09:58:15.587605"]]
3620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3621
+  (0.3ms) rollback transaction
3622
+  (0.0ms) begin transaction
3623
+  (0.0ms) SAVEPOINT active_record_1
3624
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3625
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:15.590070"], ["updated_at", "2018-03-17 09:58:15.590070"]]
3626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3627
+  (0.1ms) SAVEPOINT active_record_1
3628
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-03-17 09:58:15.593334"], ["id", 1]]
3629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3630
+  (0.4ms) rollback transaction
3631
+  (0.0ms) begin transaction
3632
+  (0.0ms) SAVEPOINT active_record_1
3633
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3634
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:15.595642"], ["updated_at", "2018-03-17 09:58:15.595642"]]
3635
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3636
+  (0.0ms) SAVEPOINT active_record_1
3637
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
3638
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3639
+  (0.4ms) rollback transaction
3640
+  (0.0ms) begin transaction
3641
+  (0.1ms) SAVEPOINT active_record_1
3642
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
3643
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-03-17 09:58:15.604340"], ["updated_at", "2018-03-17 09:58:15.604340"]]
3644
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3645
+  (0.4ms) rollback transaction
3646
+  (0.0ms) begin transaction
3647
+  (0.0ms) SAVEPOINT active_record_1
3648
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-03-17 09:58:15.607011"], ["updated_at", "2018-03-17 09:58:15.607011"]]
3649
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3650
+  (0.0ms) SAVEPOINT active_record_1
3651
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:15.608379"], ["updated_at", "2018-03-17 09:58:15.608379"]]
3652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3653
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
3654
+  (0.4ms) rollback transaction
3655
+  (0.0ms) begin transaction
3656
+  (0.0ms) SAVEPOINT active_record_1
3657
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:58:15.613558"], ["updated_at", "2018-03-17 09:58:15.613558"]]
3658
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3659
+  (0.3ms) rollback transaction
3660
+  (0.0ms) begin transaction
3661
+  (0.0ms) SAVEPOINT active_record_1
3662
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:58:15.615601"], ["updated_at", "2018-03-17 09:58:15.615601"]]
3663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3664
+  (0.1ms) SAVEPOINT active_record_1
3665
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3666
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-03-17 09:58:15.616617"], ["updated_at", "2018-03-17 09:58:15.616617"]]
3667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3668
+  (0.4ms) rollback transaction
3669
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3670
+  (0.0ms) begin transaction
3671
+  (0.0ms) rollback transaction
3672
+  (0.0ms) begin transaction
3673
+  (0.0ms) SAVEPOINT active_record_1
3674
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3675
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:17.279681"], ["updated_at", "2018-03-17 09:58:17.279681"]]
3676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3677
+  (0.4ms) rollback transaction
3678
+  (0.0ms) begin transaction
3679
+  (0.0ms) SAVEPOINT active_record_1
3680
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3681
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:17.283660"], ["updated_at", "2018-03-17 09:58:17.283660"]]
3682
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3683
+  (0.0ms) SAVEPOINT active_record_1
3684
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3685
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-03-17 09:58:17.285098"], ["updated_at", "2018-03-17 09:58:17.285098"]]
3686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3687
+  (0.0ms) SAVEPOINT active_record_1
3688
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3689
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-03-17 09:58:17.286249"], ["updated_at", "2018-03-17 09:58:17.286249"]]
3690
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3691
+ Processing by SortableController#reorder as HTML
3692
+ Parameters: {"Item"=>["1", "3", "2"]}
3693
+  (0.0ms) SAVEPOINT active_record_1
3694
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
3695
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-03-17 09:58:17.293096"], ["id", 1]]
3696
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-03-17 09:58:17.294618"], ["id", 3]]
3697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3698
+ Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
3699
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
3700
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
3701
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
3702
+  (0.5ms) rollback transaction
3703
+  (0.0ms) begin transaction
3704
+  (0.0ms) SAVEPOINT active_record_1
3705
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
3706
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-03-17 09:58:17.302568"], ["updated_at", "2018-03-17 09:58:17.302568"]]
3707
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3708
+  (0.5ms) rollback transaction
3709
+  (0.0ms) begin transaction
3710
+  (0.1ms) SAVEPOINT active_record_1
3711
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3712
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:17.306022"], ["updated_at", "2018-03-17 09:58:17.306022"]]
3713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3714
+  (0.0ms) SAVEPOINT active_record_1
3715
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
3716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3717
+  (0.5ms) rollback transaction
3718
+  (0.0ms) begin transaction
3719
+  (0.1ms) SAVEPOINT active_record_1
3720
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3721
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:17.311761"], ["updated_at", "2018-03-17 09:58:17.311761"]]
3722
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3723
+  (0.0ms) SAVEPOINT active_record_1
3724
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-03-17 09:58:17.312986"], ["id", 1]]
3725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3726
+  (0.5ms) rollback transaction
3727
+  (0.0ms) begin transaction
3728
+  (0.0ms) SAVEPOINT active_record_1
3729
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3730
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:17.315163"], ["updated_at", "2018-03-17 09:58:17.315163"]]
3731
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3732
+  (0.4ms) rollback transaction
3733
+  (0.0ms) begin transaction
3734
+  (0.0ms) SAVEPOINT active_record_1
3735
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-03-17 09:58:17.317969"], ["updated_at", "2018-03-17 09:58:17.317969"]]
3736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3737
+  (0.0ms) SAVEPOINT active_record_1
3738
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 09:58:17.319158"], ["updated_at", "2018-03-17 09:58:17.319158"]]
3739
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3740
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
3741
+  (0.4ms) rollback transaction
3742
+  (0.0ms) begin transaction
3743
+  (0.0ms) SAVEPOINT active_record_1
3744
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:58:17.324773"], ["updated_at", "2018-03-17 09:58:17.324773"]]
3745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3746
+  (0.4ms) rollback transaction
3747
+  (0.0ms) begin transaction
3748
+  (0.0ms) SAVEPOINT active_record_1
3749
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 09:58:17.326987"], ["updated_at", "2018-03-17 09:58:17.326987"]]
3750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3751
+  (0.0ms) SAVEPOINT active_record_1
3752
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3753
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-03-17 09:58:17.328289"], ["updated_at", "2018-03-17 09:58:17.328289"]]
3754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3755
+  (0.5ms) rollback transaction
3756
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3757
+  (0.0ms) begin transaction
3758
+  (0.0ms) SAVEPOINT active_record_1
3759
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3760
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 10:22:22.060855"], ["updated_at", "2018-03-17 10:22:22.060855"], ["sort", 1]]
3761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3762
+  (0.0ms) SAVEPOINT active_record_1
3763
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
3764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3765
+  (0.6ms) rollback transaction
3766
+  (0.0ms) begin transaction
3767
+  (0.0ms) SAVEPOINT active_record_1
3768
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3769
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 10:22:22.068717"], ["updated_at", "2018-03-17 10:22:22.068717"], ["sort", 1]]
3770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3771
+  (0.0ms) SAVEPOINT active_record_1
3772
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-03-17 10:22:22.069978"], ["id", 1]]
3773
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3774
+  (0.3ms) rollback transaction
3775
+  (0.0ms) begin transaction
3776
+  (0.1ms) SAVEPOINT active_record_1
3777
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
3778
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-03-17 10:22:22.075139"], ["updated_at", "2018-03-17 10:22:22.075139"], ["sequence", 1]]
3779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3780
+  (0.9ms) rollback transaction
3781
+  (0.0ms) begin transaction
3782
+  (0.0ms) SAVEPOINT active_record_1
3783
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3784
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 10:22:22.079567"], ["updated_at", "2018-03-17 10:22:22.079567"], ["sort", 1]]
3785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3786
+  (0.4ms) rollback transaction
3787
+  (0.0ms) begin transaction
3788
+  (0.0ms) SAVEPOINT active_record_1
3789
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 10:22:22.082528"], ["updated_at", "2018-03-17 10:22:22.082528"]]
3790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3791
+  (0.4ms) rollback transaction
3792
+  (0.0ms) begin transaction
3793
+  (0.0ms) SAVEPOINT active_record_1
3794
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 10:22:22.084766"], ["updated_at", "2018-03-17 10:22:22.084766"]]
3795
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3796
+  (0.0ms) SAVEPOINT active_record_1
3797
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3798
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 10:22:22.085779"], ["updated_at", "2018-03-17 10:22:22.085779"], ["sort", 1001]]
3799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3800
+  (0.4ms) rollback transaction
3801
+  (0.0ms) begin transaction
3802
+  (0.0ms) SAVEPOINT active_record_1
3803
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-03-17 10:22:22.087855"], ["updated_at", "2018-03-17 10:22:22.087855"]]
3804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3805
+  (0.0ms) SAVEPOINT active_record_1
3806
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:22.088764"], ["updated_at", "2018-03-17 10:22:22.088764"]]
3807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3808
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
3809
+  (0.3ms) rollback transaction
3810
+  (0.1ms) begin transaction
3811
+  (0.0ms) SAVEPOINT active_record_1
3812
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3813
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 10:22:22.095124"], ["updated_at", "2018-03-17 10:22:22.095124"], ["sort", 1]]
3814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3815
+  (0.1ms) SAVEPOINT active_record_1
3816
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3817
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 10:22:22.096535"], ["updated_at", "2018-03-17 10:22:22.096535"], ["sort", 2]]
3818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3819
+  (0.0ms) SAVEPOINT active_record_1
3820
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3821
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 10:22:22.098167"], ["updated_at", "2018-03-17 10:22:22.098167"], ["sort", 3]]
3822
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3823
+ Processing by SortableController#reorder as HTML
3824
+ Parameters: {"Item"=>["1", "3", "2"]}
3825
+  (0.0ms) SAVEPOINT active_record_1
3826
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
3827
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-03-17 10:22:22.101771"], ["id", 1]]
3828
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-03-17 10:22:22.102373"], ["id", 3]]
3829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3830
+ Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
3831
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
3832
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
3833
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
3834
+  (0.6ms) rollback transaction
3835
+  (0.0ms) begin transaction
3836
+  (0.2ms) rollback transaction
3837
+  (0.0ms) begin transaction
3838
+  (0.0ms) SAVEPOINT active_record_1
3839
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3840
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-03-17 10:22:22.113688"], ["updated_at", "2018-03-17 10:22:22.113688"], ["sort", 1]]
3841
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3842
+  (0.4ms) rollback transaction
3843
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3844
+  (0.0ms) begin transaction
3845
+  (0.0ms) SAVEPOINT active_record_1
3846
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3847
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:23.762949"], ["updated_at", "2018-03-17 10:22:23.762949"]]
3848
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3849
+  (1.7ms) rollback transaction
3850
+  (0.0ms) begin transaction
3851
+  (0.0ms) rollback transaction
3852
+  (0.0ms) begin transaction
3853
+  (0.0ms) SAVEPOINT active_record_1
3854
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-03-17 10:22:23.771571"], ["updated_at", "2018-03-17 10:22:23.771571"]]
3855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3856
+  (0.0ms) SAVEPOINT active_record_1
3857
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:23.772620"], ["updated_at", "2018-03-17 10:22:23.772620"]]
3858
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3859
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
3860
+  (0.4ms) rollback transaction
3861
+  (0.0ms) begin transaction
3862
+  (0.1ms) SAVEPOINT active_record_1
3863
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3864
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:23.777954"], ["updated_at", "2018-03-17 10:22:23.777954"]]
3865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3866
+  (0.4ms) rollback transaction
3867
+  (0.0ms) begin transaction
3868
+  (0.0ms) SAVEPOINT active_record_1
3869
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
3870
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-03-17 10:22:23.785792"], ["updated_at", "2018-03-17 10:22:23.785792"]]
3871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3872
+  (0.3ms) rollback transaction
3873
+  (0.0ms) begin transaction
3874
+  (0.0ms) SAVEPOINT active_record_1
3875
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3876
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:23.789055"], ["updated_at", "2018-03-17 10:22:23.789055"]]
3877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3878
+  (0.0ms) SAVEPOINT active_record_1
3879
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
3880
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3881
+  (0.5ms) rollback transaction
3882
+  (0.1ms) begin transaction
3883
+  (0.1ms) SAVEPOINT active_record_1
3884
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3885
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:23.795366"], ["updated_at", "2018-03-17 10:22:23.795366"]]
3886
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3887
+  (0.0ms) SAVEPOINT active_record_1
3888
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-03-17 10:22:23.797008"], ["id", 1]]
3889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3890
+  (1.0ms) rollback transaction
3891
+  (0.0ms) begin transaction
3892
+  (0.0ms) SAVEPOINT active_record_1
3893
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 10:22:23.799923"], ["updated_at", "2018-03-17 10:22:23.799923"]]
3894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3895
+  (0.3ms) rollback transaction
3896
+  (0.0ms) begin transaction
3897
+  (0.0ms) SAVEPOINT active_record_1
3898
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 10:22:23.801969"], ["updated_at", "2018-03-17 10:22:23.801969"]]
3899
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3900
+  (0.0ms) SAVEPOINT active_record_1
3901
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3902
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-03-17 10:22:23.802973"], ["updated_at", "2018-03-17 10:22:23.802973"]]
3903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3904
+  (0.3ms) rollback transaction
3905
+  (0.0ms) begin transaction
3906
+  (0.0ms) SAVEPOINT active_record_1
3907
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3908
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:23.805460"], ["updated_at", "2018-03-17 10:22:23.805460"]]
3909
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3910
+  (0.0ms) SAVEPOINT active_record_1
3911
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3912
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-03-17 10:22:23.806814"], ["updated_at", "2018-03-17 10:22:23.806814"]]
3913
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3914
+  (0.1ms) SAVEPOINT active_record_1
3915
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3916
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-03-17 10:22:23.807861"], ["updated_at", "2018-03-17 10:22:23.807861"]]
3917
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3918
+ Processing by SortableController#reorder as HTML
3919
+ Parameters: {"Item"=>["1", "3", "2"]}
3920
+  (0.1ms) SAVEPOINT active_record_1
3921
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
3922
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-03-17 10:22:23.815224"], ["id", 1]]
3923
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-03-17 10:22:23.815846"], ["id", 3]]
3924
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3925
+ Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
3926
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
3927
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
3928
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
3929
+  (0.4ms) rollback transaction
3930
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3931
+  (0.0ms) begin transaction
3932
+  (0.0ms) SAVEPOINT active_record_1
3933
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3934
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:25.500771"], ["updated_at", "2018-03-17 10:22:25.500771"]]
3935
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3936
+  (0.8ms) rollback transaction
3937
+  (0.0ms) begin transaction
3938
+  (0.0ms) rollback transaction
3939
+  (0.0ms) begin transaction
3940
+  (0.0ms) SAVEPOINT active_record_1
3941
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3942
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:25.508541"], ["updated_at", "2018-03-17 10:22:25.508541"]]
3943
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3944
+  (0.0ms) SAVEPOINT active_record_1
3945
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3946
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-03-17 10:22:25.510015"], ["updated_at", "2018-03-17 10:22:25.510015"]]
3947
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3948
+  (0.0ms) SAVEPOINT active_record_1
3949
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3950
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-03-17 10:22:25.511200"], ["updated_at", "2018-03-17 10:22:25.511200"]]
3951
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3952
+ Processing by SortableController#reorder as HTML
3953
+ Parameters: {"Item"=>["1", "3", "2"]}
3954
+  (0.0ms) SAVEPOINT active_record_1
3955
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
3956
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-03-17 10:22:25.519321"], ["id", 1]]
3957
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-03-17 10:22:25.520077"], ["id", 3]]
3958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3959
+ Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
3960
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
3961
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
3962
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
3963
+  (0.5ms) rollback transaction
3964
+  (0.0ms) begin transaction
3965
+  (0.0ms) SAVEPOINT active_record_1
3966
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-03-17 10:22:25.524278"], ["updated_at", "2018-03-17 10:22:25.524278"]]
3967
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3968
+  (0.0ms) SAVEPOINT active_record_1
3969
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:25.525410"], ["updated_at", "2018-03-17 10:22:25.525410"]]
3970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3971
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
3972
+  (0.4ms) rollback transaction
3973
+  (0.0ms) begin transaction
3974
+  (0.0ms) SAVEPOINT active_record_1
3975
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 10:22:25.531374"], ["updated_at", "2018-03-17 10:22:25.531374"]]
3976
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3977
+  (0.4ms) rollback transaction
3978
+  (0.0ms) begin transaction
3979
+  (0.0ms) SAVEPOINT active_record_1
3980
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-03-17 10:22:25.533741"], ["updated_at", "2018-03-17 10:22:25.533741"]]
3981
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3982
+  (0.0ms) SAVEPOINT active_record_1
3983
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
3984
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-03-17 10:22:25.535027"], ["updated_at", "2018-03-17 10:22:25.535027"]]
3985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3986
+  (0.4ms) rollback transaction
3987
+  (0.1ms) begin transaction
3988
+  (0.0ms) SAVEPOINT active_record_1
3989
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
3990
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-03-17 10:22:25.542834"], ["updated_at", "2018-03-17 10:22:25.542834"]]
3991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3992
+  (0.4ms) rollback transaction
3993
+  (0.1ms) begin transaction
3994
+  (0.1ms) SAVEPOINT active_record_1
3995
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
3996
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:25.547137"], ["updated_at", "2018-03-17 10:22:25.547137"]]
3997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3998
+  (0.0ms) SAVEPOINT active_record_1
3999
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-03-17 10:22:25.550422"], ["id", 1]]
4000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4001
+  (0.4ms) rollback transaction
4002
+  (0.0ms) begin transaction
4003
+  (0.0ms) SAVEPOINT active_record_1
4004
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4005
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:25.553179"], ["updated_at", "2018-03-17 10:22:25.553179"]]
4006
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4007
+  (0.0ms) SAVEPOINT active_record_1
4008
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
4009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4010
+  (0.3ms) rollback transaction
4011
+  (0.0ms) begin transaction
4012
+  (0.0ms) SAVEPOINT active_record_1
4013
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4014
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-03-17 10:22:25.556465"], ["updated_at", "2018-03-17 10:22:25.556465"]]
4015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4016
+  (0.3ms) rollback transaction