rails_sortable 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/sortable_controller.rb +4 -3
  3. data/lib/rails_sortable/version.rb +1 -1
  4. data/spec/controllers/sortable_controller_spec.rb +2 -2
  5. data/spec/dummy/db/development.sqlite3 +0 -0
  6. data/spec/dummy/log/development.log +835 -0
  7. data/spec/dummy/log/test.log +1025 -0
  8. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/01/01R-s_WCfie5NOUCgzCRAa1HGSgrRGzSWOC_m6QKtDs.cache +0 -0
  9. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0C/0CSZvbvyMRBgG6qOaNyldbOa0BC8Z6Hl-Gsc4eRLOOU.cache +3 -0
  10. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0s/0sKu42gh2vBaPvT4isoyz1C5n3QsEH9XYKbdz33ynp0.cache +0 -0
  11. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2m/2mYWSxzZ3mr-W-zj_QlMzUVhXAc6K5n_mxuhfVPKeRk.cache +1 -0
  12. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2n/2noyLPdhyYrTOf9E_xx-j1-l2o0D4xIKefkU2_2zuSw.cache +1 -0
  13. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3Z/3ZmFVd37_er9xacTdpDVrru3pqqONv7oiLoa5jumXMA.cache +1 -0
  14. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5D/5D4vKn0nXiZFypoQ88UVWACwMPmNEtPoizlnlf5a3KE.cache +0 -0
  15. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8q/8qL2VWqjLsK-3Th2nChJt0rmn86ayYoXXljxNwr6boA.cache +1 -0
  16. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/95/95wFhe664F63WUSzEhsVvTZSomnmA29bQqRzCuqUw80.cache +1 -0
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9o/9oVNtnLWwqQb7TmD8FpMip1dkKF6-5Vv_ZgkxMiCsSg.cache +1 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ac/ACjjatYt7SSchzTFuzSgpHU4aH76Y0BEFicjyejYRRo.cache +1 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BJ/bjVQEFR5R1N_JWucAuDUty6laM2DRjj0_RMZu9SYDvA.cache +0 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bq/BqpRHlLIR78Mve0JYwWNBqMMqFDayfalTJQYgjiM9qM.cache +0 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Br/BrcgfO216aBCp02p1z62HHiagAlHNyLgZJO0x-qFmzY.cache +1 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bz/BzlgWWh3KsQ2JEqmmrJN5zzF2kzeFk6banY43og-jco.cache +0 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cg/Cg032mB5wsCJc7M9PJYtX8kW2rme7nDs2NfqRMU_Kag.cache +1 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cv/CvnZzjVTprKQs9En8yNOqFZb8PbjTdhGHDTUA759Jdg.cache +1 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GY/GYPawP__JY6VU09QGlK0uX8tBEMxoF0ruW15q2_urco.cache +1 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCV17aj9PDQvsltkt1vtlC4Pi97LUK70iUjju-aeY4U.cache +1 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HF/HFuNhzNZA5ILxIzWi2wxnZ_uEYPrAQ4OVoo0Y_92muU.cache +0 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JK/jK6RVDyZCJVp-tGbxpa6CenvbY-RVAZE6JA6fCCBGwY.cache +1 -0
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/L4/L4tqqx-yJoztIjoGXHSy-NvkI8VW65QKMxETt-QnRXk.cache +0 -0
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Lu/LuT9MVCevd9cnJyM-rnFODC6fmZlQCo6sbB-oOYo32o.cache +0 -0
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NJ/NJPKulTTVml31dAHvlNlvTSmc67dd1-khPdXxd-BV-g.cache +0 -0
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NO/NOFsgdG9JHvxaTdETOIM03FC4zJSLMNaRYMqzJD-PK0.cache +1 -0
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ph/PhVnF8dSHdYPZAh-rGDzubSJJQ15B8LYWAmbT_Ayg0I.cache +1 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qi/QiqRtgYYt80Fdiy7_p9KG5epgz0iScb6d3ggvZ9ou8E.cache +1 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qx/Qx762cihrWGbxDFPg0J0Ty3XRyawIkiYNfkOa1rdjvg.cache +3 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Rm/RmvX8mn3Y70pTR3IdOxE8mQsk-o8YnIKsmhxamYuhuA.cache +1 -0
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wf/WfSpDqLVIBRLs7zN4EaLvO5gZwP1gDZ-vhVlSV5Nuzc.cache +0 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Xt/Xtbc0qIZ56U3len-pJqUpGyz5orhqIh4f4NCwhIZOM8.cache +1 -0
  39. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zb/ZbaWLp8-uhTLC-bZtsNyzAKzsHNiUMTQ8TR7cm1f2Ts.cache +0 -0
  40. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_u/_ucBCVho_GH8mpAYEMEbO1mdZJA-0utvol1cThSZTRg.cache +0 -0
  41. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/em/emP_P5yEj_Ci8tJ6_ddcLEs7tM8AvTDbABXxxYpMdPw.cache +1 -0
  42. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gO/gO19bm9njX8eGJ2fzPGIjFDbzQPo1xtL9t8UdNCiFkU.cache +1 -0
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/h-/h-paFtnuvuXCitlu9RkKwtd01wTZ85uFXdeuWbAKkfA.cache +1 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/h7/h7PdJc7WD_pMR3zsy0unfpLJ5eaQXdEs2-6tZOTDqxo.cache +0 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iV/iV3fh6WxdwfEgGkB2pwMRA_SCCQvc-m2qajISsYI0CA.cache +0 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iq/iq2GtOhe61su4HU3HYmCgHdNZ-oYdbfXcEDLakPZ8rU.cache +1 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iy/iyfidHeD50i9-agD3MGfxD7S8YHAfdRGFr5ibIu4ut4.cache +1 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lZ/lZgZiiAsBaoL4Jp113upgQKw_CZ-tmIAJ7cwdBkVgA4.cache +3 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ns/nSNxLfPPOsSygihx5Va1O0nHBvrYNBLgAw3mUfS-MiU.cache +1 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oI/oIl3ZhCKx-9NoH-O5mvEaaKJle-PHumtCuLCQxIlK28.cache +0 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oZ/oZoFF5k22C6pdrJDUhnQZw0Un1VAYs5L3ndYNW3_3nA.cache +3 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ok/ok_mqE9G9QoEC0-Zt5o6oGpAaFsYyKfqMav5MnTsX6I.cache +0 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/p4/p4dmucZ_zwAKtbHzWvqAkxxoba_Bj4sGSYK6O88Uc70.cache +0 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qw/qwryXXP-w0d2pH8QRB8kapqCk8848jEsMfAK6Zi2Ch0.cache +0 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vy/vyLWTgfRnLmx9FzyEV6eZXeJ5tvpiMp-TpRYwiMgmH4.cache +1 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wM/wMbVYWswUofRkOXJoKjSGFmk5Aupumk4F3LxgCivI88.cache +3 -0
  57. data/vendor/assets/javascripts/plugin.js +9 -1
  58. metadata +99 -3
