rails_sortable 1.1.4 → 1.2.0

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 (114) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/sortable_controller.rb +8 -12
  3. data/lib/rails_sortable/version.rb +1 -1
  4. data/spec/controllers/sortable_controller_spec.rb +36 -4
  5. data/spec/dummy/app/assets/javascripts/multiple_classes.js +5 -0
  6. data/spec/dummy/app/controllers/multiple_classes_controller.rb +6 -0
  7. data/spec/dummy/app/models/first_item.rb +6 -0
  8. data/spec/dummy/app/models/second_item.rb +6 -0
  9. data/spec/dummy/app/views/multiple_classes/index.html.erb +24 -0
  10. data/spec/dummy/config/routes.rb +1 -0
  11. data/spec/dummy/db/development.sqlite3 +0 -0
  12. data/spec/dummy/db/migrate/20180427061457_create_multiple_classes.rb +16 -0
  13. data/spec/dummy/db/schema.rb +19 -5
  14. data/spec/dummy/db/seeds.rb +8 -0
  15. data/spec/dummy/db/test.sqlite3 +0 -0
  16. data/spec/dummy/log/development.log +2184 -0
  17. data/spec/dummy/log/test.log +1490 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-M/-MxjO-GIk1YIlXanNrTyM9cLnPq0bO3MI-l009yz0Mg.cache +1 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-R/-RBl5Otls9eKjBDLs-sw0CZKjYNIoxyt05c77eu6MPU.cache +0 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0i/0iROcwwTcx7Nm88QZYGEnMcYR8UQeRUFriWBo-AMrtU.cache +0 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0n/0nKbZIps6rbbr-UQaOC_KTqpuX9fhn_TriiUkKPUBQw.cache +1 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2R/2RrKCDr-Q1CEpEpqQkEgIt5iH10_PKVy5gdekeB33CE.cache +1 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3_/3_ikYoAQJZPTdaucuQdek7xr3QcTwbIrknn7eLwwX2Y.cache +0 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5R/5RYBbdp1pIijXwX-ki6-lcG5sklaiIGdoJKujtMY9Ck.cache +1 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5U/5UIyU8PudiW_iM9D7hkZPh-maaHNvGLifR-1mCBElNU.cache +3 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6Y/6Ydb9bx-hjXctdCddWpP5gZT0t7Q6x0tVZICdanl6Z4.cache +3 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7H/7H2jf_3YDp04XWv7NFnsX_QYQbCGMFha4fnxXbZzPxY.cache +0 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7Z/7ZqRFEuAQoUrKtyppHSip355JXDt6-UOAcFQdCVL5AQ.cache +0 -0
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8_/8_JrtcQ7x-pYsW0T-um9YsKU5gtTtCZECctaGANEAPQ.cache +0 -0
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9d/9drpfCvBkVorj5Uh7JuO2zH-xyzxCmaE-LYSOceIi1Y.cache +1 -0
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/B1/B12lZXpX2SuWc-8ZZbwnSOjkPWG6IAjSHqTp1ZLDiPc.cache +0 -0
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BJ/bjqMDOHJA3QMQplCmWO3bAR9LI-P3mYmB1OkrE2gvGU.cache +0 -0
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Br/BROlrF20pevmND11w_FKUPmj4KGd5-sDxf8zcX-EvIY.cache +1 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cc/CcnEw78oTmT3w5eoiu8nSTCD3ldctQgRdkTfHT7iBJ8.cache +0 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ce/CeO3B7IIEwMWOQTlP54p0YC2RMpMdGrcLv-DPe7laYg.cache +0 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cm/CmV8mhB6UKVBJUUgfz-AgqC6MmFqNnrc7NswK9KzgMc.cache +1 -0
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/D4/D4oL3pjfMuOq2OOBcXLN4a1r8eaic5lV7SfmU7CQTR0.cache +0 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DR/DRJXpz00WCgk_pwUtp2ZBsc9Z5PBRqLZbfFkg9xzzAw.cache +2 -0
  39. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/E6/E64eNmSKxozGCgeR3kjqrcSzflp3MLaan9MGNVfMOoY.cache +0 -0
  40. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EO/EOFrKCtDwVoJD8KP_2u7lABqLpCWOrm_ZVDvL8rjsSw.cache +1 -0
  41. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/G0/G0NalhnGiuamT2OI17HoCc4EPkUhYr8huUcypatURvs.cache +3 -0
  42. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HF/HFuNhzNZA5ILxIzWi2wxnZ_uEYPrAQ4OVoo0Y_92muU.cache +0 -0
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HG/HGJPxZDpIQVCru78seOUmrq_lZm4TlXwvUqb2q6KdTM.cache +0 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HX/HXTUcJKnpwxwvdmnltMvIETHL0RTtc8kQspCLn5oBr8.cache +1 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/He/HeyU5xWergTGEX2eKxB1wp2Zx6FgMOr4SQmgB3D-z4o.cache +1 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jc/jcPtKoW_pZxWBDuwtHTlrXCtDhL_N4o_fjDreM6vz6I.cache +1 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kq/Kqu3a6W9qe-McpE_IQBHgbAgeb1a4ZtPQSorzLzPxeo.cache +3 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LQ/LQnjjctpdUBBWqhz0HImImRbgE6nECTPeNxspb-VNs8.cache +1 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LX/LXz9mdEZDH1ed4s0aXWnbULYVLid2Z0mHtFma0Nge6Q.cache +1 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MS/MSa_epQaTJbZLoL_jmVkGL8NsdoFIySavZKDehUerNM.cache +0 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NA/NA_m7mep3p9_vMh1hQGMikdtfhmnJuBr_vU3kuOBiSI.cache +0 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NJ/njTjJCUNchOdQxcYt9m_kid_xr7mTRi5BS0a60tdXhk.cache +0 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OR/ORCeVOJmVr7LAd376qIb_umhbvAwqqaL_h3MVIlqdq8.cache +1 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P5/P5Fx55mYkUbjVE9Q64de3km-kIPqXSimoTgK3GQChYw.cache +1 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ph/PHEABP75roYQqVvPULYUzf-QScsZA5v9TxgWVCGFwt4.cache +1 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QM/QMNNzlBu8uphXxYWynzTjCrc4IRjN1eJTgXz1kBy-f4.cache +0 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QM/QMlK1VIkn3SxwPQt_Wrvksm99Q-OVXqttnUgFb03wts.cache +0 -0
  58. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RL/RLyO3mPMlK49UJnzRHe-W11qo0CuM8NsXoRChGN6g6o.cache +1 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RN/Rnfi_JFT98UOzDD-WUl9CQVj-KWLhMAd9JiC6DZF6zk.cache +1 -0
  60. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Su/SUXWucDTF5XyS59tBg0iTnrOWBf8A5y9O0Zq99ACukY.cache +1 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Sz/Szn48h7y5KuT6vQNu1zvQXFLmymT4ef-W1W6C8wAZxA.cache +3 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Td/TdnE4Q4UR70spMP__OFEwIFkxroxQqp568LKGXIai-I.cache +1 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Td/tdmMsvm7gqkcRCngtvl_NXa2_lL8Pac_VIA5q4fVtvo.cache +1 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Te/Te74d-ZEO1xAxiKaND-z632M5lD3P7VLuUIh-2kd8MQ.cache +3 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/U4/U4gfLvtxZEeiubxkqK1hcfagjer3H2kbv8XUWGEsJYo.cache +0 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UD/UDL-nMhsFC7yTkdXfNRGWqNmNwE7GvzuDPLK4tbSlvY.cache +0 -0
  67. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vj/Vj8CQxaExVSMQ319-sdhDC1sH02DjQ8_nb1MZk8AMRI.cache +1 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vw/VwZtLKc4TIR2JWGX9BU0AXVl_iQK83hQgvL0MAIwF_Y.cache +3 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XZ/XZPs04jla05HsqxDp7bcHmaoM_VPUOOwlpvx8YaXFXk.cache +0 -0
  70. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Xv/XvJT2k3s8q54ROSU3cRYZCto2TCcGc7ZL1d1i8FtwB8.cache +1 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZJ/ZjXllK5bajP7gHYoJU4IBgGJswbqqJoWcm-lGWuex1k.cache +0 -0
  72. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zn/ZnrUy5hAd3tdrxdNvOHaURoZCX0ko0jk6w5rs9-Pbe0.cache +1 -0
  73. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aE/aEEK4t9oR0ZSCw-2nGSpE02KhHya-SK0OdGQ75tMdzc.cache +1 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aH/aHjY3KMtKEGjynQpZJzlLafP-TqilsxJtTcC1Y7lNP0.cache +1 -0
  75. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/by/BYz1beHhPysw7f2umniCtPP9TxY1bdVG2hTPAvwTuP0.cache +0 -0
  76. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/c-/c-czee8Len6ZwW5H_aQsHWyCrtQKhesYe2SdCSeZmAU.cache +1 -0
  77. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eN/eNkauokY7xthUOVxLjtrknNOUMllmRyHWVdFIXi3amI.cache +0 -0
  78. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eb/ebkNWw0hYH6EkApRsknok-fZlBMFmoBn0HDbIjH5dsw.cache +1 -0
  79. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fu/fuYmDGIamN2lUkeufN7pp6L8a9rk7yjLPCrEjLdOxBA.cache +1 -0
  80. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gO/GodMxJBpguaP3XaKuZWzHsiTMILQgqWak5zLKuLhXZg.cache +1 -0
  81. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ic/icFZcLCjbN6LXGmB9XcsQGNaC-QQvwhsL-Ie1j7Jxgg.cache +0 -0
  82. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jT/jTGFywDBW5nvJPf_NSnQVJR2iv7-Y85enZnk9cfW9l4.cache +1 -0
  83. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/k-/k--70WGiqC2QeEM4ZOcLy53HlIMdEvtDGVKFfgR6f2k.cache +1 -0
  84. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/k1/k1_bCeDDzTc7KRdXgqLe4imAodPwcQ0G_fjyu-MBYiM.cache +1 -0
  85. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/l8/l8P1pR4maK6k4JR_rsJAE5FFGmxVG4auDU3a9VZiyr4.cache +3 -0
  86. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ld/ldqcVkKyUsgJ0gMrR5p1_ANbiZF42zVk4IXmX2DggLU.cache +3 -0
  87. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lg/lgGD39TPi-RG7Ke7Db27gw1fNHHLqfCN7Okprk5ZUl0.cache +0 -0
  88. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mO/MOTF0qkPowo6wdvhuSeDrdmhnnc--MsuMN6KpFsMK6U.cache +1 -0
  89. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mO/mO2YX9JvGxI3y_4fETHgFvmUF0I-Pxi0bmn0F47FiRw.cache +1 -0
  90. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/o4/o4Y9F2XU_uVXmdHbLHiTSqN0NE0piayqn2EwMN4yDgQ.cache +0 -0
  91. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oU/OudGcHFf5703QsPJuoTpUDoIUFWj_ds0f1aVpz6-VWo.cache +0 -0
  92. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oU/oUkdVnPbZerIVEH91ePjSb-F9gf8t8mvYKIIUC3NiQs.cache +1 -0
  93. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/r-/r-PwDSHYD-uwFsoCE-QfG4HzYf93Bak0QFKlE57Gfrg.cache +3 -0
  94. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/r7/r7QssHA-naMaFK1dcId7ccOwg6y3ZqG0X6i_4iyi6q8.cache +1 -0
  95. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ro/ro8JATasiLE0VFTxitnvTaOr0xSA7bQ-HTUuhoy5dTQ.cache +1 -0
  96. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/s7/S7c4AutKDwvFu029xwHtDTZa8wOx6f5bYCNzHu33wXE.cache +1 -0
  97. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/u7/u7rA35fsBnNqyk3zJrUucgz54DWK9ptIMu9bBDcgtXw.cache +1 -0
  98. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uM/uMrRwuPdEG_Q9id7XYXTHHEemwESucB140FjNNtf-Ak.cache +0 -0
  99. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uW/uWpRXEIJzFMcsSUwp-Vu5QLS3vWbos65wsNMgWi-9k0.cache +0 -0
  100. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ue/ueFmbntvMyyizUqFBhs_eUNOXuTumRHTE3ByHDwmiIs.cache +1 -0
  101. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wE/wE4iEOr0Zmk7UHDtRjQ7cOG4zgh4VleO5M3gnnw8nh8.cache +0 -0
  102. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wK/wKwimkD56NZPO3iTTRZxxNHTsVJPxjZltgVnEilhG9s.cache +0 -0
  103. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xf/xfR7DxnUeBsEPt3xHCn6q28Ywsa1QjteIkEN-cO7mLc.cache +3 -0
  104. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xi/xiyktcCc7fjOiqg8GNi_eaQKrlTYOEKfBMGowfYymKs.cache +1 -0
  105. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yu/yuwmn98doTj56vnrPNlt0MuB_saWjn0L3FxjZRnAXwM.cache +0 -0
  106. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yv/yvMbRMt8t7laAS_JbXEu1AGKqtNpY1ssT0Pd91PiJBQ.cache +0 -0
  107. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/z4/z4IPqa2GavyC7WdY_wl7hSK6UzXmMrtiS2ibU2USzig.cache +1 -0
  108. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zf/zF1W191tyyUh00LT5FNorujBZKbT0S6emjIsaoTyOHE.cache +1 -0
  109. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zf/zfMPdEUfQOzkNPjdvWAjTqbY2NYcDouR1aWyxGy1k6o.cache +1 -0
  110. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zp/zpHzjLS4rrb5Z7QGgYBKexGFcPuSHOpanTl4PD3tePU.cache +0 -0
  111. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zw/zwJgJL0K4GhfgTJSYALV6kWoitPrL2DXnHHKBZEO6Gw.cache +0 -0
  112. data/spec/dummy/tmp/pids/server.pid +1 -0
  113. data/vendor/assets/javascripts/plugin.js +11 -4
  114. metadata +197 -1