@@ -4014,3 +4014,1028 @@ Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
4014
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
4015
   (0.0ms) RELEASE SAVEPOINT active_record_1
4016
4016
   (0.3ms) rollback transaction
4017
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4018
+  (0.0ms) begin transaction
4019
+  (0.0ms) SAVEPOINT active_record_1
4020
+  (0.6ms) SELECT MAX("items"."sort") FROM "items"
4021
+ SQL (0.8ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:05.056241"], ["updated_at", "2018-04-27 05:21:05.056241"], ["sort", 1]]
4022
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4023
+  (0.4ms) rollback transaction
4024
+  (0.0ms) begin transaction
4025
+  (0.0ms) SAVEPOINT active_record_1
4026
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 05:21:05.062149"], ["updated_at", "2018-04-27 05:21:05.062149"]]
4027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4028
+  (0.0ms) SAVEPOINT active_record_1
4029
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4030
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:05.063200"], ["updated_at", "2018-04-27 05:21:05.063200"], ["sort", 1001]]
4031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4032
+  (0.4ms) rollback transaction
4033
+  (0.0ms) begin transaction
4034
+  (0.0ms) SAVEPOINT active_record_1
4035
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 05:21:05.065710"], ["updated_at", "2018-04-27 05:21:05.065710"]]
4036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4037
+  (0.4ms) rollback transaction
4038
+  (0.0ms) begin transaction
4039
+  (0.1ms) SAVEPOINT active_record_1
4040
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
4041
+ SQL (0.4ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:05.072251"], ["updated_at", "2018-04-27 05:21:05.072251"], ["sequence", 1]]
4042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4043
+  (0.3ms) rollback transaction
4044
+  (0.1ms) begin transaction
4045
+  (0.0ms) SAVEPOINT active_record_1
4046
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4047
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:05.077174"], ["updated_at", "2018-04-27 05:21:05.077174"], ["sort", 1]]
4048
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4049
+  (0.0ms) SAVEPOINT active_record_1
4050
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
4051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4052
+  (0.4ms) rollback transaction
4053
+  (0.0ms) begin transaction
4054
+  (0.0ms) SAVEPOINT active_record_1
4055
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4056
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:05.083600"], ["updated_at", "2018-04-27 05:21:05.083600"], ["sort", 1]]
4057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4058
+  (0.0ms) SAVEPOINT active_record_1
4059
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 05:21:05.085295"], ["id", 1]]
4060
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4061
+  (0.4ms) rollback transaction
4062
+  (0.1ms) begin transaction
4063
+  (0.0ms) SAVEPOINT active_record_1
4064
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 05:21:05.087491"], ["updated_at", "2018-04-27 05:21:05.087491"]]
4065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4066
+  (0.0ms) SAVEPOINT active_record_1
4067
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:05.088806"], ["updated_at", "2018-04-27 05:21:05.088806"]]
4068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4069
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4070
+  (0.7ms) rollback transaction
4071
+  (0.0ms) begin transaction
4072
+  (0.0ms) SAVEPOINT active_record_1
4073
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4074
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:05.097346"], ["updated_at", "2018-04-27 05:21:05.097346"], ["sort", 1]]
4075
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4076
+  (0.3ms) rollback transaction
4077
+  (0.0ms) begin transaction
4078
+  (0.0ms) rollback transaction
4079
+  (0.1ms) begin transaction
4080
+  (0.1ms) SAVEPOINT active_record_1
4081
+  (0.4ms) SELECT MAX("items"."sort") FROM "items"
4082
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:05.107440"], ["updated_at", "2018-04-27 05:21:05.107440"], ["sort", 1]]
4083
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4084
+  (0.0ms) SAVEPOINT active_record_1
4085
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4086
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:05.110425"], ["updated_at", "2018-04-27 05:21:05.110425"], ["sort", 2]]
4087
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4088
+  (0.0ms) SAVEPOINT active_record_1
4089
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4090
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:05.112344"], ["updated_at", "2018-04-27 05:21:05.112344"], ["sort", 3]]
4091
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4092
+ Processing by SortableController#reorder as HTML
4093
+ Parameters: {"Item"=>["1", "3", "2"]}
4094
+  (0.0ms) SAVEPOINT active_record_1
4095
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
4096
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 05:21:05.115599"], ["id", 1]]
4097
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 05:21:05.116167"], ["id", 3]]
4098
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4099
+ Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
4100
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
4101
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
4102
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
4103
+  (0.4ms) rollback transaction
4104
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4105
+  (0.0ms) begin transaction
4106
+  (0.0ms) rollback transaction
4107
+  (0.1ms) begin transaction
4108
+  (0.0ms) SAVEPOINT active_record_1
4109
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4110
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:06.681167"], ["updated_at", "2018-04-27 05:21:06.681167"]]
4111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4112
+  (1.7ms) rollback transaction
4113
+  (0.1ms) begin transaction
4114
+  (0.0ms) SAVEPOINT active_record_1
4115
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4116
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:06.686908"], ["updated_at", "2018-04-27 05:21:06.686908"]]
4117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4118
+  (0.0ms) SAVEPOINT active_record_1
4119
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4120
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 05:21:06.688675"], ["updated_at", "2018-04-27 05:21:06.688675"]]
4121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4122
+  (0.0ms) SAVEPOINT active_record_1
4123
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4124
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 05:21:06.689794"], ["updated_at", "2018-04-27 05:21:06.689794"]]
4125
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4126
+ Processing by SortableController#reorder as HTML
4127
+ Parameters: {"Item"=>["1", "3", "2"]}
4128
+  (0.1ms) SAVEPOINT active_record_1
4129
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
4130
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 05:21:06.699769"], ["id", 1]]
4131
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 05:21:06.701097"], ["id", 3]]
4132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4133
+ Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
4134
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
4135
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
4136
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
4137
+  (0.6ms) rollback transaction
4138
+  (0.0ms) begin transaction
4139
+  (0.0ms) SAVEPOINT active_record_1
4140
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 05:21:06.708008"], ["updated_at", "2018-04-27 05:21:06.708008"]]
4141
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4142
+  (0.0ms) SAVEPOINT active_record_1
4143
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:06.709323"], ["updated_at", "2018-04-27 05:21:06.709323"]]
4144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4145
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4146
+  (0.4ms) rollback transaction
4147
+  (0.1ms) begin transaction
4148
+  (0.1ms) SAVEPOINT active_record_1
4149
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 05:21:06.716342"], ["updated_at", "2018-04-27 05:21:06.716342"]]
4150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4151
+  (0.0ms) SAVEPOINT active_record_1
4152
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4153
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 05:21:06.717916"], ["updated_at", "2018-04-27 05:21:06.717916"]]
4154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4155
+  (0.3ms) rollback transaction
4156
+  (0.0ms) begin transaction
4157
+  (0.1ms) SAVEPOINT active_record_1
4158
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 05:21:06.721309"], ["updated_at", "2018-04-27 05:21:06.721309"]]
4159
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4160
+  (0.3ms) rollback transaction
4161
+  (0.1ms) begin transaction
4162
+  (0.1ms) SAVEPOINT active_record_1
4163
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
4164
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 05:21:06.731521"], ["updated_at", "2018-04-27 05:21:06.731521"]]
4165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4166
+  (0.3ms) rollback transaction
4167
+  (0.0ms) begin transaction
4168
+  (0.0ms) SAVEPOINT active_record_1
4169
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4170
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:06.734446"], ["updated_at", "2018-04-27 05:21:06.734446"]]
4171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4172
+  (0.1ms) SAVEPOINT active_record_1
4173
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 05:21:06.737714"], ["id", 1]]
4174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4175
+  (0.4ms) rollback transaction
4176
+  (0.0ms) begin transaction
4177
+  (0.1ms) SAVEPOINT active_record_1
4178
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4179
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:06.740468"], ["updated_at", "2018-04-27 05:21:06.740468"]]
4180
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4181
+  (0.0ms) SAVEPOINT active_record_1
4182
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
4183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4184
+  (0.7ms) rollback transaction
4185
+  (0.1ms) begin transaction
4186
+  (0.1ms) SAVEPOINT active_record_1
4187
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4188
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:06.745294"], ["updated_at", "2018-04-27 05:21:06.745294"]]
4189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4190
+  (0.4ms) rollback transaction
4191
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4192
+  (0.1ms) begin transaction
4193
+  (0.1ms) SAVEPOINT active_record_1
4194
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4195
+ SQL (0.5ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:08.232734"], ["updated_at", "2018-04-27 05:21:08.232734"]]
4196
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4197
+  (1.6ms) rollback transaction
4198
+  (0.0ms) begin transaction
4199
+  (0.1ms) SAVEPOINT active_record_1
4200
+ SQL (0.5ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 05:21:08.239396"], ["updated_at", "2018-04-27 05:21:08.239396"]]
4201
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4202
+  (0.5ms) rollback transaction
4203
+  (0.1ms) begin transaction
4204
+  (0.1ms) SAVEPOINT active_record_1
4205
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 05:21:08.244066"], ["updated_at", "2018-04-27 05:21:08.244066"]]
4206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4207
+  (0.1ms) SAVEPOINT active_record_1
4208
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4209
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 05:21:08.245741"], ["updated_at", "2018-04-27 05:21:08.245741"]]
4210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4211
+  (0.4ms) rollback transaction
4212
+  (0.1ms) begin transaction
4213
+  (0.1ms) SAVEPOINT active_record_1
4214
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
4215
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 05:21:08.254660"], ["updated_at", "2018-04-27 05:21:08.254660"]]
4216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4217
+  (0.4ms) rollback transaction
4218
+  (0.0ms) begin transaction
4219
+  (0.0ms) SAVEPOINT active_record_1
4220
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4221
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:08.257657"], ["updated_at", "2018-04-27 05:21:08.257657"]]
4222
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4223
+  (0.1ms) SAVEPOINT active_record_1
4224
+ SQL (0.2ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
4225
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4226
+  (0.4ms) rollback transaction
4227
+  (0.1ms) begin transaction
4228
+  (0.1ms) SAVEPOINT active_record_1
4229
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4230
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:08.265276"], ["updated_at", "2018-04-27 05:21:08.265276"]]
4231
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4232
+  (0.0ms) SAVEPOINT active_record_1
4233
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 05:21:08.266895"], ["id", 1]]
4234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4235
+  (0.5ms) rollback transaction
4236
+  (0.0ms) begin transaction
4237
+  (0.0ms) SAVEPOINT active_record_1
4238
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 05:21:08.269490"], ["updated_at", "2018-04-27 05:21:08.269490"]]
4239
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4240
+  (0.0ms) SAVEPOINT active_record_1
4241
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:08.270789"], ["updated_at", "2018-04-27 05:21:08.270789"]]
4242
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4243
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4244
+  (0.4ms) rollback transaction
4245
+  (0.1ms) begin transaction
4246
+  (0.1ms) SAVEPOINT active_record_1
4247
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4248
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:08.281040"], ["updated_at", "2018-04-27 05:21:08.281040"]]
4249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4250
+  (0.3ms) rollback transaction
4251
+  (0.0ms) begin transaction
4252
+  (0.1ms) rollback transaction
4253
+  (0.0ms) begin transaction
4254
+  (0.1ms) SAVEPOINT active_record_1
4255
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4256
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:08.288989"], ["updated_at", "2018-04-27 05:21:08.288989"]]
4257
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4258
+  (0.0ms) SAVEPOINT active_record_1
4259
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4260
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 05:21:08.291120"], ["updated_at", "2018-04-27 05:21:08.291120"]]
4261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4262
+  (0.0ms) SAVEPOINT active_record_1
4263
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4264
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 05:21:08.292767"], ["updated_at", "2018-04-27 05:21:08.292767"]]
4265
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4266
+ Processing by SortableController#reorder as HTML
4267
+ Parameters: {"Item"=>["1", "3", "2"]}
4268
+  (0.1ms) SAVEPOINT active_record_1
4269
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
4270
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 05:21:08.300607"], ["id", 1]]
4271
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 05:21:08.302000"], ["id", 3]]
4272
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4273
+ Completed 200 OK in 4ms (ActiveRecord: 0.5ms)
4274
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
4275
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
4276
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
4277
+  (0.7ms) rollback transaction
4278
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4279
+  (0.0ms) begin transaction
4280
+  (0.0ms) SAVEPOINT active_record_1
4281
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4282
+ SQL (0.7ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:26.056555"], ["updated_at", "2018-04-27 05:21:26.056555"], ["sort", 1]]
4283
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4284
+  (0.7ms) rollback transaction
4285
+  (0.1ms) begin transaction
4286
+  (0.1ms) rollback transaction
4287
+  (0.0ms) begin transaction
4288
+  (0.0ms) SAVEPOINT active_record_1
4289
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 05:21:26.070732"], ["updated_at", "2018-04-27 05:21:26.070732"]]
4290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4291
+  (0.0ms) SAVEPOINT active_record_1
4292
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:26.071878"], ["updated_at", "2018-04-27 05:21:26.071878"]]
4293
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4294
+ Item Load (0.4ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4295
+  (0.5ms) rollback transaction
4296
+  (0.1ms) begin transaction
4297
+  (0.0ms) SAVEPOINT active_record_1
4298
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
4299
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:26.086146"], ["updated_at", "2018-04-27 05:21:26.086146"], ["sequence", 1]]
4300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4301
+  (0.4ms) rollback transaction
4302
+  (0.0ms) begin transaction
4303
+  (0.1ms) SAVEPOINT active_record_1
4304
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4305
+ SQL (0.5ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:26.090300"], ["updated_at", "2018-04-27 05:21:26.090300"], ["sort", 1]]
4306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4307
+  (0.0ms) SAVEPOINT active_record_1
4308
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
4309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4310
+  (0.4ms) rollback transaction
4311
+  (0.0ms) begin transaction
4312
+  (0.0ms) SAVEPOINT active_record_1
4313
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4314
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:26.100344"], ["updated_at", "2018-04-27 05:21:26.100344"], ["sort", 1]]
4315
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4316
+  (0.0ms) SAVEPOINT active_record_1
4317
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 05:21:26.101661"], ["id", 1]]
4318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4319
+  (0.4ms) rollback transaction
4320
+  (0.0ms) begin transaction
4321
+  (0.0ms) SAVEPOINT active_record_1
4322
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4323
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:26.104110"], ["updated_at", "2018-04-27 05:21:26.104110"], ["sort", 1]]
4324
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4325
+  (0.3ms) rollback transaction
4326
+  (0.0ms) begin transaction
4327
+  (0.1ms) SAVEPOINT active_record_1
4328
+ SQL (0.5ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 05:21:26.107428"], ["updated_at", "2018-04-27 05:21:26.107428"]]
4329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4330
+  (1.0ms) rollback transaction
4331
+  (0.0ms) begin transaction
4332
+  (0.0ms) SAVEPOINT active_record_1
4333
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 05:21:26.111838"], ["updated_at", "2018-04-27 05:21:26.111838"]]
4334
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4335
+  (0.0ms) SAVEPOINT active_record_1
4336
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4337
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:26.112974"], ["updated_at", "2018-04-27 05:21:26.112974"], ["sort", 1001]]
4338
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4339
+  (0.4ms) rollback transaction
4340
+  (0.0ms) begin transaction
4341
+  (0.0ms) SAVEPOINT active_record_1
4342
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4343
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:26.115502"], ["updated_at", "2018-04-27 05:21:26.115502"], ["sort", 1]]
4344
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4345
+  (0.0ms) SAVEPOINT active_record_1
4346
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4347
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:26.116994"], ["updated_at", "2018-04-27 05:21:26.116994"], ["sort", 2]]
4348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4349
+  (0.0ms) SAVEPOINT active_record_1
4350
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4351
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 05:21:26.117941"], ["updated_at", "2018-04-27 05:21:26.117941"], ["sort", 3]]
4352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4353
+ Processing by SortableController#reorder as HTML
4354
+ Parameters: {"Item"=>["1", "3", "2"]}
4355
+  (0.0ms) SAVEPOINT active_record_1
4356
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
4357
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 05:21:26.122304"], ["id", 1]]
4358
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 05:21:26.122909"], ["id", 3]]
4359
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4360
+ Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
4361
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
4362
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
4363
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
4364
+  (0.4ms) rollback transaction
4365
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4366
+  (0.0ms) begin transaction
4367
+  (0.1ms) SAVEPOINT active_record_1
4368
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4369
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:27.596893"], ["updated_at", "2018-04-27 05:21:27.596893"]]
4370
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4371
+  (0.0ms) SAVEPOINT active_record_1
4372
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4373
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 05:21:27.600110"], ["updated_at", "2018-04-27 05:21:27.600110"]]
4374
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4375
+  (0.1ms) SAVEPOINT active_record_1
4376
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4377
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 05:21:27.601743"], ["updated_at", "2018-04-27 05:21:27.601743"]]
4378
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4379
+ Processing by SortableController#reorder as HTML
4380
+ Parameters: {"Item"=>["1", "3", "2"]}
4381
+  (0.0ms) SAVEPOINT active_record_1
4382
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
4383
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 05:21:27.610017"], ["id", 1]]
4384
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 05:21:27.611205"], ["id", 3]]
4385
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4386
+ Completed 200 OK in 4ms (ActiveRecord: 0.4ms)
4387
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
4388
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
4389
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
4390
+  (1.8ms) rollback transaction
4391
+  (0.1ms) begin transaction
4392
+  (0.1ms) SAVEPOINT active_record_1
4393
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 05:21:27.618357"], ["updated_at", "2018-04-27 05:21:27.618357"]]
4394
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4395
+  (0.0ms) SAVEPOINT active_record_1
4396
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4397
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 05:21:27.620164"], ["updated_at", "2018-04-27 05:21:27.620164"]]
4398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4399
+  (0.4ms) rollback transaction
4400
+  (0.0ms) begin transaction
4401
+  (0.0ms) SAVEPOINT active_record_1
4402
+ SQL (0.5ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 05:21:27.622639"], ["updated_at", "2018-04-27 05:21:27.622639"]]
4403
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4404
+  (1.1ms) rollback transaction
4405
+  (0.0ms) begin transaction
4406
+  (0.0ms) SAVEPOINT active_record_1
4407
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
4408
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 05:21:27.632263"], ["updated_at", "2018-04-27 05:21:27.632263"]]
4409
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4410
+  (0.4ms) rollback transaction
4411
+  (0.0ms) begin transaction
4412
+  (0.0ms) SAVEPOINT active_record_1
4413
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4414
+ SQL (0.5ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:27.635093"], ["updated_at", "2018-04-27 05:21:27.635093"]]
4415
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4416
+  (0.0ms) SAVEPOINT active_record_1
4417
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
4418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4419
+  (0.4ms) rollback transaction
4420
+  (0.1ms) begin transaction
4421
+  (0.1ms) SAVEPOINT active_record_1
4422
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4423
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:27.642925"], ["updated_at", "2018-04-27 05:21:27.642925"]]
4424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4425
+  (0.0ms) SAVEPOINT active_record_1
4426
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 05:21:27.645409"], ["id", 1]]
4427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4428
+  (0.4ms) rollback transaction
4429
+  (0.1ms) begin transaction
4430
+  (0.0ms) SAVEPOINT active_record_1
4431
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4432
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:27.651194"], ["updated_at", "2018-04-27 05:21:27.651194"]]
4433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4434
+  (0.4ms) rollback transaction
4435
+  (0.1ms) begin transaction
4436
+  (0.0ms) SAVEPOINT active_record_1
4437
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 05:21:27.654563"], ["updated_at", "2018-04-27 05:21:27.654563"]]
4438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4439
+  (0.0ms) SAVEPOINT active_record_1
4440
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:27.655872"], ["updated_at", "2018-04-27 05:21:27.655872"]]
4441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4442
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4443
+  (0.4ms) rollback transaction
4444
+  (0.1ms) begin transaction
4445
+  (0.0ms) rollback transaction
4446
+  (0.0ms) begin transaction
4447
+  (0.1ms) SAVEPOINT active_record_1
4448
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4449
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:27.666444"], ["updated_at", "2018-04-27 05:21:27.666444"]]
4450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4451
+  (0.4ms) rollback transaction
4452
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4453
+  (0.0ms) begin transaction
4454
+  (0.0ms) rollback transaction
4455
+  (0.0ms) begin transaction
4456
+  (0.1ms) SAVEPOINT active_record_1
4457
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4458
+ SQL (0.6ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:29.174322"], ["updated_at", "2018-04-27 05:21:29.174322"]]
4459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4460
+  (1.6ms) rollback transaction
4461
+  (0.0ms) begin transaction
4462
+  (0.0ms) SAVEPOINT active_record_1
4463
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4464
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:29.181563"], ["updated_at", "2018-04-27 05:21:29.181563"]]
4465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4466
+  (0.0ms) SAVEPOINT active_record_1
4467
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4468
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 05:21:29.183221"], ["updated_at", "2018-04-27 05:21:29.183221"]]
4469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4470
+  (0.0ms) SAVEPOINT active_record_1
4471
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4472
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 05:21:29.184435"], ["updated_at", "2018-04-27 05:21:29.184435"]]
4473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4474
+ Processing by SortableController#reorder as HTML
4475
+ Parameters: {"Item"=>["1", "3", "2"]}
4476
+  (0.0ms) SAVEPOINT active_record_1
4477
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
4478
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 05:21:29.192913"], ["id", 1]]
4479
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 05:21:29.194524"], ["id", 3]]
4480
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4481
+ Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
4482
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
4483
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
4484
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
4485
+  (0.4ms) rollback transaction
4486
+  (0.2ms) begin transaction
4487
+  (0.1ms) SAVEPOINT active_record_1
4488
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 05:21:29.201550"], ["updated_at", "2018-04-27 05:21:29.201550"]]
4489
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4490
+  (0.0ms) SAVEPOINT active_record_1
4491
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:29.202831"], ["updated_at", "2018-04-27 05:21:29.202831"]]
4492
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4493
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4494
+  (0.5ms) rollback transaction
4495
+  (0.0ms) begin transaction
4496
+  (0.1ms) SAVEPOINT active_record_1
4497
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
4498
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 05:21:29.215388"], ["updated_at", "2018-04-27 05:21:29.215388"]]
4499
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4500
+  (0.5ms) rollback transaction
4501
+  (0.0ms) begin transaction
4502
+  (0.1ms) SAVEPOINT active_record_1
4503
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4504
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:29.223443"], ["updated_at", "2018-04-27 05:21:29.223443"]]
4505
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4506
+  (0.1ms) SAVEPOINT active_record_1
4507
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
4508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4509
+  (0.4ms) rollback transaction
4510
+  (0.0ms) begin transaction
4511
+  (0.0ms) SAVEPOINT active_record_1
4512
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4513
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:29.231759"], ["updated_at", "2018-04-27 05:21:29.231759"]]
4514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4515
+  (0.0ms) SAVEPOINT active_record_1
4516
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 05:21:29.233260"], ["id", 1]]
4517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4518
+  (0.4ms) rollback transaction
4519
+  (0.0ms) begin transaction
4520
+  (0.1ms) SAVEPOINT active_record_1
4521
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4522
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 05:21:29.235584"], ["updated_at", "2018-04-27 05:21:29.235584"]]
4523
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4524
+  (0.4ms) rollback transaction
4525
+  (0.0ms) begin transaction
4526
+  (0.0ms) SAVEPOINT active_record_1
4527
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 05:21:29.238821"], ["updated_at", "2018-04-27 05:21:29.238821"]]
4528
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4529
+  (0.1ms) SAVEPOINT active_record_1
4530
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4531
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 05:21:29.240367"], ["updated_at", "2018-04-27 05:21:29.240367"]]
4532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4533
+  (0.4ms) rollback transaction
4534
+  (0.1ms) begin transaction
4535
+  (0.1ms) SAVEPOINT active_record_1
4536
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 05:21:29.244334"], ["updated_at", "2018-04-27 05:21:29.244334"]]
4537
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4538
+  (0.4ms) rollback transaction
4539
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4540
+  (0.0ms) begin transaction
4541
+  (0.0ms) SAVEPOINT active_record_1
4542
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4543
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:02:21.245228"], ["updated_at", "2018-04-27 06:02:21.245228"], ["sort", 1]]
4544
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4545
+  (1.5ms) rollback transaction
4546
+  (0.0ms) begin transaction
4547
+  (0.0ms) SAVEPOINT active_record_1
4548
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 06:02:21.249811"], ["updated_at", "2018-04-27 06:02:21.249811"]]
4549
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4550
+  (0.0ms) SAVEPOINT active_record_1
4551
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:02:21.250881"], ["updated_at", "2018-04-27 06:02:21.250881"]]
4552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4553
+ Item Load (0.3ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4554
+  (0.4ms) rollback transaction
4555
+  (0.1ms) begin transaction
4556
+  (0.0ms) SAVEPOINT active_record_1
4557
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4558
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:02:21.256773"], ["updated_at", "2018-04-27 06:02:21.256773"], ["sort", 1]]
4559
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4560
+  (0.1ms) SAVEPOINT active_record_1
4561
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 06:02:21.261008"], ["id", 1]]
4562
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4563
+  (0.4ms) rollback transaction
4564
+  (0.1ms) begin transaction
4565
+  (0.0ms) SAVEPOINT active_record_1
4566
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4567
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:02:21.265238"], ["updated_at", "2018-04-27 06:02:21.265238"], ["sort", 1]]
4568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4569
+  (0.0ms) SAVEPOINT active_record_1
4570
+ SQL (0.0ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
4571
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4572
+  (0.4ms) rollback transaction
4573
+  (0.0ms) begin transaction
4574
+  (0.0ms) SAVEPOINT active_record_1
4575
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
4576
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:02:21.272421"], ["updated_at", "2018-04-27 06:02:21.272421"], ["sequence", 1]]
4577
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4578
+  (0.3ms) rollback transaction
4579
+  (0.0ms) begin transaction
4580
+  (0.0ms) SAVEPOINT active_record_1
4581
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 06:02:21.275773"], ["updated_at", "2018-04-27 06:02:21.275773"]]
4582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4583
+  (0.0ms) SAVEPOINT active_record_1
4584
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4585
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:02:21.276797"], ["updated_at", "2018-04-27 06:02:21.276797"], ["sort", 1001]]
4586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4587
+  (0.5ms) rollback transaction
4588
+  (0.1ms) begin transaction
4589
+  (0.0ms) SAVEPOINT active_record_1
4590
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 06:02:21.279907"], ["updated_at", "2018-04-27 06:02:21.279907"]]
4591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4592
+  (0.4ms) rollback transaction
4593
+  (0.0ms) begin transaction
4594
+  (0.0ms) SAVEPOINT active_record_1
4595
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4596
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:02:21.284947"], ["updated_at", "2018-04-27 06:02:21.284947"], ["sort", 1]]
4597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4598
+  (0.3ms) rollback transaction
4599
+  (0.0ms) begin transaction
4600
+  (0.0ms) rollback transaction
4601
+  (0.0ms) begin transaction
4602
+  (0.0ms) SAVEPOINT active_record_1
4603
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4604
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:02:21.293386"], ["updated_at", "2018-04-27 06:02:21.293386"], ["sort", 1]]
4605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4606
+  (0.0ms) SAVEPOINT active_record_1
4607
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4608
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:02:21.295002"], ["updated_at", "2018-04-27 06:02:21.295002"], ["sort", 2]]
4609
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4610
+  (0.0ms) SAVEPOINT active_record_1
4611
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4612
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:02:21.297202"], ["updated_at", "2018-04-27 06:02:21.297202"], ["sort", 3]]
4613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4614
+ Processing by SortableController#reorder as HTML
4615
+ Parameters: {"Item"=>["1", "3", "2"]}
4616
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
4617
+  (0.4ms) rollback transaction
4618
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4619
+  (0.0ms) begin transaction
4620
+  (0.1ms) rollback transaction
4621
+  (0.0ms) begin transaction
4622
+  (0.0ms) SAVEPOINT active_record_1
4623
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4624
+ SQL (0.5ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:03:46.684772"], ["updated_at", "2018-04-27 06:03:46.684772"], ["sort", 1]]
4625
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4626
+  (1.7ms) rollback transaction
4627
+  (0.0ms) begin transaction
4628
+  (0.0ms) SAVEPOINT active_record_1
4629
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
4630
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:03:46.694412"], ["updated_at", "2018-04-27 06:03:46.694412"], ["sequence", 1]]
4631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4632
+  (0.5ms) rollback transaction
4633
+  (0.0ms) begin transaction
4634
+  (0.0ms) SAVEPOINT active_record_1
4635
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4636
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:03:46.698360"], ["updated_at", "2018-04-27 06:03:46.698360"], ["sort", 1]]
4637
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4638
+  (0.1ms) SAVEPOINT active_record_1
4639
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
4640
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4641
+  (0.5ms) rollback transaction
4642
+  (0.0ms) begin transaction
4643
+  (0.0ms) SAVEPOINT active_record_1
4644
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4645
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:03:46.707351"], ["updated_at", "2018-04-27 06:03:46.707351"], ["sort", 1]]
4646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4647
+  (0.1ms) SAVEPOINT active_record_1
4648
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 06:03:46.709471"], ["id", 1]]
4649
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4650
+  (0.5ms) rollback transaction
4651
+  (0.0ms) begin transaction
4652
+  (0.0ms) SAVEPOINT active_record_1
4653
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 06:03:46.712627"], ["updated_at", "2018-04-27 06:03:46.712627"]]
4654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4655
+  (0.0ms) SAVEPOINT active_record_1
4656
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4657
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:03:46.713706"], ["updated_at", "2018-04-27 06:03:46.713706"], ["sort", 1001]]
4658
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4659
+  (0.4ms) rollback transaction
4660
+  (0.0ms) begin transaction
4661
+  (0.1ms) SAVEPOINT active_record_1
4662
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 06:03:46.716437"], ["updated_at", "2018-04-27 06:03:46.716437"]]
4663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4664
+  (0.4ms) rollback transaction
4665
+  (0.1ms) begin transaction
4666
+  (0.1ms) SAVEPOINT active_record_1
4667
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4668
+ SQL (0.4ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:03:46.719855"], ["updated_at", "2018-04-27 06:03:46.719855"], ["sort", 1]]
4669
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4670
+  (0.4ms) rollback transaction
4671
+  (0.0ms) begin transaction
4672
+  (0.0ms) SAVEPOINT active_record_1
4673
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 06:03:46.723373"], ["updated_at", "2018-04-27 06:03:46.723373"]]
4674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4675
+  (0.1ms) SAVEPOINT active_record_1
4676
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:03:46.724426"], ["updated_at", "2018-04-27 06:03:46.724426"]]
4677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4678
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4679
+  (0.5ms) rollback transaction
4680
+  (0.0ms) begin transaction
4681
+  (0.0ms) SAVEPOINT active_record_1
4682
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4683
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:03:46.728639"], ["updated_at", "2018-04-27 06:03:46.728639"], ["sort", 1]]
4684
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4685
+  (0.0ms) SAVEPOINT active_record_1
4686
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4687
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:03:46.730619"], ["updated_at", "2018-04-27 06:03:46.730619"], ["sort", 2]]
4688
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4689
+  (0.0ms) SAVEPOINT active_record_1
4690
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4691
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:03:46.731871"], ["updated_at", "2018-04-27 06:03:46.731871"], ["sort", 3]]
4692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4693
+ Processing by SortableController#reorder as HTML
4694
+ Parameters: {"rails_sortable"=>{"Item"=>["1", "3", "2"]}}
4695
+  (0.0ms) SAVEPOINT active_record_1
4696
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
4697
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 06:03:46.737144"], ["id", 1]]
4698
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 06:03:46.738455"], ["id", 3]]
4699
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4700
+ Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
4701
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
4702
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
4703
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
4704
+  (0.4ms) rollback transaction
4705
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4706
+  (0.0ms) begin transaction
4707
+  (0.0ms) rollback transaction
4708
+  (0.1ms) begin transaction
4709
+  (0.1ms) SAVEPOINT active_record_1
4710
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4711
+ SQL (0.6ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:03:48.258538"], ["updated_at", "2018-04-27 06:03:48.258538"]]
4712
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4713
+  (1.8ms) rollback transaction
4714
+  (0.0ms) begin transaction
4715
+  (0.1ms) SAVEPOINT active_record_1
4716
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4717
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:03:48.265932"], ["updated_at", "2018-04-27 06:03:48.265932"]]
4718
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4719
+  (0.1ms) SAVEPOINT active_record_1
4720
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4721
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 06:03:48.267368"], ["updated_at", "2018-04-27 06:03:48.267368"]]
4722
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4723
+  (0.0ms) SAVEPOINT active_record_1
4724
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4725
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 06:03:48.268577"], ["updated_at", "2018-04-27 06:03:48.268577"]]
4726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4727
+  (0.4ms) rollback transaction
4728
+  (0.1ms) begin transaction
4729
+  (0.1ms) SAVEPOINT active_record_1
4730
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 06:03:48.272296"], ["updated_at", "2018-04-27 06:03:48.272296"]]
4731
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4732
+  (0.1ms) SAVEPOINT active_record_1
4733
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:03:48.274179"], ["updated_at", "2018-04-27 06:03:48.274179"]]
4734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4735
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4736
+  (0.4ms) rollback transaction
4737
+  (0.1ms) begin transaction
4738
+  (0.1ms) SAVEPOINT active_record_1
4739
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4740
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:03:48.280907"], ["updated_at", "2018-04-27 06:03:48.280907"]]
4741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4742
+  (0.4ms) rollback transaction
4743
+  (0.0ms) begin transaction
4744
+  (0.0ms) SAVEPOINT active_record_1
4745
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4746
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:03:48.284112"], ["updated_at", "2018-04-27 06:03:48.284112"]]
4747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4748
+  (0.1ms) SAVEPOINT active_record_1
4749
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
4750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4751
+  (0.6ms) rollback transaction
4752
+  (0.1ms) begin transaction
4753
+  (0.0ms) SAVEPOINT active_record_1
4754
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4755
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:03:48.291248"], ["updated_at", "2018-04-27 06:03:48.291248"]]
4756
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4757
+  (0.0ms) SAVEPOINT active_record_1
4758
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 06:03:48.293623"], ["id", 1]]
4759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4760
+  (0.5ms) rollback transaction
4761
+  (0.0ms) begin transaction
4762
+  (0.1ms) SAVEPOINT active_record_1
4763
+  (0.3ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
4764
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 06:03:48.302151"], ["updated_at", "2018-04-27 06:03:48.302151"]]
4765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4766
+  (0.5ms) rollback transaction
4767
+  (0.1ms) begin transaction
4768
+  (0.0ms) SAVEPOINT active_record_1
4769
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 06:03:48.307792"], ["updated_at", "2018-04-27 06:03:48.307792"]]
4770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4771
+  (4.0ms) rollback transaction
4772
+  (0.1ms) begin transaction
4773
+  (0.0ms) SAVEPOINT active_record_1
4774
+ SQL (0.5ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 06:03:48.314041"], ["updated_at", "2018-04-27 06:03:48.314041"]]
4775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4776
+  (0.1ms) SAVEPOINT active_record_1
4777
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4778
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 06:03:48.315893"], ["updated_at", "2018-04-27 06:03:48.315893"]]
4779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4780
+  (0.4ms) rollback transaction
4781
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4782
+  (0.0ms) begin transaction
4783
+  (0.0ms) SAVEPOINT active_record_1
4784
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
4785
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:04:12.836986"], ["updated_at", "2018-04-27 06:04:12.836986"], ["sequence", 1]]
4786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4787
+  (1.7ms) rollback transaction
4788
+  (0.1ms) begin transaction
4789
+  (0.0ms) SAVEPOINT active_record_1
4790
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4791
+ SQL (0.4ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:04:12.846207"], ["updated_at", "2018-04-27 06:04:12.846207"], ["sort", 1]]
4792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4793
+  (0.1ms) SAVEPOINT active_record_1
4794
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 06:04:12.851056"], ["id", 1]]
4795
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4796
+  (0.4ms) rollback transaction
4797
+  (0.0ms) begin transaction
4798
+  (0.0ms) SAVEPOINT active_record_1
4799
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4800
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:04:12.858076"], ["updated_at", "2018-04-27 06:04:12.858076"], ["sort", 1]]
4801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4802
+  (0.0ms) SAVEPOINT active_record_1
4803
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
4804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4805
+  (0.5ms) rollback transaction
4806
+  (0.1ms) begin transaction
4807
+  (0.0ms) SAVEPOINT active_record_1
4808
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 06:04:12.862419"], ["updated_at", "2018-04-27 06:04:12.862419"]]
4809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4810
+  (0.0ms) SAVEPOINT active_record_1
4811
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4812
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:04:12.863859"], ["updated_at", "2018-04-27 06:04:12.863859"], ["sort", 1001]]
4813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4814
+  (0.4ms) rollback transaction
4815
+  (0.0ms) begin transaction
4816
+  (0.0ms) SAVEPOINT active_record_1
4817
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 06:04:12.866405"], ["updated_at", "2018-04-27 06:04:12.866405"]]
4818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4819
+  (0.4ms) rollback transaction
4820
+  (0.0ms) begin transaction
4821
+  (0.0ms) SAVEPOINT active_record_1
4822
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 06:04:12.868851"], ["updated_at", "2018-04-27 06:04:12.868851"]]
4823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4824
+  (0.0ms) SAVEPOINT active_record_1
4825
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:12.870206"], ["updated_at", "2018-04-27 06:04:12.870206"]]
4826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4827
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4828
+  (0.4ms) rollback transaction
4829
+  (0.0ms) begin transaction
4830
+  (0.0ms) SAVEPOINT active_record_1
4831
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4832
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:04:12.876711"], ["updated_at", "2018-04-27 06:04:12.876711"], ["sort", 1]]
4833
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4834
+  (0.4ms) rollback transaction
4835
+  (0.0ms) begin transaction
4836
+  (0.1ms) rollback transaction
4837
+  (0.0ms) begin transaction
4838
+  (0.1ms) SAVEPOINT active_record_1
4839
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4840
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:04:12.889441"], ["updated_at", "2018-04-27 06:04:12.889441"], ["sort", 1]]
4841
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4842
+  (0.4ms) rollback transaction
4843
+  (0.0ms) begin transaction
4844
+  (0.0ms) SAVEPOINT active_record_1
4845
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4846
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:04:12.893222"], ["updated_at", "2018-04-27 06:04:12.893222"], ["sort", 1]]
4847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4848
+  (0.0ms) SAVEPOINT active_record_1
4849
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4850
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:04:12.894675"], ["updated_at", "2018-04-27 06:04:12.894675"], ["sort", 2]]
4851
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4852
+  (0.0ms) SAVEPOINT active_record_1
4853
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4854
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 06:04:12.895719"], ["updated_at", "2018-04-27 06:04:12.895719"], ["sort", 3]]
4855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4856
+ Processing by SortableController#reorder as HTML
4857
+ Parameters: {"rails_sortable"=>{"Item"=>["1", "3", "2"]}}
4858
+  (0.0ms) SAVEPOINT active_record_1
4859
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
4860
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 0], ["id", 1]]
4861
+ SQL (0.0ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1], ["id", 3]]
4862
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4863
+ Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
4864
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
4865
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
4866
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
4867
+  (0.4ms) rollback transaction
4868
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4869
+  (0.0ms) begin transaction
4870
+  (0.1ms) SAVEPOINT active_record_1
4871
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4872
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:14.379725"], ["updated_at", "2018-04-27 06:04:14.379725"]]
4873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4874
+  (1.7ms) rollback transaction
4875
+  (0.1ms) begin transaction
4876
+  (0.0ms) rollback transaction
4877
+  (0.0ms) begin transaction
4878
+  (0.1ms) SAVEPOINT active_record_1
4879
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4880
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:14.392107"], ["updated_at", "2018-04-27 06:04:14.392107"]]
4881
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4882
+  (0.0ms) SAVEPOINT active_record_1
4883
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4884
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 06:04:14.393831"], ["updated_at", "2018-04-27 06:04:14.393831"]]
4885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4886
+  (0.0ms) SAVEPOINT active_record_1
4887
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4888
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 06:04:14.394947"], ["updated_at", "2018-04-27 06:04:14.394947"]]
4889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4890
+ Processing by SortableController#reorder as HTML
4891
+ Parameters: {"rails_sortable"=>{"Item"=>["1", "3", "2"]}}
4892
+  (0.1ms) SAVEPOINT active_record_1
4893
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
4894
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 06:04:14.402210"], ["id", 1]]
4895
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 06:04:14.403110"], ["id", 3]]
4896
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4897
+ Completed 200 OK in 4ms (ActiveRecord: 0.5ms)
4898
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
4899
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
4900
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
4901
+  (0.7ms) rollback transaction
4902
+  (0.1ms) begin transaction
4903
+  (0.1ms) SAVEPOINT active_record_1
4904
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4905
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:14.409406"], ["updated_at", "2018-04-27 06:04:14.409406"]]
4906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4907
+  (0.3ms) rollback transaction
4908
+  (0.1ms) begin transaction
4909
+  (0.1ms) SAVEPOINT active_record_1
4910
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
4911
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 06:04:14.419306"], ["updated_at", "2018-04-27 06:04:14.419306"]]
4912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4913
+  (0.5ms) rollback transaction
4914
+  (0.1ms) begin transaction
4915
+  (0.1ms) SAVEPOINT active_record_1
4916
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4917
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:14.423588"], ["updated_at", "2018-04-27 06:04:14.423588"]]
4918
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4919
+  (0.0ms) SAVEPOINT active_record_1
4920
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
4921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4922
+  (0.4ms) rollback transaction
4923
+  (0.0ms) begin transaction
4924
+  (0.0ms) SAVEPOINT active_record_1
4925
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4926
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:14.430171"], ["updated_at", "2018-04-27 06:04:14.430171"]]
4927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4928
+  (0.0ms) SAVEPOINT active_record_1
4929
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 06:04:14.437567"], ["id", 1]]
4930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4931
+  (0.5ms) rollback transaction
4932
+  (0.0ms) begin transaction
4933
+  (0.1ms) SAVEPOINT active_record_1
4934
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 06:04:14.440901"], ["updated_at", "2018-04-27 06:04:14.440901"]]
4935
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4936
+  (0.4ms) rollback transaction
4937
+  (0.1ms) begin transaction
4938
+  (0.1ms) SAVEPOINT active_record_1
4939
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 06:04:14.444309"], ["updated_at", "2018-04-27 06:04:14.444309"]]
4940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4941
+  (0.0ms) SAVEPOINT active_record_1
4942
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4943
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 06:04:14.445371"], ["updated_at", "2018-04-27 06:04:14.445371"]]
4944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4945
+  (0.4ms) rollback transaction
4946
+  (0.0ms) begin transaction
4947
+  (0.0ms) SAVEPOINT active_record_1
4948
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 06:04:14.447741"], ["updated_at", "2018-04-27 06:04:14.447741"]]
4949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4950
+  (0.1ms) SAVEPOINT active_record_1
4951
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:14.448997"], ["updated_at", "2018-04-27 06:04:14.448997"]]
4952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4953
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
4954
+  (0.4ms) rollback transaction
4955
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4956
+  (0.1ms) begin transaction
4957
+  (0.0ms) rollback transaction
4958
+  (0.0ms) begin transaction
4959
+  (0.1ms) SAVEPOINT active_record_1
4960
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
4961
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:15.989743"], ["updated_at", "2018-04-27 06:04:15.989743"]]
4962
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4963
+  (1.6ms) rollback transaction
4964
+  (0.1ms) begin transaction
4965
+  (0.0ms) SAVEPOINT active_record_1
4966
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
4967
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:15.996597"], ["updated_at", "2018-04-27 06:04:15.996597"]]
4968
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4969
+  (0.0ms) SAVEPOINT active_record_1
4970
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4971
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 06:04:15.998290"], ["updated_at", "2018-04-27 06:04:15.998290"]]
4972
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4973
+  (0.0ms) SAVEPOINT active_record_1
4974
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
4975
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 06:04:15.999536"], ["updated_at", "2018-04-27 06:04:15.999536"]]
4976
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4977
+ Processing by SortableController#reorder as HTML
4978
+ Parameters: {"rails_sortable"=>{"Item"=>["1", "3", "2"]}}
4979
+  (0.1ms) SAVEPOINT active_record_1
4980
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" IN (1, 3, 2) ORDER BY "items"."sort" ASC
4981
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 06:04:16.010573"], ["id", 1]]
4982
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 06:04:16.012068"], ["id", 3]]
4983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4984
+ Completed 200 OK in 6ms (ActiveRecord: 0.5ms)
4985
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
4986
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
4987
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
4988
+  (0.6ms) rollback transaction
4989
+  (0.1ms) begin transaction
4990
+  (0.0ms) SAVEPOINT active_record_1
4991
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 06:04:16.019334"], ["updated_at", "2018-04-27 06:04:16.019334"]]
4992
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4993
+  (0.4ms) rollback transaction
4994
+  (0.0ms) begin transaction
4995
+  (0.0ms) SAVEPOINT active_record_1
4996
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 06:04:16.022112"], ["updated_at", "2018-04-27 06:04:16.022112"]]
4997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4998
+  (0.1ms) SAVEPOINT active_record_1
4999
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5000
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 06:04:16.023451"], ["updated_at", "2018-04-27 06:04:16.023451"]]
5001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5002
+  (0.5ms) rollback transaction
5003
+  (0.0ms) begin transaction
5004
+  (0.0ms) SAVEPOINT active_record_1
5005
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5006
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:16.028616"], ["updated_at", "2018-04-27 06:04:16.028616"]]
5007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5008
+  (0.4ms) rollback transaction
5009
+  (0.0ms) begin transaction
5010
+  (0.0ms) SAVEPOINT active_record_1
5011
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 06:04:16.031155"], ["updated_at", "2018-04-27 06:04:16.031155"]]
5012
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5013
+  (0.0ms) SAVEPOINT active_record_1
5014
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:16.032329"], ["updated_at", "2018-04-27 06:04:16.032329"]]
5015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5016
+ Item Load (0.2ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5017
+  (0.4ms) rollback transaction
5018
+  (0.0ms) begin transaction
5019
+  (0.1ms) SAVEPOINT active_record_1
5020
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
5021
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 06:04:16.048845"], ["updated_at", "2018-04-27 06:04:16.048845"]]
5022
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5023
+  (0.3ms) rollback transaction
5024
+  (0.0ms) begin transaction
5025
+  (0.0ms) SAVEPOINT active_record_1
5026
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5027
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:16.052266"], ["updated_at", "2018-04-27 06:04:16.052266"]]
5028
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5029
+  (0.1ms) SAVEPOINT active_record_1
5030
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 06:04:16.055462"], ["id", 1]]
5031
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5032
+  (0.4ms) rollback transaction
5033
+  (0.0ms) begin transaction
5034
+  (0.1ms) SAVEPOINT active_record_1
5035
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5036
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 06:04:16.059840"], ["updated_at", "2018-04-27 06:04:16.059840"]]
5037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5038
+  (0.1ms) SAVEPOINT active_record_1
5039
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
5040
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5041
+  (0.4ms) rollback transaction