@@ -5039,3 +5039,1493 @@ Completed 200 OK in 6ms (ActiveRecord: 0.5ms)
5039
5039
  SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
5040
5040
   (0.0ms) RELEASE SAVEPOINT active_record_1
5041
5041
   (0.4ms) rollback transaction
5042
+  (0.0ms) begin transaction
5043
+  (0.0ms) rollback transaction
5044
+  (0.0ms) begin transaction
5045
+  (0.0ms) rollback transaction
5046
+  (0.0ms) begin transaction
5047
+  (0.0ms) rollback transaction
5048
+  (0.0ms) begin transaction
5049
+  (0.0ms) rollback transaction
5050
+  (0.0ms) begin transaction
5051
+  (0.0ms) rollback transaction
5052
+  (0.0ms) begin transaction
5053
+  (0.0ms) rollback transaction
5054
+  (0.0ms) begin transaction
5055
+  (0.0ms) rollback transaction
5056
+  (0.0ms) begin transaction
5057
+  (0.0ms) rollback transaction
5058
+  (0.0ms) begin transaction
5059
+  (0.0ms) rollback transaction
5060
+  (0.0ms) begin transaction
5061
+  (0.0ms) rollback transaction
5062
+  (0.1ms) SELECT sqlite_version(*)
5063
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
5064
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5065
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5066
+ Migrating to CreateItems (20131223124841)
5067
+  (0.1ms) begin transaction
5068
+  (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sort" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5069
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131223124841"]]
5070
+  (0.8ms) commit transaction
5071
+ Migrating to CreateSequencedItems (20170414031946)
5072
+  (0.0ms) begin transaction
5073
+  (0.3ms) CREATE TABLE "sequenced_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sequence" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5074
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170414031946"]]
5075
+  (0.7ms) commit transaction
5076
+ Migrating to CreateMultipleClasses (20180427061457)
5077
+  (0.0ms) begin transaction
5078
+  (0.3ms) CREATE TABLE "first_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sort" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5079
+  (0.1ms) CREATE TABLE "second_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "sort" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5080
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180427061457"]]
5081
+  (1.1ms) commit transaction
5082
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
5083
+  (0.0ms) begin transaction
5084
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-04-27 07:21:19.397467"], ["updated_at", "2018-04-27 07:21:19.397467"]]
5085
+  (1.2ms) commit transaction
5086
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5087
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5088
+  (0.0ms) begin transaction
5089
+  (0.0ms) SAVEPOINT active_record_1
5090
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:21:24.139638"], ["updated_at", "2018-04-27 07:21:24.139638"]]
5091
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5092
+  (0.0ms) SAVEPOINT active_record_1
5093
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:21:24.140870"], ["updated_at", "2018-04-27 07:21:24.140870"]]
5094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5095
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5096
+  (1.8ms) rollback transaction
5097
+  (0.0ms) begin transaction
5098
+  (0.0ms) SAVEPOINT active_record_1
5099
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5100
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:21:24.146530"], ["updated_at", "2018-04-27 07:21:24.146530"], ["sort", 1]]
5101
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5102
+  (0.6ms) rollback transaction
5103
+  (0.0ms) begin transaction
5104
+  (0.0ms) SAVEPOINT active_record_1
5105
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:21:24.150012"], ["updated_at", "2018-04-27 07:21:24.150012"]]
5106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5107
+  (0.5ms) rollback transaction
5108
+  (0.1ms) begin transaction
5109
+  (0.0ms) SAVEPOINT active_record_1
5110
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:21:24.153330"], ["updated_at", "2018-04-27 07:21:24.153330"]]
5111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5112
+  (0.0ms) SAVEPOINT active_record_1
5113
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5114
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:21:24.154424"], ["updated_at", "2018-04-27 07:21:24.154424"], ["sort", 1001]]
5115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5116
+  (0.4ms) rollback transaction
5117
+  (0.0ms) begin transaction
5118
+  (0.0ms) SAVEPOINT active_record_1
5119
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
5120
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:21:24.159433"], ["updated_at", "2018-04-27 07:21:24.159433"], ["sequence", 1]]
5121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5122
+  (0.5ms) rollback transaction
5123
+  (0.0ms) begin transaction
5124
+  (0.0ms) SAVEPOINT active_record_1
5125
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5126
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:21:24.163126"], ["updated_at", "2018-04-27 07:21:24.163126"], ["sort", 1]]
5127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5128
+  (0.0ms) SAVEPOINT active_record_1
5129
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
5130
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5131
+  (0.5ms) rollback transaction
5132
+  (0.0ms) begin transaction
5133
+  (0.0ms) SAVEPOINT active_record_1
5134
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5135
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:21:24.171239"], ["updated_at", "2018-04-27 07:21:24.171239"], ["sort", 1]]
5136
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5137
+  (0.0ms) SAVEPOINT active_record_1
5138
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:21:24.172572"], ["id", 1]]
5139
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5140
+  (0.4ms) rollback transaction
5141
+  (0.0ms) begin transaction
5142
+  (0.1ms) rollback transaction
5143
+  (0.0ms) begin transaction
5144
+  (0.0ms) SAVEPOINT active_record_1
5145
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5146
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:21:24.182838"], ["updated_at", "2018-04-27 07:21:24.182838"], ["sort", 1]]
5147
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5148
+  (0.3ms) rollback transaction
5149
+  (0.0ms) begin transaction
5150
+  (0.0ms) SAVEPOINT active_record_1
5151
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5152
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:21:24.185925"], ["updated_at", "2018-04-27 07:21:24.185925"], ["sort", 1]]
5153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5154
+  (0.0ms) SAVEPOINT active_record_1
5155
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5156
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:21:24.187503"], ["updated_at", "2018-04-27 07:21:24.187503"], ["sort", 2]]
5157
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5158
+  (0.0ms) SAVEPOINT active_record_1
5159
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5160
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:21:24.188620"], ["updated_at", "2018-04-27 07:21:24.188620"], ["sort", 3]]
5161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5162
+ Processing by SortableController#reorder as HTML
5163
+ Parameters: {"rails_sortable"=>{"Item"=>["1", "3", "2"]}}
5164
+  (0.0ms) SAVEPOINT active_record_1
5165
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
5166
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.1ms)
5167
+  (0.4ms) rollback transaction
5168
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5169
+  (0.0ms) begin transaction
5170
+  (0.0ms) SAVEPOINT active_record_1
5171
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5172
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:23:43.620960"], ["updated_at", "2018-04-27 07:23:43.620960"], ["sort", 1]]
5173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5174
+  (1.8ms) rollback transaction
5175
+  (0.0ms) begin transaction
5176
+  (0.1ms) rollback transaction
5177
+  (0.0ms) begin transaction
5178
+  (0.0ms) SAVEPOINT active_record_1
5179
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
5180
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:23:43.633668"], ["updated_at", "2018-04-27 07:23:43.633668"], ["sequence", 1]]
5181
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5182
+  (0.4ms) rollback transaction
5183
+  (0.0ms) begin transaction
5184
+  (0.0ms) SAVEPOINT active_record_1
5185
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5186
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:23:43.637020"], ["updated_at", "2018-04-27 07:23:43.637020"], ["sort", 1]]
5187
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5188
+  (0.1ms) SAVEPOINT active_record_1
5189
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
5190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5191
+  (0.4ms) rollback transaction
5192
+  (0.0ms) begin transaction
5193
+  (0.0ms) SAVEPOINT active_record_1
5194
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5195
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:23:43.643943"], ["updated_at", "2018-04-27 07:23:43.643943"], ["sort", 1]]
5196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5197
+  (0.0ms) SAVEPOINT active_record_1
5198
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:23:43.645322"], ["id", 1]]
5199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5200
+  (0.4ms) rollback transaction
5201
+  (0.0ms) begin transaction
5202
+  (0.0ms) SAVEPOINT active_record_1
5203
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:23:43.647873"], ["updated_at", "2018-04-27 07:23:43.647873"]]
5204
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5205
+  (0.0ms) SAVEPOINT active_record_1
5206
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5207
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:23:43.649011"], ["updated_at", "2018-04-27 07:23:43.649011"], ["sort", 1001]]
5208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5209
+  (0.4ms) rollback transaction
5210
+  (0.0ms) begin transaction
5211
+  (0.0ms) SAVEPOINT active_record_1
5212
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:23:43.651487"], ["updated_at", "2018-04-27 07:23:43.651487"]]
5213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5214
+  (0.4ms) rollback transaction
5215
+  (0.0ms) begin transaction
5216
+  (0.0ms) SAVEPOINT active_record_1
5217
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:23:43.653550"], ["updated_at", "2018-04-27 07:23:43.653550"]]
5218
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5219
+  (0.0ms) SAVEPOINT active_record_1
5220
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:43.654464"], ["updated_at", "2018-04-27 07:23:43.654464"]]
5221
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5222
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5223
+  (0.4ms) rollback transaction
5224
+  (0.0ms) begin transaction
5225
+  (0.0ms) SAVEPOINT active_record_1
5226
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5227
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:23:43.659358"], ["updated_at", "2018-04-27 07:23:43.659358"], ["sort", 1]]
5228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5229
+  (0.4ms) rollback transaction
5230
+  (0.0ms) begin transaction
5231
+  (0.0ms) SAVEPOINT active_record_1
5232
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5233
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:23:43.661883"], ["updated_at", "2018-04-27 07:23:43.661883"], ["sort", 1]]
5234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5235
+  (0.0ms) SAVEPOINT active_record_1
5236
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5237
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:23:43.663497"], ["updated_at", "2018-04-27 07:23:43.663497"], ["sort", 2]]
5238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5239
+  (0.0ms) SAVEPOINT active_record_1
5240
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5241
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:23:43.664461"], ["updated_at", "2018-04-27 07:23:43.664461"], ["sort", 3]]
5242
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5243
+ Processing by SortableController#reorder as HTML
5244
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"1"}, {"klass"=>"Item", "id"=>"3"}, {"klass"=>"Item", "id"=>"2"}]}
5245
+  (0.0ms) SAVEPOINT active_record_1
5246
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
5247
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:23:43.667915"], ["id", 1]]
5248
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
5249
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:23:43.669023"], ["id", 3]]
5250
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
5251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5252
+ Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
5253
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
5254
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
5255
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
5256
+  (0.4ms) rollback transaction
5257
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5258
+  (0.2ms) begin transaction
5259
+  (0.0ms) rollback transaction
5260
+  (0.0ms) begin transaction
5261
+  (0.0ms) SAVEPOINT active_record_1
5262
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5263
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:45.460504"], ["updated_at", "2018-04-27 07:23:45.460504"]]
5264
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5265
+  (1.6ms) rollback transaction
5266
+  (0.0ms) begin transaction
5267
+  (0.0ms) SAVEPOINT active_record_1
5268
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5269
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:45.466205"], ["updated_at", "2018-04-27 07:23:45.466205"]]
5270
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5271
+  (0.4ms) rollback transaction
5272
+  (0.1ms) begin transaction
5273
+  (0.1ms) SAVEPOINT active_record_1
5274
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5275
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:45.470812"], ["updated_at", "2018-04-27 07:23:45.470812"]]
5276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5277
+  (0.1ms) SAVEPOINT active_record_1
5278
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:23:45.474316"], ["id", 1]]
5279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5280
+  (0.4ms) rollback transaction
5281
+  (0.0ms) begin transaction
5282
+  (0.0ms) SAVEPOINT active_record_1
5283
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5284
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:45.476664"], ["updated_at", "2018-04-27 07:23:45.476664"]]
5285
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5286
+  (0.0ms) SAVEPOINT active_record_1
5287
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
5288
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5289
+  (0.4ms) rollback transaction
5290
+  (0.0ms) begin transaction
5291
+  (0.1ms) SAVEPOINT active_record_1
5292
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
5293
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 07:23:45.486720"], ["updated_at", "2018-04-27 07:23:45.486720"]]
5294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5295
+  (0.4ms) rollback transaction
5296
+  (0.0ms) begin transaction
5297
+  (0.0ms) SAVEPOINT active_record_1
5298
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:23:45.490009"], ["updated_at", "2018-04-27 07:23:45.490009"]]
5299
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5300
+  (0.0ms) SAVEPOINT active_record_1
5301
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:45.491193"], ["updated_at", "2018-04-27 07:23:45.491193"]]
5302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5303
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5304
+  (0.2ms) rollback transaction
5305
+  (0.0ms) begin transaction
5306
+  (0.0ms) SAVEPOINT active_record_1
5307
+ SQL (0.5ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:23:45.496262"], ["updated_at", "2018-04-27 07:23:45.496262"]]
5308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5309
+  (0.4ms) rollback transaction
5310
+  (0.1ms) begin transaction
5311
+  (0.0ms) SAVEPOINT active_record_1
5312
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:23:45.499766"], ["updated_at", "2018-04-27 07:23:45.499766"]]
5313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5314
+  (0.0ms) SAVEPOINT active_record_1
5315
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5316
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 07:23:45.500892"], ["updated_at", "2018-04-27 07:23:45.500892"]]
5317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5318
+  (0.6ms) rollback transaction
5319
+  (0.0ms) begin transaction
5320
+  (0.0ms) SAVEPOINT active_record_1
5321
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5322
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:45.504008"], ["updated_at", "2018-04-27 07:23:45.504008"]]
5323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5324
+  (0.0ms) SAVEPOINT active_record_1
5325
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5326
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:23:45.505315"], ["updated_at", "2018-04-27 07:23:45.505315"]]
5327
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5328
+  (0.0ms) SAVEPOINT active_record_1
5329
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5330
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 07:23:45.506290"], ["updated_at", "2018-04-27 07:23:45.506290"]]
5331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5332
+ Processing by SortableController#reorder as HTML
5333
+ Parameters: {"rails_sortable"=>[{"id"=>"1", "klass"=>"Item"}, {"id"=>"3", "klass"=>"Item"}, {"id"=>"2", "klass"=>"Item"}]}
5334
+  (0.1ms) SAVEPOINT active_record_1
5335
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
5336
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 0], ["id", 1]]
5337
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
5338
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1], ["id", 3]]
5339
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
5340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5341
+ Completed 200 OK in 4ms (ActiveRecord: 0.4ms)
5342
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
5343
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
5344
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
5345
+  (0.5ms) rollback transaction
5346
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5347
+  (0.0ms) begin transaction
5348
+  (0.0ms) rollback transaction
5349
+  (0.0ms) begin transaction
5350
+  (0.0ms) SAVEPOINT active_record_1
5351
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5352
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:47.061931"], ["updated_at", "2018-04-27 07:23:47.061931"]]
5353
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5354
+  (1.8ms) rollback transaction
5355
+  (0.0ms) begin transaction
5356
+  (0.0ms) SAVEPOINT active_record_1
5357
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:23:47.067527"], ["updated_at", "2018-04-27 07:23:47.067527"]]
5358
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5359
+  (0.0ms) SAVEPOINT active_record_1
5360
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5361
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 07:23:47.068677"], ["updated_at", "2018-04-27 07:23:47.068677"]]
5362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5363
+  (0.5ms) rollback transaction
5364
+  (0.0ms) begin transaction
5365
+  (0.0ms) SAVEPOINT active_record_1
5366
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:23:47.071749"], ["updated_at", "2018-04-27 07:23:47.071749"]]
5367
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5368
+  (0.5ms) rollback transaction
5369
+  (0.1ms) begin transaction
5370
+  (0.0ms) SAVEPOINT active_record_1
5371
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
5372
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 07:23:47.078302"], ["updated_at", "2018-04-27 07:23:47.078302"]]
5373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5374
+  (0.5ms) rollback transaction
5375
+  (0.0ms) begin transaction
5376
+  (0.0ms) SAVEPOINT active_record_1
5377
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5378
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:47.081131"], ["updated_at", "2018-04-27 07:23:47.081131"]]
5379
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5380
+  (0.0ms) SAVEPOINT active_record_1
5381
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:23:47.083817"], ["id", 1]]
5382
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5383
+  (0.4ms) rollback transaction
5384
+  (0.0ms) begin transaction
5385
+  (0.0ms) SAVEPOINT active_record_1
5386
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5387
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:47.086584"], ["updated_at", "2018-04-27 07:23:47.086584"]]
5388
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5389
+  (0.0ms) SAVEPOINT active_record_1
5390
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
5391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5392
+  (0.5ms) rollback transaction
5393
+  (0.0ms) begin transaction
5394
+  (0.0ms) SAVEPOINT active_record_1
5395
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5396
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:47.090413"], ["updated_at", "2018-04-27 07:23:47.090413"]]
5397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5398
+  (0.4ms) rollback transaction
5399
+  (0.0ms) begin transaction
5400
+  (0.0ms) SAVEPOINT active_record_1
5401
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:23:47.093056"], ["updated_at", "2018-04-27 07:23:47.093056"]]
5402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5403
+  (0.0ms) SAVEPOINT active_record_1
5404
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:47.094006"], ["updated_at", "2018-04-27 07:23:47.094006"]]
5405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5406
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5407
+  (0.4ms) rollback transaction
5408
+  (0.0ms) begin transaction
5409
+  (0.0ms) SAVEPOINT active_record_1
5410
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5411
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:23:47.099265"], ["updated_at", "2018-04-27 07:23:47.099265"]]
5412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5413
+  (0.0ms) SAVEPOINT active_record_1
5414
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5415
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:23:47.101475"], ["updated_at", "2018-04-27 07:23:47.101475"]]
5416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5417
+  (0.0ms) SAVEPOINT active_record_1
5418
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5419
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 07:23:47.103137"], ["updated_at", "2018-04-27 07:23:47.103137"]]
5420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5421
+ Processing by SortableController#reorder as HTML
5422
+ Parameters: {"rails_sortable"=>[{"id"=>"1", "klass"=>"Item"}, {"id"=>"3", "klass"=>"Item"}, {"id"=>"2", "klass"=>"Item"}]}
5423
+  (0.0ms) SAVEPOINT active_record_1
5424
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
5425
+ SQL (0.0ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 0], ["id", 1]]
5426
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
5427
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1], ["id", 3]]
5428
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
5429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5430
+ Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
5431
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
5432
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
5433
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
5434
+  (0.4ms) rollback transaction
5435
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5436
+  (0.1ms) begin transaction
5437
+  (0.0ms) SAVEPOINT active_record_1
5438
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5439
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:26:59.946195"], ["updated_at", "2018-04-27 07:26:59.946195"], ["sort", 1]]
5440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5441
+  (1.7ms) rollback transaction
5442
+  (0.0ms) begin transaction
5443
+  (0.0ms) SAVEPOINT active_record_1
5444
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:26:59.951128"], ["updated_at", "2018-04-27 07:26:59.951128"]]
5445
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5446
+  (0.0ms) SAVEPOINT active_record_1
5447
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:26:59.952118"], ["updated_at", "2018-04-27 07:26:59.952118"]]
5448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5449
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5450
+  (0.5ms) rollback transaction
5451
+  (0.0ms) begin transaction
5452
+  (0.0ms) SAVEPOINT active_record_1
5453
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:26:59.956097"], ["updated_at", "2018-04-27 07:26:59.956097"]]
5454
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5455
+  (0.0ms) SAVEPOINT active_record_1
5456
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5457
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:26:59.957097"], ["updated_at", "2018-04-27 07:26:59.957097"], ["sort", 1001]]
5458
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5459
+  (0.4ms) rollback transaction
5460
+  (0.0ms) begin transaction
5461
+  (0.0ms) SAVEPOINT active_record_1
5462
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:26:59.960355"], ["updated_at", "2018-04-27 07:26:59.960355"]]
5463
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5464
+  (0.4ms) rollback transaction
5465
+  (0.0ms) begin transaction
5466
+  (0.0ms) SAVEPOINT active_record_1
5467
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
5468
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:26:59.965781"], ["updated_at", "2018-04-27 07:26:59.965781"], ["sequence", 1]]
5469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5470
+  (0.4ms) rollback transaction
5471
+  (0.0ms) begin transaction
5472
+  (0.0ms) SAVEPOINT active_record_1
5473
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5474
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:26:59.968411"], ["updated_at", "2018-04-27 07:26:59.968411"], ["sort", 1]]
5475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5476
+  (0.0ms) SAVEPOINT active_record_1
5477
+ SQL (0.2ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:26:59.971233"], ["id", 1]]
5478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5479
+  (0.3ms) rollback transaction
5480
+  (0.0ms) begin transaction
5481
+  (0.0ms) SAVEPOINT active_record_1
5482
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5483
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:26:59.975592"], ["updated_at", "2018-04-27 07:26:59.975592"], ["sort", 1]]
5484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5485
+  (0.0ms) SAVEPOINT active_record_1
5486
+ SQL (0.0ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
5487
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5488
+  (0.4ms) rollback transaction
5489
+  (0.0ms) begin transaction
5490
+  (0.0ms) SAVEPOINT active_record_1
5491
+  (0.0ms) SELECT MAX("first_items"."sort") FROM "first_items"
5492
+ SQL (0.2ms) INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:26:59.982388"], ["updated_at", "2018-04-27 07:26:59.982388"], ["sort", 1]]
5493
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5494
+  (0.0ms) SAVEPOINT active_record_1
5495
+  (0.0ms) SELECT MAX("first_items"."sort") FROM "first_items"
5496
+ SQL (0.0ms) INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:26:59.983708"], ["updated_at", "2018-04-27 07:26:59.983708"], ["sort", 2]]
5497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5498
+  (0.0ms) SAVEPOINT active_record_1
5499
+  (0.2ms) SELECT MAX("second_items"."sort") FROM "second_items"
5500
+ SQL (0.1ms) INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:26:59.987021"], ["updated_at", "2018-04-27 07:26:59.987021"], ["sort", 1]]
5501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5502
+  (0.0ms) SAVEPOINT active_record_1
5503
+  (0.0ms) SELECT MAX("second_items"."sort") FROM "second_items"
5504
+ SQL (0.1ms) INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:26:59.988443"], ["updated_at", "2018-04-27 07:26:59.988443"], ["sort", 2]]
5505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5506
+ Processing by SortableController#reorder as HTML
5507
+ Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"2"}, {"klass"=>"Item", "id"=>"2"}, {"klass"=>"Item", "id"=>"1"}, {"klass"=>"SecondItem", "id"=>"1"}]}
5508
+  (0.0ms) SAVEPOINT active_record_1
5509
+ SecondItem Load (0.1ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 2]]
5510
+ SQL (0.1ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:26:59.992749"], ["id", 2]]
5511
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
5512
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
5513
+ Completed 404 Not Found in 2ms (ActiveRecord: 0.3ms)
5514
+  (0.5ms) rollback transaction
5515
+  (0.0ms) begin transaction
5516
+  (0.0ms) SAVEPOINT active_record_1
5517
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5518
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:26:59.995885"], ["updated_at", "2018-04-27 07:26:59.995885"], ["sort", 1]]
5519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5520
+  (0.0ms) SAVEPOINT active_record_1
5521
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5522
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:26:59.997147"], ["updated_at", "2018-04-27 07:26:59.997147"], ["sort", 2]]
5523
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5524
+  (0.0ms) SAVEPOINT active_record_1
5525
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5526
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:26:59.998109"], ["updated_at", "2018-04-27 07:26:59.998109"], ["sort", 3]]
5527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5528
+ Processing by SortableController#reorder as HTML
5529
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"1"}, {"klass"=>"Item", "id"=>"3"}, {"klass"=>"Item", "id"=>"2"}]}
5530
+  (0.0ms) SAVEPOINT active_record_1
5531
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
5532
+ SQL (0.0ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 0], ["id", 1]]
5533
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
5534
+ SQL (0.0ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1], ["id", 3]]
5535
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
5536
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5537
+ Completed 200 OK in 6ms (ActiveRecord: 0.2ms)
5538
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
5539
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
5540
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
5541
+  (0.4ms) rollback transaction
5542
+  (0.1ms) begin transaction
5543
+  (0.0ms) SAVEPOINT active_record_1
5544
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5545
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:27:00.009506"], ["updated_at", "2018-04-27 07:27:00.009506"], ["sort", 1]]
5546
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5547
+  (0.4ms) rollback transaction
5548
+  (0.1ms) begin transaction
5549
+  (0.0ms) rollback transaction
5550
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5551
+  (0.0ms) begin transaction
5552
+  (0.0ms) SAVEPOINT active_record_1
5553
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5554
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.186498"], ["updated_at", "2018-04-27 07:28:11.186498"], ["sort", 1]]
5555
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5556
+  (0.0ms) SAVEPOINT active_record_1
5557
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
5558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5559
+  (1.8ms) rollback transaction
5560
+  (0.0ms) begin transaction
5561
+  (0.0ms) SAVEPOINT active_record_1
5562
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5563
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.195607"], ["updated_at", "2018-04-27 07:28:11.195607"], ["sort", 1]]
5564
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5565
+  (0.0ms) SAVEPOINT active_record_1
5566
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:28:11.197336"], ["id", 1]]
5567
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5568
+  (0.5ms) rollback transaction
5569
+  (0.1ms) begin transaction
5570
+  (0.0ms) SAVEPOINT active_record_1
5571
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
5572
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.203545"], ["updated_at", "2018-04-27 07:28:11.203545"], ["sequence", 1]]
5573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5574
+  (0.4ms) rollback transaction
5575
+  (0.1ms) begin transaction
5576
+  (0.1ms) SAVEPOINT active_record_1
5577
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:28:11.207827"], ["updated_at", "2018-04-27 07:28:11.207827"]]
5578
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5579
+  (0.4ms) rollback transaction
5580
+  (0.0ms) begin transaction
5581
+  (0.0ms) SAVEPOINT active_record_1
5582
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:28:11.210094"], ["updated_at", "2018-04-27 07:28:11.210094"]]
5583
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5584
+  (0.0ms) SAVEPOINT active_record_1
5585
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5586
+ SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.211198"], ["updated_at", "2018-04-27 07:28:11.211198"], ["sort", 1001]]
5587
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5588
+  (0.4ms) rollback transaction
5589
+  (0.0ms) begin transaction
5590
+  (0.0ms) SAVEPOINT active_record_1
5591
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5592
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.213809"], ["updated_at", "2018-04-27 07:28:11.213809"], ["sort", 1]]
5593
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5594
+  (0.4ms) rollback transaction
5595
+  (0.0ms) begin transaction
5596
+  (0.0ms) SAVEPOINT active_record_1
5597
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:28:11.216528"], ["updated_at", "2018-04-27 07:28:11.216528"]]
5598
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5599
+  (0.0ms) SAVEPOINT active_record_1
5600
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:11.217668"], ["updated_at", "2018-04-27 07:28:11.217668"]]
5601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5602
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5603
+  (0.4ms) rollback transaction
5604
+  (0.0ms) begin transaction
5605
+  (0.1ms) SAVEPOINT active_record_1
5606
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5607
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.223966"], ["updated_at", "2018-04-27 07:28:11.223966"], ["sort", 1]]
5608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5609
+  (0.4ms) rollback transaction
5610
+  (0.0ms) begin transaction
5611
+  (0.0ms) rollback transaction
5612
+  (0.0ms) begin transaction
5613
+  (0.0ms) SAVEPOINT active_record_1
5614
+  (0.1ms) SELECT MAX("first_items"."sort") FROM "first_items"
5615
+ SQL (0.2ms) INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.235104"], ["updated_at", "2018-04-27 07:28:11.235104"], ["sort", 1]]
5616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5617
+  (0.0ms) SAVEPOINT active_record_1
5618
+  (0.0ms) SELECT MAX("first_items"."sort") FROM "first_items"
5619
+ SQL (0.0ms) INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.237317"], ["updated_at", "2018-04-27 07:28:11.237317"], ["sort", 2]]
5620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5621
+  (0.1ms) SAVEPOINT active_record_1
5622
+  (0.1ms) SELECT MAX("second_items"."sort") FROM "second_items"
5623
+ SQL (0.1ms) INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.242238"], ["updated_at", "2018-04-27 07:28:11.242238"], ["sort", 1]]
5624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5625
+  (0.0ms) SAVEPOINT active_record_1
5626
+  (0.0ms) SELECT MAX("second_items"."sort") FROM "second_items"
5627
+ SQL (0.0ms) INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.243520"], ["updated_at", "2018-04-27 07:28:11.243520"], ["sort", 2]]
5628
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5629
+ Processing by SortableController#reorder as HTML
5630
+ Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"2"}, {"klass"=>"Item", "id"=>"2"}, {"klass"=>"Item", "id"=>"1"}, {"klass"=>"SecondItem", "id"=>"1"}]}
5631
+  (0.1ms) SAVEPOINT active_record_1
5632
+ SecondItem Load (0.1ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 2]]
5633
+ SQL (0.1ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:28:11.247018"], ["id", 2]]
5634
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
5635
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
5636
+ Completed 404 Not Found in 2ms (ActiveRecord: 0.3ms)
5637
+  (0.8ms) rollback transaction
5638
+  (0.1ms) begin transaction
5639
+  (0.0ms) SAVEPOINT active_record_1
5640
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5641
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.250684"], ["updated_at", "2018-04-27 07:28:11.250684"], ["sort", 1]]
5642
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5643
+  (0.0ms) SAVEPOINT active_record_1
5644
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5645
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.252280"], ["updated_at", "2018-04-27 07:28:11.252280"], ["sort", 2]]
5646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5647
+  (0.0ms) SAVEPOINT active_record_1
5648
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5649
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:11.256913"], ["updated_at", "2018-04-27 07:28:11.256913"], ["sort", 3]]
5650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5651
+ Processing by SortableController#reorder as HTML
5652
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"1"}, {"klass"=>"Item", "id"=>"3"}, {"klass"=>"Item", "id"=>"2"}]}
5653
+  (0.0ms) SAVEPOINT active_record_1
5654
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
5655
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:28:11.259347"], ["id", 1]]
5656
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
5657
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:28:11.260387"], ["id", 3]]
5658
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
5659
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5660
+ Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
5661
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
5662
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
5663
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
5664
+  (0.4ms) rollback transaction
5665
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5666
+  (0.0ms) begin transaction
5667
+  (0.0ms) SAVEPOINT active_record_1
5668
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5669
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.841964"], ["updated_at", "2018-04-27 07:28:31.841964"], ["sort", 1]]
5670
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5671
+  (0.0ms) SAVEPOINT active_record_1
5672
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5673
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.843624"], ["updated_at", "2018-04-27 07:28:31.843624"], ["sort", 2]]
5674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5675
+  (0.0ms) SAVEPOINT active_record_1
5676
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5677
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.844531"], ["updated_at", "2018-04-27 07:28:31.844531"], ["sort", 3]]
5678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5679
+ Processing by SortableController#reorder as HTML
5680
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"1"}, {"klass"=>"Item", "id"=>"3"}, {"klass"=>"Item", "id"=>"2"}]}
5681
+  (0.0ms) SAVEPOINT active_record_1
5682
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
5683
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:28:31.849218"], ["id", 1]]
5684
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
5685
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:28:31.850190"], ["id", 3]]
5686
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
5687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5688
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
5689
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
5690
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
5691
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
5692
+  (1.7ms) rollback transaction
5693
+  (0.0ms) begin transaction
5694
+  (0.0ms) SAVEPOINT active_record_1
5695
+  (0.1ms) SELECT MAX("first_items"."sort") FROM "first_items"
5696
+ SQL (0.2ms) INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.859319"], ["updated_at", "2018-04-27 07:28:31.859319"], ["sort", 1]]
5697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5698
+  (0.0ms) SAVEPOINT active_record_1
5699
+  (0.0ms) SELECT MAX("first_items"."sort") FROM "first_items"
5700
+ SQL (0.0ms) INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.860660"], ["updated_at", "2018-04-27 07:28:31.860660"], ["sort", 2]]
5701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5702
+  (0.0ms) SAVEPOINT active_record_1
5703
+  (0.0ms) SELECT MAX("second_items"."sort") FROM "second_items"
5704
+ SQL (0.1ms) INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.863681"], ["updated_at", "2018-04-27 07:28:31.863681"], ["sort", 1]]
5705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5706
+  (0.0ms) SAVEPOINT active_record_1
5707
+  (0.0ms) SELECT MAX("second_items"."sort") FROM "second_items"
5708
+ SQL (0.0ms) INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.865013"], ["updated_at", "2018-04-27 07:28:31.865013"], ["sort", 2]]
5709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5710
+ Processing by SortableController#reorder as HTML
5711
+ Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"2"}, {"klass"=>"FirstItem", "id"=>"2"}, {"klass"=>"FirstItem", "id"=>"1"}, {"klass"=>"SecondItem", "id"=>"1"}]}
5712
+  (0.0ms) SAVEPOINT active_record_1
5713
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 2]]
5714
+ SQL (0.0ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:28:31.867030"], ["id", 2]]
5715
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 2]]
5716
+ SQL (0.0ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:28:31.867877"], ["id", 2]]
5717
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 1]]
5718
+ SQL (0.0ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 2], ["updated_at", "2018-04-27 07:28:31.868608"], ["id", 1]]
5719
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 1]]
5720
+ SQL (0.0ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 3], ["updated_at", "2018-04-27 07:28:31.869345"], ["id", 1]]
5721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5722
+ Completed 200 OK in 3ms (ActiveRecord: 0.3ms)
5723
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 2]]
5724
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 2]]
5725
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 1]]
5726
+  (0.7ms) rollback transaction
5727
+  (0.0ms) begin transaction
5728
+  (0.0ms) SAVEPOINT active_record_1
5729
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:28:31.873520"], ["updated_at", "2018-04-27 07:28:31.873520"]]
5730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5731
+  (0.0ms) SAVEPOINT active_record_1
5732
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:31.874511"], ["updated_at", "2018-04-27 07:28:31.874511"]]
5733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5734
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5735
+  (0.4ms) rollback transaction
5736
+  (0.0ms) begin transaction
5737
+  (0.0ms) SAVEPOINT active_record_1
5738
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:28:31.878505"], ["updated_at", "2018-04-27 07:28:31.878505"]]
5739
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5740
+  (0.4ms) rollback transaction
5741
+  (0.0ms) begin transaction
5742
+  (0.0ms) SAVEPOINT active_record_1
5743
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:28:31.880505"], ["updated_at", "2018-04-27 07:28:31.880505"]]
5744
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5745
+  (0.0ms) SAVEPOINT active_record_1
5746
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5747
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.881382"], ["updated_at", "2018-04-27 07:28:31.881382"], ["sort", 1001]]
5748
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5749
+  (0.4ms) rollback transaction
5750
+  (0.0ms) begin transaction
5751
+  (0.0ms) SAVEPOINT active_record_1
5752
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5753
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.883530"], ["updated_at", "2018-04-27 07:28:31.883530"], ["sort", 1]]
5754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5755
+  (0.0ms) SAVEPOINT active_record_1
5756
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:28:31.885975"], ["id", 1]]
5757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5758
+  (0.4ms) rollback transaction
5759
+  (0.1ms) begin transaction
5760
+  (0.0ms) SAVEPOINT active_record_1
5761
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
5762
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.888242"], ["updated_at", "2018-04-27 07:28:31.888242"], ["sort", 1]]
5763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5764
+  (0.0ms) SAVEPOINT active_record_1
5765
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
5766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5767
+  (0.4ms) rollback transaction
5768
+  (0.1ms) begin transaction
5769
+  (0.0ms) SAVEPOINT active_record_1
5770
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
5771
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.898633"], ["updated_at", "2018-04-27 07:28:31.898633"], ["sequence", 1]]
5772
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5773
+  (0.4ms) rollback transaction
5774
+  (0.0ms) begin transaction
5775
+  (0.0ms) SAVEPOINT active_record_1
5776
+  (0.2ms) SELECT MAX("items"."sort") FROM "items"
5777
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.901859"], ["updated_at", "2018-04-27 07:28:31.901859"], ["sort", 1]]
5778
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5779
+  (0.5ms) rollback transaction
5780
+  (0.1ms) begin transaction
5781
+  (0.0ms) SAVEPOINT active_record_1
5782
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5783
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:31.907343"], ["updated_at", "2018-04-27 07:28:31.907343"], ["sort", 1]]
5784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5785
+  (0.4ms) rollback transaction
5786
+  (0.0ms) begin transaction
5787
+  (0.0ms) rollback transaction
5788
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5789
+  (0.0ms) begin transaction
5790
+  (0.0ms) SAVEPOINT active_record_1
5791
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5792
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.446719"], ["updated_at", "2018-04-27 07:28:45.446719"], ["sort", 1]]
5793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5794
+  (0.0ms) SAVEPOINT active_record_1
5795
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5796
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.448336"], ["updated_at", "2018-04-27 07:28:45.448336"], ["sort", 2]]
5797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5798
+  (0.0ms) SAVEPOINT active_record_1
5799
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5800
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.449237"], ["updated_at", "2018-04-27 07:28:45.449237"], ["sort", 3]]
5801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5802
+ Processing by SortableController#reorder as HTML
5803
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"1"}, {"klass"=>"Item", "id"=>"3"}, {"klass"=>"Item", "id"=>"2"}]}
5804
+  (0.0ms) SAVEPOINT active_record_1
5805
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
5806
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:28:45.454766"], ["id", 1]]
5807
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
5808
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:28:45.455934"], ["id", 3]]
5809
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
5810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5811
+ Completed 200 OK in 5ms (ActiveRecord: 0.3ms)
5812
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
5813
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
5814
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
5815
+  (1.7ms) rollback transaction
5816
+  (0.0ms) begin transaction
5817
+  (0.1ms) SAVEPOINT active_record_1
5818
+  (0.1ms) SELECT MAX("first_items"."sort") FROM "first_items"
5819
+ SQL (0.3ms) INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.464092"], ["updated_at", "2018-04-27 07:28:45.464092"], ["sort", 1]]
5820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5821
+  (0.1ms) SAVEPOINT active_record_1
5822
+  (0.0ms) SELECT MAX("first_items"."sort") FROM "first_items"
5823
+ SQL (0.0ms) INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.466188"], ["updated_at", "2018-04-27 07:28:45.466188"], ["sort", 2]]
5824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5825
+  (0.0ms) SAVEPOINT active_record_1
5826
+  (0.1ms) SELECT MAX("second_items"."sort") FROM "second_items"
5827
+ SQL (0.1ms) INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.469719"], ["updated_at", "2018-04-27 07:28:45.469719"], ["sort", 1]]
5828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5829
+  (0.0ms) SAVEPOINT active_record_1
5830
+  (0.0ms) SELECT MAX("second_items"."sort") FROM "second_items"
5831
+ SQL (0.0ms) INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.471014"], ["updated_at", "2018-04-27 07:28:45.471014"], ["sort", 2]]
5832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5833
+ Processing by SortableController#reorder as HTML
5834
+ Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"2"}, {"klass"=>"FirstItem", "id"=>"2"}, {"klass"=>"FirstItem", "id"=>"1"}, {"klass"=>"SecondItem", "id"=>"1"}]}
5835
+  (0.0ms) SAVEPOINT active_record_1
5836
+ SecondItem Load (0.1ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 2]]
5837
+ SQL (0.0ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:28:45.473453"], ["id", 2]]
5838
+ FirstItem Load (0.1ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 2]]
5839
+ SQL (0.1ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:28:45.474401"], ["id", 2]]
5840
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 1]]
5841
+ SQL (0.0ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 2], ["updated_at", "2018-04-27 07:28:45.475431"], ["id", 1]]
5842
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 1]]
5843
+ SQL (0.0ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 3], ["updated_at", "2018-04-27 07:28:45.476505"], ["id", 1]]
5844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5845
+ Completed 200 OK in 4ms (ActiveRecord: 0.4ms)
5846
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 2]]
5847
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 2]]
5848
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 1]]
5849
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 1]]
5850
+  (0.5ms) rollback transaction
5851
+  (0.0ms) begin transaction
5852
+  (0.0ms) SAVEPOINT active_record_1
5853
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
5854
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.483170"], ["updated_at", "2018-04-27 07:28:45.483170"], ["sequence", 1]]
5855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5856
+  (0.4ms) rollback transaction
5857
+  (0.0ms) begin transaction
5858
+  (0.0ms) SAVEPOINT active_record_1
5859
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5860
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.486015"], ["updated_at", "2018-04-27 07:28:45.486015"], ["sort", 1]]
5861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5862
+  (0.1ms) SAVEPOINT active_record_1
5863
+ SQL (0.0ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:28:45.488844"], ["id", 1]]
5864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5865
+  (0.4ms) rollback transaction
5866
+  (0.0ms) begin transaction
5867
+  (0.0ms) SAVEPOINT active_record_1
5868
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5869
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.490807"], ["updated_at", "2018-04-27 07:28:45.490807"], ["sort", 1]]
5870
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5871
+  (0.0ms) SAVEPOINT active_record_1
5872
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
5873
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5874
+  (0.5ms) rollback transaction
5875
+  (0.0ms) begin transaction
5876
+  (0.0ms) SAVEPOINT active_record_1
5877
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:28:45.494284"], ["updated_at", "2018-04-27 07:28:45.494284"]]
5878
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5879
+  (0.0ms) SAVEPOINT active_record_1
5880
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5881
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.495275"], ["updated_at", "2018-04-27 07:28:45.495275"], ["sort", 1001]]
5882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5883
+  (0.4ms) rollback transaction
5884
+  (0.0ms) begin transaction
5885
+  (0.1ms) SAVEPOINT active_record_1
5886
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:28:45.500970"], ["updated_at", "2018-04-27 07:28:45.500970"]]
5887
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5888
+  (0.4ms) rollback transaction
5889
+  (0.0ms) begin transaction
5890
+  (0.0ms) SAVEPOINT active_record_1
5891
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5892
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.502944"], ["updated_at", "2018-04-27 07:28:45.502944"], ["sort", 1]]
5893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5894
+  (0.4ms) rollback transaction
5895
+  (0.0ms) begin transaction
5896
+  (0.0ms) SAVEPOINT active_record_1
5897
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:28:45.505793"], ["updated_at", "2018-04-27 07:28:45.505793"]]
5898
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5899
+  (0.0ms) SAVEPOINT active_record_1
5900
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:45.506769"], ["updated_at", "2018-04-27 07:28:45.506769"]]
5901
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5902
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
5903
+  (0.4ms) rollback transaction
5904
+  (0.0ms) begin transaction
5905
+  (0.0ms) rollback transaction
5906
+  (0.0ms) begin transaction
5907
+  (0.0ms) SAVEPOINT active_record_1
5908
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5909
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:28:45.517474"], ["updated_at", "2018-04-27 07:28:45.517474"], ["sort", 1]]
5910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5911
+  (0.4ms) rollback transaction
5912
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5913
+  (0.0ms) begin transaction
5914
+  (0.0ms) SAVEPOINT active_record_1
5915
+  (0.1ms) SELECT MAX("first_items"."sort") FROM "first_items"
5916
+ SQL (0.3ms) INSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:46.982498"], ["updated_at", "2018-04-27 07:28:46.982498"]]
5917
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5918
+  (0.0ms) SAVEPOINT active_record_1
5919
+  (0.0ms) SELECT MAX("first_items"."sort") FROM "first_items"
5920
+ SQL (0.1ms) INSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:28:46.984159"], ["updated_at", "2018-04-27 07:28:46.984159"]]
5921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5922
+  (0.1ms) SAVEPOINT active_record_1
5923
+  (0.1ms) SELECT MAX("second_items"."sort") FROM "second_items"
5924
+ SQL (0.1ms) INSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:46.988837"], ["updated_at", "2018-04-27 07:28:46.988837"]]
5925
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5926
+  (0.0ms) SAVEPOINT active_record_1
5927
+  (0.0ms) SELECT MAX("second_items"."sort") FROM "second_items"
5928
+ SQL (0.1ms) INSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:28:46.990171"], ["updated_at", "2018-04-27 07:28:46.990171"]]
5929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5930
+ Processing by SortableController#reorder as HTML
5931
+ Parameters: {"rails_sortable"=>[{"id"=>"2", "klass"=>"SecondItem"}, {"id"=>"2", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"SecondItem"}]}
5932
+  (0.0ms) SAVEPOINT active_record_1
5933
+ SecondItem Load (0.1ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
5934
+ SQL (0.2ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:28:46.996744"], ["id", 2]]
5935
+ FirstItem Load (0.1ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
5936
+ SQL (0.1ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:28:46.998442"], ["id", 2]]
5937
+ FirstItem Load (0.1ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
5938
+ SQL (0.1ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 2], ["updated_at", "2018-04-27 07:28:46.999814"], ["id", 1]]
5939
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
5940
+ SQL (0.0ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 3], ["updated_at", "2018-04-27 07:28:47.001085"], ["id", 1]]
5941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5942
+ Completed 200 OK in 7ms (ActiveRecord: 0.7ms)
5943
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
5944
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
5945
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
5946
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
5947
+  (1.6ms) rollback transaction
5948
+  (0.0ms) begin transaction
5949
+  (0.0ms) SAVEPOINT active_record_1
5950
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5951
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:47.010930"], ["updated_at", "2018-04-27 07:28:47.010930"]]
5952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5953
+  (0.0ms) SAVEPOINT active_record_1
5954
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5955
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:28:47.012555"], ["updated_at", "2018-04-27 07:28:47.012555"]]
5956
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5957
+  (0.0ms) SAVEPOINT active_record_1
5958
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5959
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 07:28:47.013612"], ["updated_at", "2018-04-27 07:28:47.013612"]]
5960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5961
+ Processing by SortableController#reorder as HTML
5962
+ Parameters: {"rails_sortable"=>[{"id"=>"1", "klass"=>"Item"}, {"id"=>"3", "klass"=>"Item"}, {"id"=>"2", "klass"=>"Item"}]}
5963
+  (0.0ms) SAVEPOINT active_record_1
5964
+ Item Load (3.6ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
5965
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:28:47.020353"], ["id", 1]]
5966
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
5967
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:28:47.021591"], ["id", 3]]
5968
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
5969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5970
+ Completed 200 OK in 7ms (ActiveRecord: 3.9ms)
5971
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
5972
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
5973
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
5974
+  (0.4ms) rollback transaction
5975
+  (0.0ms) begin transaction
5976
+  (0.0ms) SAVEPOINT active_record_1
5977
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
5978
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:47.025717"], ["updated_at", "2018-04-27 07:28:47.025717"]]
5979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5980
+  (0.4ms) rollback transaction
5981
+  (0.0ms) begin transaction
5982
+  (0.0ms) SAVEPOINT active_record_1
5983
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:28:47.028875"], ["updated_at", "2018-04-27 07:28:47.028875"]]
5984
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5985
+  (0.0ms) SAVEPOINT active_record_1
5986
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
5987
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 07:28:47.029827"], ["updated_at", "2018-04-27 07:28:47.029827"]]
5988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5989
+  (0.4ms) rollback transaction
5990
+  (0.0ms) begin transaction
5991
+  (0.0ms) SAVEPOINT active_record_1
5992
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:28:47.032035"], ["updated_at", "2018-04-27 07:28:47.032035"]]
5993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5994
+  (0.5ms) rollback transaction
5995
+  (0.0ms) begin transaction
5996
+  (0.0ms) SAVEPOINT active_record_1
5997
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
5998
+ SQL (0.3ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 07:28:47.038714"], ["updated_at", "2018-04-27 07:28:47.038714"]]
5999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6000
+  (0.4ms) rollback transaction
6001
+  (0.0ms) begin transaction
6002
+  (0.0ms) SAVEPOINT active_record_1
6003
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6004
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:47.041533"], ["updated_at", "2018-04-27 07:28:47.041533"]]
6005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6006
+  (0.1ms) SAVEPOINT active_record_1
6007
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:28:47.044292"], ["id", 1]]
6008
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6009
+  (0.4ms) rollback transaction
6010
+  (0.0ms) begin transaction
6011
+  (0.1ms) SAVEPOINT active_record_1
6012
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6013
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:47.046688"], ["updated_at", "2018-04-27 07:28:47.046688"]]
6014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6015
+  (0.0ms) SAVEPOINT active_record_1
6016
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
6017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6018
+  (0.4ms) rollback transaction
6019
+  (0.1ms) begin transaction
6020
+  (0.0ms) SAVEPOINT active_record_1
6021
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:28:47.050954"], ["updated_at", "2018-04-27 07:28:47.050954"]]
6022
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6023
+  (0.0ms) SAVEPOINT active_record_1
6024
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:47.051966"], ["updated_at", "2018-04-27 07:28:47.051966"]]
6025
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6026
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6027
+  (0.4ms) rollback transaction
6028
+  (0.0ms) begin transaction
6029
+  (0.0ms) rollback transaction
6030
+  (0.0ms) begin transaction
6031
+  (0.0ms) SAVEPOINT active_record_1
6032
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6033
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:47.059347"], ["updated_at", "2018-04-27 07:28:47.059347"]]
6034
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6035
+  (0.5ms) rollback transaction
6036
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
6037
+  (0.0ms) begin transaction
6038
+  (0.0ms) SAVEPOINT active_record_1
6039
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:28:48.530107"], ["updated_at", "2018-04-27 07:28:48.530107"]]
6040
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6041
+  (0.0ms) SAVEPOINT active_record_1
6042
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:48.531429"], ["updated_at", "2018-04-27 07:28:48.531429"]]
6043
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6044
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6045
+  (1.8ms) rollback transaction
6046
+  (0.1ms) begin transaction
6047
+  (0.0ms) SAVEPOINT active_record_1
6048
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6049
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:48.538056"], ["updated_at", "2018-04-27 07:28:48.538056"]]
6050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6051
+  (0.4ms) rollback transaction
6052
+  (0.0ms) begin transaction
6053
+  (0.0ms) SAVEPOINT active_record_1
6054
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:28:48.541470"], ["updated_at", "2018-04-27 07:28:48.541470"]]
6055
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6056
+  (0.5ms) rollback transaction
6057
+  (0.1ms) begin transaction
6058
+  (0.1ms) SAVEPOINT active_record_1
6059
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:28:48.545725"], ["updated_at", "2018-04-27 07:28:48.545725"]]
6060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6061
+  (0.0ms) SAVEPOINT active_record_1
6062
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
6063
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 07:28:48.547524"], ["updated_at", "2018-04-27 07:28:48.547524"]]
6064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6065
+  (0.4ms) rollback transaction
6066
+  (0.0ms) begin transaction
6067
+  (0.0ms) SAVEPOINT active_record_1
6068
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6069
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:48.550147"], ["updated_at", "2018-04-27 07:28:48.550147"]]
6070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6071
+  (0.1ms) SAVEPOINT active_record_1
6072
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
6073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6074
+  (0.4ms) rollback transaction
6075
+  (0.0ms) begin transaction
6076
+  (0.0ms) SAVEPOINT active_record_1
6077
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6078
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:48.555691"], ["updated_at", "2018-04-27 07:28:48.555691"]]
6079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6080
+  (0.0ms) SAVEPOINT active_record_1
6081
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:28:48.556902"], ["id", 1]]
6082
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6083
+  (0.3ms) rollback transaction
6084
+  (0.0ms) begin transaction
6085
+  (0.0ms) SAVEPOINT active_record_1
6086
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
6087
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 07:28:48.562743"], ["updated_at", "2018-04-27 07:28:48.562743"]]
6088
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6089
+  (0.4ms) rollback transaction
6090
+  (0.0ms) begin transaction
6091
+  (0.1ms) SAVEPOINT active_record_1
6092
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6093
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:48.568271"], ["updated_at", "2018-04-27 07:28:48.568271"]]
6094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6095
+  (0.0ms) SAVEPOINT active_record_1
6096
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
6097
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:28:48.569706"], ["updated_at", "2018-04-27 07:28:48.569706"]]
6098
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6099
+  (0.0ms) SAVEPOINT active_record_1
6100
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
6101
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 07:28:48.570639"], ["updated_at", "2018-04-27 07:28:48.570639"]]
6102
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6103
+ Processing by SortableController#reorder as HTML
6104
+ Parameters: {"rails_sortable"=>[{"id"=>"1", "klass"=>"Item"}, {"id"=>"3", "klass"=>"Item"}, {"id"=>"2", "klass"=>"Item"}]}
6105
+  (0.1ms) SAVEPOINT active_record_1
6106
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6107
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:28:48.577169"], ["id", 1]]
6108
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
6109
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:28:48.581738"], ["id", 3]]
6110
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6112
+ Completed 200 OK in 7ms (ActiveRecord: 0.4ms)
6113
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6114
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6115
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
6116
+  (0.5ms) rollback transaction
6117
+  (0.0ms) begin transaction
6118
+  (0.0ms) SAVEPOINT active_record_1
6119
+  (0.1ms) SELECT MAX("first_items"."sort") FROM "first_items"
6120
+ SQL (0.2ms) INSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:48.590411"], ["updated_at", "2018-04-27 07:28:48.590411"]]
6121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6122
+  (0.0ms) SAVEPOINT active_record_1
6123
+  (0.0ms) SELECT MAX("first_items"."sort") FROM "first_items"
6124
+ SQL (0.1ms) INSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:28:48.591885"], ["updated_at", "2018-04-27 07:28:48.591885"]]
6125
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6126
+  (0.0ms) SAVEPOINT active_record_1
6127
+  (0.1ms) SELECT MAX("second_items"."sort") FROM "second_items"
6128
+ SQL (0.1ms) INSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:48.597179"], ["updated_at", "2018-04-27 07:28:48.597179"]]
6129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6130
+  (0.0ms) SAVEPOINT active_record_1
6131
+  (0.0ms) SELECT MAX("second_items"."sort") FROM "second_items"
6132
+ SQL (0.1ms) INSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:28:48.598461"], ["updated_at", "2018-04-27 07:28:48.598461"]]
6133
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6134
+ Processing by SortableController#reorder as HTML
6135
+ Parameters: {"rails_sortable"=>[{"id"=>"2", "klass"=>"SecondItem"}, {"id"=>"2", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"SecondItem"}]}
6136
+  (0.0ms) SAVEPOINT active_record_1
6137
+ SecondItem Load (0.1ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6138
+ SQL (0.1ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:28:48.601637"], ["id", 2]]
6139
+ FirstItem Load (0.1ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6140
+ SQL (0.1ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:28:48.602749"], ["id", 2]]
6141
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6142
+ SQL (0.0ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 2], ["updated_at", "2018-04-27 07:28:48.603672"], ["id", 1]]
6143
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6144
+ SQL (0.1ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 3], ["updated_at", "2018-04-27 07:28:48.604739"], ["id", 1]]
6145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6146
+ Completed 200 OK in 5ms (ActiveRecord: 0.5ms)
6147
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6148
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6149
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6150
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6151
+  (0.7ms) rollback transaction
6152
+  (0.0ms) begin transaction
6153
+  (0.1ms) SAVEPOINT active_record_1
6154
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6155
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:28:48.610145"], ["updated_at", "2018-04-27 07:28:48.610145"]]
6156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6157
+  (0.4ms) rollback transaction
6158
+  (0.0ms) begin transaction
6159
+  (0.1ms) rollback transaction
6160
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6161
+  (0.1ms) begin transaction
6162
+  (0.0ms) rollback transaction
6163
+  (0.0ms) begin transaction
6164
+  (0.0ms) SAVEPOINT active_record_1
6165
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6166
+ SQL (0.3ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.084699"], ["updated_at", "2018-04-27 07:31:55.084699"], ["sort", 1]]
6167
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6168
+  (1.8ms) rollback transaction
6169
+  (0.0ms) begin transaction
6170
+  (0.0ms) SAVEPOINT active_record_1
6171
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:31:55.089749"], ["updated_at", "2018-04-27 07:31:55.089749"]]
6172
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6173
+  (0.0ms) SAVEPOINT active_record_1
6174
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:55.090701"], ["updated_at", "2018-04-27 07:31:55.090701"]]
6175
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6176
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6177
+  (0.4ms) rollback transaction
6178
+  (0.0ms) begin transaction
6179
+  (0.0ms) SAVEPOINT active_record_1
6180
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6181
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.095402"], ["updated_at", "2018-04-27 07:31:55.095402"], ["sort", 1]]
6182
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6183
+  (0.0ms) SAVEPOINT active_record_1
6184
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:31:55.098024"], ["id", 1]]
6185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6186
+  (0.3ms) rollback transaction
6187
+  (0.0ms) begin transaction
6188
+  (0.0ms) SAVEPOINT active_record_1
6189
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6190
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.101938"], ["updated_at", "2018-04-27 07:31:55.101938"], ["sort", 1]]
6191
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6192
+  (0.0ms) SAVEPOINT active_record_1
6193
+ SQL (0.0ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
6194
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6195
+  (0.4ms) rollback transaction
6196
+  (0.0ms) begin transaction
6197
+  (0.0ms) SAVEPOINT active_record_1
6198
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
6199
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("created_at", "updated_at", "sequence") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.107279"], ["updated_at", "2018-04-27 07:31:55.107279"], ["sequence", 1]]
6200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6201
+  (0.4ms) rollback transaction
6202
+  (0.0ms) begin transaction
6203
+  (0.0ms) SAVEPOINT active_record_1
6204
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:31:55.110816"], ["updated_at", "2018-04-27 07:31:55.110816"]]
6205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6206
+  (0.0ms) SAVEPOINT active_record_1
6207
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
6208
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.112033"], ["updated_at", "2018-04-27 07:31:55.112033"], ["sort", 1001]]
6209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6210
+  (0.4ms) rollback transaction
6211
+  (0.0ms) begin transaction
6212
+  (0.0ms) SAVEPOINT active_record_1
6213
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:31:55.114130"], ["updated_at", "2018-04-27 07:31:55.114130"]]
6214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6215
+  (0.4ms) rollback transaction
6216
+  (0.0ms) begin transaction
6217
+  (0.0ms) SAVEPOINT active_record_1
6218
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6219
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.116047"], ["updated_at", "2018-04-27 07:31:55.116047"], ["sort", 1]]
6220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6221
+  (0.4ms) rollback transaction
6222
+  (0.1ms) begin transaction
6223
+  (0.0ms) SAVEPOINT active_record_1
6224
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6225
+ SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.119484"], ["updated_at", "2018-04-27 07:31:55.119484"], ["sort", 1]]
6226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6227
+  (0.0ms) SAVEPOINT active_record_1
6228
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
6229
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.120691"], ["updated_at", "2018-04-27 07:31:55.120691"], ["sort", 2]]
6230
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6231
+  (0.0ms) SAVEPOINT active_record_1
6232
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
6233
+ SQL (0.0ms) INSERT INTO "items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.121543"], ["updated_at", "2018-04-27 07:31:55.121543"], ["sort", 3]]
6234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6235
+ Processing by SortableController#reorder as HTML
6236
+ Parameters: {"rails_sortable"=>[{"klass"=>"Item", "id"=>"1"}, {"klass"=>"Item", "id"=>"3"}, {"klass"=>"Item", "id"=>"2"}]}
6237
+  (0.0ms) SAVEPOINT active_record_1
6238
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
6239
+ SQL (0.0ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 0], ["id", 1]]
6240
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
6241
+ SQL (0.0ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1], ["id", 3]]
6242
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
6243
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6244
+ Completed 200 OK in 3ms (ActiveRecord: 0.2ms)
6245
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 1]]
6246
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 2]]
6247
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT 1 [["id", 3]]
6248
+  (0.4ms) rollback transaction
6249
+  (0.1ms) begin transaction
6250
+  (0.0ms) SAVEPOINT active_record_1
6251
+  (0.1ms) SELECT MAX("first_items"."sort") FROM "first_items"
6252
+ SQL (0.2ms) INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.131780"], ["updated_at", "2018-04-27 07:31:55.131780"], ["sort", 1]]
6253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6254
+  (0.0ms) SAVEPOINT active_record_1
6255
+  (0.1ms) SELECT MAX("first_items"."sort") FROM "first_items"
6256
+ SQL (0.0ms) INSERT INTO "first_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.133693"], ["updated_at", "2018-04-27 07:31:55.133693"], ["sort", 2]]
6257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6258
+  (0.1ms) SAVEPOINT active_record_1
6259
+  (0.1ms) SELECT MAX("second_items"."sort") FROM "second_items"
6260
+ SQL (0.2ms) INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.141381"], ["updated_at", "2018-04-27 07:31:55.141381"], ["sort", 1]]
6261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6262
+  (0.0ms) SAVEPOINT active_record_1
6263
+  (0.0ms) SELECT MAX("second_items"."sort") FROM "second_items"
6264
+ SQL (0.0ms) INSERT INTO "second_items" ("created_at", "updated_at", "sort") VALUES (?, ?, ?) [["created_at", "2018-04-27 07:31:55.143178"], ["updated_at", "2018-04-27 07:31:55.143178"], ["sort", 2]]
6265
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6266
+ Processing by SortableController#reorder as HTML
6267
+ Parameters: {"rails_sortable"=>[{"klass"=>"SecondItem", "id"=>"2"}, {"klass"=>"FirstItem", "id"=>"2"}, {"klass"=>"FirstItem", "id"=>"1"}, {"klass"=>"SecondItem", "id"=>"1"}]}
6268
+  (0.0ms) SAVEPOINT active_record_1
6269
+ SecondItem Load (0.1ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 2]]
6270
+ SQL (0.0ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:31:55.145233"], ["id", 2]]
6271
+ FirstItem Load (0.1ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 2]]
6272
+ SQL (0.0ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:31:55.146140"], ["id", 2]]
6273
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 1]]
6274
+ SQL (0.0ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 2], ["updated_at", "2018-04-27 07:31:55.146887"], ["id", 1]]
6275
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 1]]
6276
+ SQL (0.0ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 3], ["updated_at", "2018-04-27 07:31:55.147630"], ["id", 1]]
6277
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6278
+ Completed 200 OK in 4ms (ActiveRecord: 0.4ms)
6279
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 2]]
6280
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 2]]
6281
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT 1 [["id", 1]]
6282
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT 1 [["id", 1]]
6283
+  (0.7ms) rollback transaction
6284
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
6285
+  (0.0ms) begin transaction
6286
+  (0.0ms) SAVEPOINT active_record_1
6287
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6288
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:56.646826"], ["updated_at", "2018-04-27 07:31:56.646826"]]
6289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6290
+  (1.8ms) rollback transaction
6291
+  (0.0ms) begin transaction
6292
+  (0.0ms) rollback transaction
6293
+  (0.0ms) begin transaction
6294
+  (0.1ms) SAVEPOINT active_record_1
6295
+  (0.1ms) SELECT MAX("first_items"."sort") FROM "first_items"
6296
+ SQL (0.3ms) INSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:56.659699"], ["updated_at", "2018-04-27 07:31:56.659699"]]
6297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6298
+  (0.0ms) SAVEPOINT active_record_1
6299
+  (0.0ms) SELECT MAX("first_items"."sort") FROM "first_items"
6300
+ SQL (0.1ms) INSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:31:56.661420"], ["updated_at", "2018-04-27 07:31:56.661420"]]
6301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6302
+  (0.0ms) SAVEPOINT active_record_1
6303
+  (0.1ms) SELECT MAX("second_items"."sort") FROM "second_items"
6304
+ SQL (0.1ms) INSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:56.666151"], ["updated_at", "2018-04-27 07:31:56.666151"]]
6305
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6306
+  (0.0ms) SAVEPOINT active_record_1
6307
+  (0.0ms) SELECT MAX("second_items"."sort") FROM "second_items"
6308
+ SQL (0.1ms) INSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:31:56.667563"], ["updated_at", "2018-04-27 07:31:56.667563"]]
6309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6310
+ Processing by SortableController#reorder as HTML
6311
+ Parameters: {"rails_sortable"=>[{"id"=>"2", "klass"=>"SecondItem"}, {"id"=>"2", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"SecondItem"}]}
6312
+  (0.1ms) SAVEPOINT active_record_1
6313
+ SecondItem Load (0.1ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6314
+ SQL (0.1ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:31:56.674649"], ["id", 2]]
6315
+ FirstItem Load (0.1ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6316
+ SQL (0.0ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:31:56.675967"], ["id", 2]]
6317
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6318
+ SQL (0.0ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 2], ["updated_at", "2018-04-27 07:31:56.676820"], ["id", 1]]
6319
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6320
+ SQL (0.0ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 3], ["updated_at", "2018-04-27 07:31:56.677728"], ["id", 1]]
6321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6322
+ Completed 200 OK in 5ms (ActiveRecord: 0.6ms)
6323
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6324
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6325
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6326
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6327
+  (0.6ms) rollback transaction
6328
+  (0.0ms) begin transaction
6329
+  (0.0ms) SAVEPOINT active_record_1
6330
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6331
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:56.682680"], ["updated_at", "2018-04-27 07:31:56.682680"]]
6332
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6333
+  (0.0ms) SAVEPOINT active_record_1
6334
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
6335
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:31:56.687432"], ["updated_at", "2018-04-27 07:31:56.687432"]]
6336
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6337
+  (0.0ms) SAVEPOINT active_record_1
6338
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
6339
+ SQL (0.0ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 07:31:56.688405"], ["updated_at", "2018-04-27 07:31:56.688405"]]
6340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6341
+ Processing by SortableController#reorder as HTML
6342
+ Parameters: {"rails_sortable"=>[{"id"=>"1", "klass"=>"Item"}, {"id"=>"3", "klass"=>"Item"}, {"id"=>"2", "klass"=>"Item"}]}
6343
+  (0.0ms) SAVEPOINT active_record_1
6344
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6345
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:31:56.690786"], ["id", 1]]
6346
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
6347
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:31:56.692187"], ["id", 3]]
6348
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6350
+ Completed 200 OK in 3ms (ActiveRecord: 0.4ms)
6351
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6352
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6353
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
6354
+  (0.5ms) rollback transaction
6355
+  (0.0ms) begin transaction
6356
+  (0.0ms) SAVEPOINT active_record_1
6357
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6358
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:56.695932"], ["updated_at", "2018-04-27 07:31:56.695932"]]
6359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6360
+  (0.4ms) rollback transaction
6361
+  (0.0ms) begin transaction
6362
+  (0.0ms) SAVEPOINT active_record_1
6363
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:31:56.698680"], ["updated_at", "2018-04-27 07:31:56.698680"]]
6364
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6365
+  (0.0ms) SAVEPOINT active_record_1
6366
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:56.699925"], ["updated_at", "2018-04-27 07:31:56.699925"]]
6367
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6368
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6369
+  (0.6ms) rollback transaction
6370
+  (0.0ms) begin transaction
6371
+  (0.0ms) SAVEPOINT active_record_1
6372
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
6373
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 07:31:56.709330"], ["updated_at", "2018-04-27 07:31:56.709330"]]
6374
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6375
+  (0.4ms) rollback transaction
6376
+  (0.0ms) begin transaction
6377
+  (0.0ms) SAVEPOINT active_record_1
6378
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6379
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:56.711923"], ["updated_at", "2018-04-27 07:31:56.711923"]]
6380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6381
+  (0.0ms) SAVEPOINT active_record_1
6382
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
6383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6384
+  (0.4ms) rollback transaction
6385
+  (0.0ms) begin transaction
6386
+  (0.1ms) SAVEPOINT active_record_1
6387
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6388
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:56.716387"], ["updated_at", "2018-04-27 07:31:56.716387"]]
6389
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6390
+  (0.0ms) SAVEPOINT active_record_1
6391
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:31:56.718031"], ["id", 1]]
6392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6393
+  (0.5ms) rollback transaction
6394
+  (0.1ms) begin transaction
6395
+  (0.1ms) SAVEPOINT active_record_1
6396
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:31:56.720722"], ["updated_at", "2018-04-27 07:31:56.720722"]]
6397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6398
+  (0.4ms) rollback transaction
6399
+  (0.1ms) begin transaction
6400
+  (0.0ms) SAVEPOINT active_record_1
6401
+ SQL (0.4ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:31:56.722970"], ["updated_at", "2018-04-27 07:31:56.722970"]]
6402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6403
+  (0.0ms) SAVEPOINT active_record_1
6404
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
6405
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 07:31:56.724264"], ["updated_at", "2018-04-27 07:31:56.724264"]]
6406
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6407
+  (0.4ms) rollback transaction
6408
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
6409
+  (0.1ms) begin transaction
6410
+  (0.0ms) SAVEPOINT active_record_1
6411
+  (0.1ms) SELECT MAX("first_items"."sort") FROM "first_items"
6412
+ SQL (0.3ms) INSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:58.221729"], ["updated_at", "2018-04-27 07:31:58.221729"]]
6413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6414
+  (0.0ms) SAVEPOINT active_record_1
6415
+  (0.0ms) SELECT MAX("first_items"."sort") FROM "first_items"
6416
+ SQL (0.1ms) INSERT INTO "first_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:31:58.223417"], ["updated_at", "2018-04-27 07:31:58.223417"]]
6417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6418
+  (0.0ms) SAVEPOINT active_record_1
6419
+  (0.1ms) SELECT MAX("second_items"."sort") FROM "second_items"
6420
+ SQL (0.1ms) INSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:58.227973"], ["updated_at", "2018-04-27 07:31:58.227973"]]
6421
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6422
+  (0.0ms) SAVEPOINT active_record_1
6423
+  (0.0ms) SELECT MAX("second_items"."sort") FROM "second_items"
6424
+ SQL (0.1ms) INSERT INTO "second_items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:31:58.229175"], ["updated_at", "2018-04-27 07:31:58.229175"]]
6425
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6426
+ Processing by SortableController#reorder as HTML
6427
+ Parameters: {"rails_sortable"=>[{"id"=>"2", "klass"=>"SecondItem"}, {"id"=>"2", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"FirstItem"}, {"id"=>"1", "klass"=>"SecondItem"}]}
6428
+  (0.0ms) SAVEPOINT active_record_1
6429
+ SecondItem Load (0.1ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6430
+ SQL (0.1ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:31:58.236228"], ["id", 2]]
6431
+ FirstItem Load (0.1ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6432
+ SQL (0.1ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:31:58.237596"], ["id", 2]]
6433
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6434
+ SQL (0.0ms) UPDATE "first_items" SET "sort" = ?, "updated_at" = ? WHERE "first_items"."id" = ? [["sort", 2], ["updated_at", "2018-04-27 07:31:58.238468"], ["id", 1]]
6435
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6436
+ SQL (0.0ms) UPDATE "second_items" SET "sort" = ?, "updated_at" = ? WHERE "second_items"."id" = ? [["sort", 3], ["updated_at", "2018-04-27 07:31:58.239320"], ["id", 1]]
6437
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6438
+ Completed 200 OK in 6ms (ActiveRecord: 0.6ms)
6439
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6440
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6441
+ FirstItem Load (0.0ms) SELECT "first_items".* FROM "first_items" WHERE "first_items"."id" = ? ORDER BY "first_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6442
+ SecondItem Load (0.0ms) SELECT "second_items".* FROM "second_items" WHERE "second_items"."id" = ? ORDER BY "second_items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6443
+  (1.8ms) rollback transaction
6444
+  (0.0ms) begin transaction
6445
+  (0.1ms) SAVEPOINT active_record_1
6446
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6447
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:58.249572"], ["updated_at", "2018-04-27 07:31:58.249572"]]
6448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6449
+  (0.0ms) SAVEPOINT active_record_1
6450
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
6451
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 2], ["created_at", "2018-04-27 07:31:58.251482"], ["updated_at", "2018-04-27 07:31:58.251482"]]
6452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6453
+  (0.0ms) SAVEPOINT active_record_1
6454
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
6455
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 3], ["created_at", "2018-04-27 07:31:58.252809"], ["updated_at", "2018-04-27 07:31:58.252809"]]
6456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6457
+ Processing by SortableController#reorder as HTML
6458
+ Parameters: {"rails_sortable"=>[{"id"=>"1", "klass"=>"Item"}, {"id"=>"3", "klass"=>"Item"}, {"id"=>"2", "klass"=>"Item"}]}
6459
+  (0.0ms) SAVEPOINT active_record_1
6460
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6461
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 0], ["updated_at", "2018-04-27 07:31:58.259689"], ["id", 1]]
6462
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
6463
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1], ["updated_at", "2018-04-27 07:31:58.260755"], ["id", 3]]
6464
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6466
+ Completed 200 OK in 6ms (ActiveRecord: 0.4ms)
6467
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 1], ["LIMIT", 1]]
6468
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 2], ["LIMIT", 1]]
6469
+ Item Load (0.0ms) SELECT "items".* FROM "items" WHERE "items"."id" = ? ORDER BY "items"."sort" ASC LIMIT ? [["id", 3], ["LIMIT", 1]]
6470
+  (0.3ms) rollback transaction
6471
+  (0.0ms) begin transaction
6472
+  (0.0ms) SAVEPOINT active_record_1
6473
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6474
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:58.264418"], ["updated_at", "2018-04-27 07:31:58.264418"]]
6475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6476
+  (0.4ms) rollback transaction
6477
+  (0.0ms) begin transaction
6478
+  (0.1ms) SAVEPOINT active_record_1
6479
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:31:58.268071"], ["updated_at", "2018-04-27 07:31:58.268071"]]
6480
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6481
+  (0.4ms) rollback transaction
6482
+  (0.0ms) begin transaction
6483
+  (0.0ms) SAVEPOINT active_record_1
6484
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1000], ["created_at", "2018-04-27 07:31:58.270338"], ["updated_at", "2018-04-27 07:31:58.270338"]]
6485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6486
+  (0.0ms) SAVEPOINT active_record_1
6487
+  (0.0ms) SELECT MAX("items"."sort") FROM "items"
6488
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1001], ["created_at", "2018-04-27 07:31:58.271788"], ["updated_at", "2018-04-27 07:31:58.271788"]]
6489
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6490
+  (0.5ms) rollback transaction
6491
+  (0.0ms) begin transaction
6492
+  (0.0ms) SAVEPOINT active_record_1
6493
+  (0.1ms) SELECT MAX("sequenced_items"."sequence") FROM "sequenced_items"
6494
+ SQL (0.2ms) INSERT INTO "sequenced_items" ("sequence", "created_at", "updated_at") VALUES (?, ?, ?) [["sequence", 1], ["created_at", "2018-04-27 07:31:58.278087"], ["updated_at", "2018-04-27 07:31:58.278087"]]
6495
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6496
+  (0.3ms) rollback transaction
6497
+  (0.0ms) begin transaction
6498
+  (0.0ms) SAVEPOINT active_record_1
6499
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6500
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:58.280664"], ["updated_at", "2018-04-27 07:31:58.280664"]]
6501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6502
+  (0.2ms) SAVEPOINT active_record_1
6503
+ SQL (0.1ms) UPDATE "items" SET "sort" = ?, "updated_at" = ? WHERE "items"."id" = ? [["sort", 1000], ["updated_at", "2018-04-27 07:31:58.283795"], ["id", 1]]
6504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6505
+  (0.4ms) rollback transaction
6506
+  (0.0ms) begin transaction
6507
+  (0.0ms) SAVEPOINT active_record_1
6508
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6509
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:58.286181"], ["updated_at", "2018-04-27 07:31:58.286181"]]
6510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6511
+  (0.0ms) SAVEPOINT active_record_1
6512
+ SQL (0.1ms) UPDATE "items" SET "sort" = ? WHERE "items"."id" = ? [["sort", 1000], ["id", 1]]
6513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6514
+  (0.4ms) rollback transaction
6515
+  (0.0ms) begin transaction
6516
+  (0.0ms) SAVEPOINT active_record_1
6517
+ SQL (0.2ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 0], ["created_at", "2018-04-27 07:31:58.290117"], ["updated_at", "2018-04-27 07:31:58.290117"]]
6518
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6519
+  (0.0ms) SAVEPOINT active_record_1
6520
+ SQL (0.1ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:58.291125"], ["updated_at", "2018-04-27 07:31:58.291125"]]
6521
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6522
+ Item Load (0.1ms) SELECT "items".* FROM "items" ORDER BY "items"."sort" ASC
6523
+  (0.4ms) rollback transaction
6524
+  (0.0ms) begin transaction
6525
+  (0.0ms) rollback transaction
6526
+  (0.0ms) begin transaction
6527
+  (0.1ms) SAVEPOINT active_record_1
6528
+  (0.1ms) SELECT MAX("items"."sort") FROM "items"
6529
+ SQL (0.3ms) INSERT INTO "items" ("sort", "created_at", "updated_at") VALUES (?, ?, ?) [["sort", 1], ["created_at", "2018-04-27 07:31:58.299372"], ["updated_at", "2018-04-27 07:31:58.299372"]]
6530
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6531
+  (0.4ms) rollback transaction